-
Notifications
You must be signed in to change notification settings - Fork 978
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
1.0 HF conversion script fails on Python 3.8 #875
Labels
bug
Something isn't working
Comments
same here. will it merge to main branch? |
Hi, this should be fixed in #877 --can you share what commit you experience this error in? |
@haileyschoelkopf sure! |
Merged
@cateto Try checking out the |
It looks like this got reverted in 29b968d by merge conflicts accidentally, I’ll re-fix this as soon as I’m back to a computer! |
thank you 😸 |
This is fixed in #931 ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
While the official recommended Python version for NeoX is 3.8, convert_v1.0_to_hf.py only works with Python 3.9 or later due to minor incompatibility (tested on Python 3.8.10).
Suggested change
Modify
list[torch.Tensor]
at the line 42 toList[torch.Tensor]
(capitalized L)Add import
from typing import List
The text was updated successfully, but these errors were encountered: