QwenLM / Qwen-VL

The official repo of Qwen-VL (通义千问-VL) chat & pretrained large vision language model proposed by Alibaba Cloud.
Other
4.27k stars 327 forks source link

无法加载模型 #376

Closed wanghaoran-ucas closed 1 month ago

wanghaoran-ucas commented 2 months ago

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

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

当前行为 | Current Behavior

image image image 而如果加载int4,报下面的错 image image

trust_remote_code都已经在源代码默认设置为true,由蓝色改为红色 image

期望行为 | Expected Behavior

No response

复现方法 | Steps To Reproduce

No response

运行环境 | Environment

- OS:
- Python:3.8
- Transformers:4.32.0
- PyTorch:torch=2.0.1+cu117
- CUDA (`python -c 'import torch; print(torch.version.cuda)'`):11.7

备注 | Anything else?

No response