-
Notifications
You must be signed in to change notification settings - Fork 1.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
python package local-attention release 1.9.15 causes ModuleNotFoundError: No module named 'torch.amp' #524
Comments
That was helpful! |
Hi. Thank you for your issue. |
Yes, for some reason the author of local-attention packet made the following change between release 1.9.14 and 1.9.15: - from torch.cuda.amp import autocast
+ from torch.amp import autocast I was just thinking it'd be helpful if you can mention this somewhere in the doc, so people don't have to spend time on this issue. |
Thank you for your information! We also reproduce ModuleNotFoundError. If we configure the environment according to requirements.txt, local-attention version will be 1.9.15. |
fix bugs according to issues #524
The same applies to CoLT5-attention, which also requires a lower version. I successfully ran it with version 0.10.20. |
Per the title says. Could you include local-attention==1.9.14 in the requirements.txt
The text was updated successfully, but these errors were encountered: