-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 'TransformerEncoderLayer #1236
Comments
I switch the version to 0.4.3 and the question is not reported. |
I also get the ImportError with flair 0.4.4. With flair 0.4.3 everything works fine. |
Could you, please, upgrade PyTorch to 1.2.0 ( |
I updated PyTorch to the latest version (1.3.0) but unfortunately, I still get the ImportError. I am using Python 3.8.0 |
Same thing to me, I am using AWS Sagemaker notebooks.
|
@robertodias have you tried setting torch to |
Curiously, I had the same issue with |
torch==1.2.0 and flair==0.4.4 work for me. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
same problem here. Pytorch 1.10.2 and python 3.6 |
My pytorch is 1.1.0 and python is 3.6.8.
The text was updated successfully, but these errors were encountered: