4 ms·
I had the same issue and then noticed that I need git lfs - otherwise just cloning the repo will not download the weights.
by sebastianhoitz 3y ago
I had the same issue and then noticed that I need git lfs - otherwise just cloning the repo will not download the weights.
- greatpatton 3y agoAfter getting the model with git lfs I get: Loading model file models/open_llama_7b_preview_200bt/open_llama_7b_preview_200bt_transformers_weights/pytorch_model-00001-of-00002.bin Traceback (most recent call last): File "convert-pth-to-ggml.py", line 11, in <module> convert.main(['--outtype', 'f16' if args.ftype == 1 else 'f32', '--', args.dir_model]) File "/Volumes/mac/Dev/llama.cpp/convert.py", line 1145, in main model_plus = load_some_model(args.model) File "/Volumes/mac/Dev/llama.cpp/convert.py", line 1071, in load_some_model models_plus.append(lazy_load_file(path)) File "/Volumes/mac/Dev/llama.cpp/convert.py", line 865, in lazy_load_file return lazy_load_torch_file(fp, path) File "/Volumes/mac/Dev/llama.cpp/convert.py", line 737, in lazy_load_torch_file model = unpickler.load() TypeError: 'staticmethod' object is not callable
- mportela 3y agoThanks for the tip! After running `brew install git-lfs && git lfs install` on my Macbook, I was able to run the model.