mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-08 04:24:47 +00:00
fixed apex import (#227)
This commit is contained in:
@@ -5,7 +5,7 @@ import torch.nn as nn
|
||||
try:
|
||||
import apex.amp as apex_amp
|
||||
except ImportError:
|
||||
raise ImportError('Cannot import apex.amp correctly.')
|
||||
pass
|
||||
|
||||
from torch import Tensor
|
||||
|
||||
|
Reference in New Issue
Block a user