Slurm配置VQRF环境

基于Anaconda与Slurm搭建VQRF环境

代码:VQRF

module load cuda/11.1
conda create -n vqrf python=3.8

pip install prettytable
pip install einops

pip install torch==1.10.1+cu111 torchvision==0.11.2+cu111 torchaudio==0.10.1 -f https://download.pytorch.org/whl/torch_stable.html
# https://pytorch.org/get-started/previous-versions/

conda install gcc_linux-64=9.3.0
conda install gxx_linux-64=9.3.0
pip install torch-scatter==2.0.9 -f https://data.pyg.org/whl/torch-1.10.1+cu111.html
# https://data.pyg.org/whl/

pip install -r requirement.txt -i https://pypi.douban.com/simple/
conda install zip

对于dvgo_cu,需要sbatch执行python setup.py install。(详细过程在Slurm集群配置dvgo_cu)

cd lib/cuda
python setup.py install

你可能感兴趣的:(环境配置,Slurm,NeRF,python,pytorch,linux)