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

MiniCPM-v 2.6 and llama-cpp can not work and accelerated on A770 dGPU? #11982

Open
yangqing-yq opened this issue Aug 31, 2024 · 4 comments
Open
Assignees

Comments

@yangqing-yq
Copy link

No description provided.

@JinheTang
Copy link
Contributor

Hi @yangqing-yq , upgrading to ipex-llm[cpp]>=2.2.0b20240827 may solve this problem. Then you may run

./llama-minicpmv-cli -m ../MiniCPM-V-2_6-gguf/ggml-model-Q4_0.gguf --mmproj ../MiniCPM-V-2_6-gguf/mmproj-model-f16.gguf -c 4096 --temp 0.7 --top-p 0.8 --top-k 100 --repeat-penalty 1.05 --image xx.jpg  -p "What is in the image?" -ngl 99

model page:
openbmb/MiniCPM-V-2_6-gguf

@yangqing-yq
Copy link
Author

this is the result for A750. Can you help to confirm if these values are correct?
especially the TTFT is 4689 ms?!
input image is 1920x1080
"
llama_print_timings: load time = 6392.73 ms
llama_print_timings: sample time = 43.04 ms / 73 runs ( 0.59 ms per token, 1696.29 tokens per second)
llama_print_timings: prompt eval time = 4689.01 ms / 904 tokens ( 5.19 ms per token, 192.79 tokens per second)
llama_print_timings: eval time = 1709.74 ms / 72 runs ( 23.75 ms per token, 42.11 tokens per second)
llama_print_timings: total time = 8175.84 ms / 976 tokens
"

@qiuxin2012

@yangqing-yq
Copy link
Author

yangqing-yq commented Sep 20, 2024

@JinheTang @qiuxin2012

@JinheTang
Copy link
Contributor

Hi @yangqing-yq , we tested it on our A750 machine and our results were similar to yours. It should be correct.

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

No branches or pull requests

3 participants