16 lines
408 B
Plaintext
16 lines
408 B
Plaintext
1.安装wsl
|
|
|
|
2.wsl中安装conda
|
|
|
|
3.conda创建虚拟环境
|
|
conda create -n AITrain python=3.12 -y
|
|
conda activate AITrain
|
|
conda install -c "nvidia/label/cuda-12.1.1" cuda -y
|
|
conda install pytorch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 pytorch-cuda=12.1 -c pytorch -c nvidia -y
|
|
|
|
4.pip install requirements.txt -r
|
|
|
|
5.下载deepseek模型
|
|
pip install modelscope
|
|
pip install vllm
|
|
python model_download.py |