一个80后
程序员的笔记

[ChatGLM-6B]运行搭建

1、环境

Python 3.10

2、遇见的问题

2.1  AssertionError: Torch not compiled with CUDA enabled
CUDA和pytorch的版本不匹配
https://pytorch.org/

pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121

2.2 运行后,回复内容不全

gradio版本太新造成的
pip uninstall gradio
pip install gradio==3.39.0

2.3 AttributeError: 'Textbox' object has no attribute 'style'

这个错误同2.2 解决方案

赞(0) 打赏
未经允许不得转载:笨笨天地 » [ChatGLM-6B]运行搭建

相关推荐

  • 暂无文章

评论 抢沙发

觉得文章有用就打赏一下文章作者

非常感谢你的打赏,我们将继续提供更多优质内容,让我们一起创建更加美好的网络世界!

支付宝扫一扫

微信扫一扫