THUDM / CogVLM

a state-of-the-art-level open visual language model | 多模态预训练模型
Apache License 2.0
6.12k stars 417 forks source link

Error of visual.py file / load model from local #494

Closed joel-simp closed 5 months ago

joel-simp commented 5 months ago

System Info / 系統信息

4-A10 GPU each with 24GB Cuda version: 12

Who can help? / 谁可以帮助到您?

No response

Information / 问题信息

Reproduction / 复现过程

Screenshot 2024-06-07 at 10 36 57 AM

I am trying to load cogvlm 4-bit from snapshots, but I am getting the error that there is no visual.py file. However the code works when I give hugging-face path.

How to load the model from local?

Expected behavior / 期待表现

How to load the model from local or snapshots?