You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to convert a Hugging Face model named whisper-atco2-medium to GGML format using the convert.py script from the llama.cpp repository. However, when I run the script, I encounter the following error:
TypeError: ‘staticmethod’ object is not callable
Here is the full traceback of the error:
Traceback (most recent call last): File “.\convert.py”, line 1165, in <module> main() File “.\convert.py”, line 1145, in main model_plus = load_some_model(args.model) File “.\convert.py”, line 1071, in load_some_model models_plus.append(lazy_load_file(path)) File “.\convert.py”, line 865, in lazy_load_file return lazy_load_torch_file(fp, path) File “.\convert.py”, line 737, in lazy_load_torch_file model = unpickler.load() TypeError: ‘staticmethod’ object is not callable
I am using the latest version of the llama.cpp repository and PyTorch version 2.0.0+cpu. Can anyone provide guidance on how to resolve this issue and successfully convert the model to GGML format?
Thank you for your help.
The text was updated successfully, but these errors were encountered:
Hello,
I am trying to convert a Hugging Face model named
whisper-atco2-medium
to GGML format using theconvert.py
script from thellama.cpp
repository. However, when I run the script, I encounter the following error:TypeError: ‘staticmethod’ object is not callable
Here is the full traceback of the error:
Traceback (most recent call last): File “.\convert.py”, line 1165, in <module> main() File “.\convert.py”, line 1145, in main model_plus = load_some_model(args.model) File “.\convert.py”, line 1071, in load_some_model models_plus.append(lazy_load_file(path)) File “.\convert.py”, line 865, in lazy_load_file return lazy_load_torch_file(fp, path) File “.\convert.py”, line 737, in lazy_load_torch_file model = unpickler.load() TypeError: ‘staticmethod’ object is not callable
I am using the latest version of the
llama.cpp
repository and PyTorch version2.0.0+cpu
. Can anyone provide guidance on how to resolve this issue and successfully convert the model to GGML format?Thank you for your help.
The text was updated successfully, but these errors were encountered: