THUDM / ChatGLM2-6B

ChatGLM2-6B: An Open Bilingual Chat LLM | 开源双语对话语言模型
Other
15.73k stars 1.85k forks source link

[BUG/Help] <title>HTTPSConnectionPool(host='huggingface.co', port=443) #554

Open evyy1234 opened 1 year ago

evyy1234 commented 1 year ago

Is there an existing issue for this?

Current Behavior

加载本地的chatglm模型,运行时报错 连接huggingface超时,明明都通过本地加载模型了,为什么还是会访问到huggingface网站呢 image

image

Expected Behavior

不要访问huggingface网站

Steps To Reproduce

image

Environment

- OS:wwindows
- Python:3.9
- Transformers:4.26.1
- PyTorch:1.12
- CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) :True

Anything else?

No response