added test for no dist sampler

This commit is contained in:
William Falcon
2019-07-24 17:02:39 -04:00
parent 1e0bae14da
commit 9e5dd7a7ea
-9
View File
@@ -231,19 +231,10 @@ def test_amp_gpu_ddp():
run_gpu_model_test(trainer_options, model, hparams)
# ------------------------------------------------------------------------
# UTILS
# ------------------------------------------------------------------------
def run_gpu_model_test(trainer_options, model, hparams, on_gpu=True):
"""
Make sure DDP + AMP work
:return:
"""
save_dir = init_save_dir()
# exp file to get meta