-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[src][setup_conda.sh] return exame as a comment and format
- Loading branch information
Showing
1 changed file
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |