Skip to content

Commit

Permalink
[src][setup_conda.sh] return exame as a comment and format
Browse files Browse the repository at this point in the history
  • Loading branch information
smokhov authored Jan 3, 2025
1 parent 204ea6e commit 853172c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/jupyterlabs/setup_conda.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
#!/encs/bin/tcsh

mkdir -p /speed-scratch/$USER/Jupyter
module load anaconda3/2023.03/default

setenv TMPDIR /speed-scratch/$USER/tmp
setenv TMP /speed-scratch/$USER/tmp
setenv CONDA_PKGS_DIRS /speed-scratch/$USER/Jupyter/pkgs

module load anaconda3/2023.03/default

conda create -p /speed-scratch/$USER/Jupyter/jupyter-env -y
conda activate /speed-scratch/$USER/Jupyter/jupyter-env

conda install -c conda-forge jupyterlab -y

# pip3 install --quiet torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
pip3 install --quiet torch --index-url https://download.pytorch.org/whl/cu118

exit

0 comments on commit 853172c

Please sign in to comment.