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
D:\LLaMA-Factory\llama.cpp>python convert_hf_to_gguf.py D:\LLaMA-Factory\EDAS_Q4
INFO:hf-to-gguf:Loading model: EDAS_Q4
INFO:gguf.gguf_writer:gguf: This GGUF file is for Little Endian only
INFO:hf-to-gguf:Exporting model...
INFO:hf-to-gguf:gguf: loading model part 'model.safetensors'
INFO:hf-to-gguf:output.weight, torch.bfloat16 --> F16, shape = {3584, 152064}
INFO:hf-to-gguf:token_embd.weight, torch.bfloat16 --> F16, shape = {3584, 152064}
INFO:hf-to-gguf:blk.0.attn_norm.weight, torch.bfloat16 --> F32, shape = {3584}
Traceback (most recent call last):
File "D:\LLaMA-Factory\llama.cpp\convert_hf_to_gguf.py", line 4062, in
main()
File "D:\LLaMA-Factory\llama.cpp\convert_hf_to_gguf.py", line 4056, in main
model_instance.write()
File "D:\LLaMA-Factory\llama.cpp\convert_hf_to_gguf.py", line 388, in write
self.prepare_tensors()
File "D:\LLaMA-Factory\llama.cpp\convert_hf_to_gguf.py", line 280, in prepare_tensors
for new_name, data in ((n, d.squeeze().numpy()) for n, d in self.modify_tensors(data_torch, name, bid)):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\LLaMA-Factory\llama.cpp\convert_hf_to_gguf.py", line 252, in modify_tensors
return [(self.map_tensor_name(name), data_torch)]
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\LLaMA-Factory\llama.cpp\convert_hf_to_gguf.py", line 200, in map_tensor_name
raise ValueError(f"Can not map tensor {name!r}")
ValueError: Can not map tensor 'model.layers.0.mlp.down_proj.g_idx'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
D:\LLaMA-Factory\llama.cpp>python convert_hf_to_gguf.py D:\LLaMA-Factory\EDAS_Q4
INFO:hf-to-gguf:Loading model: EDAS_Q4
INFO:gguf.gguf_writer:gguf: This GGUF file is for Little Endian only
INFO:hf-to-gguf:Exporting model...
INFO:hf-to-gguf:gguf: loading model part 'model.safetensors'
INFO:hf-to-gguf:output.weight, torch.bfloat16 --> F16, shape = {3584, 152064}
INFO:hf-to-gguf:token_embd.weight, torch.bfloat16 --> F16, shape = {3584, 152064}
INFO:hf-to-gguf:blk.0.attn_norm.weight, torch.bfloat16 --> F32, shape = {3584}
Traceback (most recent call last):
File "D:\LLaMA-Factory\llama.cpp\convert_hf_to_gguf.py", line 4062, in
main()
File "D:\LLaMA-Factory\llama.cpp\convert_hf_to_gguf.py", line 4056, in main
model_instance.write()
File "D:\LLaMA-Factory\llama.cpp\convert_hf_to_gguf.py", line 388, in write
self.prepare_tensors()
File "D:\LLaMA-Factory\llama.cpp\convert_hf_to_gguf.py", line 280, in prepare_tensors
for new_name, data in ((n, d.squeeze().numpy()) for n, d in self.modify_tensors(data_torch, name, bid)):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\LLaMA-Factory\llama.cpp\convert_hf_to_gguf.py", line 252, in modify_tensors
return [(self.map_tensor_name(name), data_torch)]
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\LLaMA-Factory\llama.cpp\convert_hf_to_gguf.py", line 200, in map_tensor_name
raise ValueError(f"Can not map tensor {name!r}")
ValueError: Can not map tensor 'model.layers.0.mlp.down_proj.g_idx'
D:\LLaMA-Factory\llama.cpp>python convert_hf_to_gguf.py D:\LLaMA-Factory\EDAS_20240910
Beta Was this translation helpful? Give feedback.
All reactions