mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
refactored model tests
This commit is contained in:
@@ -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