Skip to content

Commit

Permalink
fixed apex import (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankLeeeee committed Feb 15, 2022
1 parent eb3fda4 commit f5ca88e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion colossalai/amp/apex_amp/apex_amp.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
try:
import apex.amp as apex_amp
except ImportError:
raise ImportError('Cannot import apex.amp correctly.')
pass

from torch import Tensor

Expand Down

0 comments on commit f5ca88e

Please sign in to comment.