AutoDL 上部署 InternLM-XComposer 踩坑记录 #22
vansin
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
环境配置
将 pypi 镜像切换为清华源
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple pip install transformers pip install modelscope
下载模型
方法一
方法二
cd /root/autodl-tmp git clone https://www.modelscope.cn/Shanghai_AI_Laboratory/internlm-xcomposer-7b.git
运行 Demo
更改 web_demo.py 中模型的地址,将 48 和 50 行的模型路径改成改成 ``
Beta Was this translation helpful? Give feedback.
All reactions