使用Intern Studio进行部署开发,详细教程参考:https://github.com/InternLM/Tutorial/blob/camp2/helloworld/hello_world.md
一、Demo one:部署 InternLM2-Chat-1.8B
模型进行智能对话
环境配置:
studio-conda -o internlm-base -t demo
# 与 studio-conda 等效的配置方案
# conda create -n demo python==3.10 -y
# conda activate demo
# conda install pytorch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 pytorch-cuda=11.7 -c pytorch -c nvidia
下载模型
加