Skip to content

Commit

Permalink
ref: part 4 of #3733
Browse files Browse the repository at this point in the history
  • Loading branch information
williamFalcon committed Oct 2, 2020
1 parent 9e04ec0 commit 5d99a75
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def _setup_amp_backend(self, amp_type: str):

amp_type = amp_type.lower()
assert amp_type in ('native', 'apex'), f'Unsupported amp type {amp_type}'
import pdb; pdb.set_trace()
if amp_type == 'native':
if not NATIVE_AMP_AVALAIBLE:
rank_zero_warn('You have asked for native AMP but your PyTorch version does not support it.'
Expand Down
1 change: 0 additions & 1 deletion tests/models/test_amp.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ def test_amp_multi_gpu_ddp_spawn(tmpdir):

model = EvalModelTemplate()
# tutils.run_model_test(trainer_options, model)
import pdb; pdb.set_trace()
result = trainer.fit(model)

assert result == 1
Expand Down

0 comments on commit 5d99a75

Please sign in to comment.