Skip to content
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

Not being able to run an inference using llama.cpp #54

Open
Hardik-Choraria opened this issue Jul 9, 2024 · 0 comments
Open

Not being able to run an inference using llama.cpp #54

Hardik-Choraria opened this issue Jul 9, 2024 · 0 comments

Comments

@Hardik-Choraria
Copy link

I am using an MacBook Pro M2 and when doing /llama-llava-cli -m ../MobileVLM-1.7B/ggml-model-q4_k.gguf
--mmproj ../MobileVLM-1.7B/mmproj-model-f16.gguf
--image ../paella.jpg
-p "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions. USER: \nWho is the author of this book? Answer the question using a single word or phrase. ASSISTANT:" I am getting this error:
ggml_metal_init: recommendedMaxWorkingSetSize = 11453.25 MB
llama_kv_cache_init: Metal KV buffer size = 384.00 MiB
llama_new_context_with_model: KV self size = 384.00 MiB, K (f16): 192.00 MiB, V (f16): 192.00 MiB
llama_new_context_with_model: CPU output buffer size = 0.12 MiB
llama_new_context_with_model: Metal compute buffer size = 84.00 MiB
llama_new_context_with_model: CPU compute buffer size = 8.01 MiB
llama_new_context_with_model: graph nodes = 774
llama_new_context_with_model: graph splits = 2
ggml_metal_graph_compute_block_invoke: error: unsupported op 'HARDSWISH'
GGML_ASSERT: ggml/src/ggml-metal.m:934: !"unsupported op"
zsh: abort ./llama-llava-cli -m ../MobileVLM-1.7B/ggml-model-q4_k.gguf --mmproj --image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant