OpenBMB / MiniCPM-V

MiniCPM-Llama3-V 2.5: A GPT-4V Level Multimodal LLM on Your Phone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] 4bit模型的结果混乱

HaoLiuHust opened this issue · comments

是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?

  • 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?

  • 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior

在T4显卡上,使用web_demo_2.5.py载入4bit模型,输入图片问问题,基本上都是乱答。然后又使用huggingface上的代码启动,也乱答。
2cd86b2f5372d79338e825f9821f35b

251a7dc83fcb4a015eb9cda5d181a59

期望行为 | Expected Behavior

No response

复现方法 | Steps To Reproduce

No response

运行环境 | Environment

- OS:ubuntu 18.04
- Python:3.9
- Transformers:
- PyTorch:
- CUDA (`python -c 'import torch; print(torch.version.cuda)'`):12

备注 | Anything else?

No response

请提供原图以便我们复现问题

使用lmdeloy量化和部署正常