啥也没有啊
apt-get update
apt-get install wget
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh
# 如果最后一步输入No/直接enter bash下用下面命令
eval "$(/root/miniconda3/bin/conda shell.bash hook)"
一路 输入 yes
并按回车键。
conda --version
虚拟环境
conda create -n xtuner-env python=3.10
conda activate xtuner-env
下载xtuner
#git clone 本repo
git clone https://github.com/InternLM/Tutorial.git -b camp4
mkdir -p /root/finetune && cd /root/finetune
cd /root/work/Tutorial/docs/L1/XTuner
pip install -r requirements.txt
xtuner list-cfg
mkdir -p /root/work/finetune/data && cd /root/work/finetune/data
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。