Skip to content

Commit f5ca88e

Browse files
committed
fixed apex import (#227)
1 parent eb3fda4 commit f5ca88e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

colossalai/amp/apex_amp/apex_amp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
try:
66
import apex.amp as apex_amp
77
except ImportError:
8-
raise ImportError('Cannot import apex.amp correctly.')
8+
pass
99

1010
from torch import Tensor
1111

0 commit comments

Comments
 (0)