-
Notifications
You must be signed in to change notification settings - Fork 14.1k
Closed
Labels
bug-unconfirmedlow severityUsed to report low severity bugs in llama.cpp (e.g. cosmetic issues, non critical UI glitches)Used to report low severity bugs in llama.cpp (e.g. cosmetic issues, non critical UI glitches)
Description
What happened?
when running examples Llava1.5,
python ./examples/llava/convert_image_encoder_to_gguf.py -m ../clip-vit-large-patch14-336 --llava-projector ../llava-v1.5-7b/llava.projector --output-dir ../llava-v1.5-7b
the process raise an error:
NameError: name 'KEY_EMBEDDING_LENGTH' is not defined
which happens in convert_image_encoder_to_gguf.py line 204:
fout.add_uint32(k(KEY_EMBEDDING_LENGTH, VISION), v_hparams["hidden_size"])
Name and Version
version: 4020 (9f40989)
built with Apple clang version 13.0.0 (clang-1300.0.29.30) for x86_64-apple-darwin23.6.0
What operating system are you seeing the problem on?
Mac
Relevant log output
No response
Metadata
Metadata
Assignees
Labels
bug-unconfirmedlow severityUsed to report low severity bugs in llama.cpp (e.g. cosmetic issues, non critical UI glitches)Used to report low severity bugs in llama.cpp (e.g. cosmetic issues, non critical UI glitches)