-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: cannot import name 'FP16_Optimizer' #593
Comments
Are you directly importing That being said, Let us know, if that fixes the problem. |
Yes it fixes the problem, thx! |
Thanks for your suggestion so much! |
I have the some problem when import apex on colab.
the wdir is apex, I execute the code to install apex
!git clone https://github.com/NVIDIA/apex.git
%cd apex
!pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext"
But it seems that it fails to find the path of fp16_optimizer and FusedAdam at optimizer folder
ImportError: cannot import name 'FP16_Optimizer'
ImportError: Please install apex from https://www.github.com/nvidia/apex
The text was updated successfully, but these errors were encountered: