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转gguf #598

Open
q104769424 opened this issue Sep 27, 2024 · 0 comments
Open

关于MiniCPM-V-2转gguf #598

q104769424 opened this issue Sep 27, 2024 · 0 comments

Comments

@q104769424
Copy link

q104769424 commented Sep 27, 2024

如何把MiniCPM-V--2转gguf, 文件只看到2.5和2.6的, 应该用哪个版本呢?
Clone llama.cpp:

git clone https://github.com/ggerganov/llama.cpp
cd llama.cpp

Usage
python ./examples/llava/minicpmv-surgery.py -m ../MiniCPM-V-2 python ./examples/llava/minicpmv-convert-image-encoder-to-gguf.py -m ../MiniCPM-V-2 --minicpmv-projector ../MiniCPM-V-2/minicpmv.projector --output-dir ../MiniCPM-V-2/ --image-mean 0.5 0.5 0.5 --image-std 0.5 0.5 0.5 --minicpmv_version 1

会有以下错误
RuntimeError: Error(s) in loading state_dict for Idefics2VisionTransformer:...

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