-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Convert.py @staticmethod #1327
Convert.py @staticmethod #1327
Conversation
otherwise throw error at unpickle.load() as not callable
Can you please share error message, OS name and python version? Just curious, can't reproduce.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line 709 should be removed too then
So I am running Python 3.9 on macOs 13.3.1 (a) Here is the error (once i comment line 698, working great:)): LLama.cpp % python3 convertTest.py ../llama-7b |
Reproduced with python 3.9 on fedora |
* Line 698 has one #staticmethod and should not otherwise throw error at unpickle.load() as not callable * Update convert.py --------- Co-authored-by: Ivan Stepanov <ivanstepanovftw@gmail.com>
At line 698, @staticmethod before lazy_rebuild_tensor_V2 throws error at unpickle.load() as not callable