ChatGLM-6B icon indicating copy to clipboard operation
ChatGLM-6B copied to clipboard

[BUG] 本地部署运行web版本运行报错

Open tddevrtx4090 opened this issue 1 year ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

image

Expected Behavior

No response

Steps To Reproduce

安装步骤

git clone https://github.com/THUDM/ChatGLM-6B
cd ChatGLM-6B
python3 -m venv venv
.\venv\Scripts\activate
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117
pip install -r requirements.txt
pip install gradio

Environment

- OS:Windows 10 专业版
- Python:3.10.9
- Transformers:4.27.1
- PyTorch:2.0.0+cu117
- CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) :True

Anything else?

No response

tddevrtx4090 avatar Mar 16 '23 08:03 tddevrtx4090

#85

szpnygo avatar Mar 16 '23 14:03 szpnygo

#105 @tddevrtx4090 可以参考这个配置一下~

fichas avatar Mar 16 '23 16:03 fichas

可以了。

#105 @tddevrtx4090 可以参考这个配置一下~

tddevrtx4090 avatar Mar 17 '23 06:03 tddevrtx4090