mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-27 13:12:20 +08:00
refactored model tests
This commit is contained in:
1 parent
f50026c21f
commit
de95179556
1 file changed
-2
@@ -135,7 +135,6 @@ def test_amp_gpu_dp():
|
||||
|
||||
# correct result and ok accuracy
|
||||
assert result == 1, 'amp + gpu model failed to complete'
|
||||
assert_ok_acc(trainer)
|
||||
|
||||
clear_save_dir()
|
||||
|
||||
@@ -169,7 +168,6 @@ def test_multi_gpu_model_ddp():
|
||||
|
||||
# correct result and ok accuracy
|
||||
assert result == 1, 'multi-gpu ddp model failed to complete'
|
||||
assert_ok_acc(trainer)
|
||||
|
||||
clear_save_dir()
|
||||
|
||||
|
||||
Reference in new issue
Block a user