首先创建新环境:(可以先把pytorch相关的包注释掉,以免下错版本)
conda env create -n NAME -f env.yaml
然后安装mamba
conda install mamba -c conda-forge
之后再安装对应的pytorch,下载cu113一般就ok
mamba install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch
nohup的用法:
nohup xxxx > outputName.txt 2>&1 &