mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-29 13:30:57 +08:00
added cpu + amp error
This commit is contained in:
1 parent
efbd1a1c18
commit
fcda19aa25
2 files changed
+3
-6
No files matched your search
@@ -40,7 +40,8 @@ def test_cpu_model_with_amp():
|
||||
|
||||
model, hparams = get_model()
|
||||
|
||||
run_gpu_model_test(trainer_options, model, hparams, on_gpu=False)
|
||||
with pytest.raises(MisconfigurationException):
|
||||
run_gpu_model_test(trainer_options, model, hparams, on_gpu=False)
|
||||
|
||||
|
||||
def test_amp_gpu_ddp_slurm_managed():
|
||||
|
||||
Reference in new issue
Block a user