Skip to content

Commit 9e672d8

Browse files
committed
[Minor] CSCS docs
1 parent 398af29 commit 9e672d8

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

installation/docker-amd64-cuda/CSCS-Clariden-setup/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ Copy it or create a symlink to it where you keep your images. E.g.,
117117
# Add it to your bashrc as it'll be used often
118118
CONTAINER_IMAGES=$SCRATCH/container-images
119119
mkdir -p $CONTAINER_IMAGES
120+
# Symlink the image with an adapted name with your lab name and username
121+
# (it will be readily-usable by the submit scripts)
120122
ln -s _TODO ADD IMAGE_PATH_ $CONTAINER_IMAGES/ADAPTED_NAME.sqsh
121123
```
122124

installation/docker-amd64-cuda/CSCS-Clariden-setup/template-submit-examples/remote-development.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
export PROJECT_ROOT_AT=$SCRATCH/template-project-name/dev
99
export SLURM_ONE_ENTRYPOINT_SCRIPT_PER_NODE=1
1010
export WANDB_API_KEY_FILE_AT=$HOME/.wandb-api-key
11+
export HF_TOKEN_AT=$HOME/.hf-token
12+
export HF_HOME=$SCRATCH/huggingface
1113
export SSH_SERVER=1
1214
export NO_SUDO_NEEDED=1
1315
export JETBRAINS_SERVER_AT=$SCRATCH/jetbrains-server
@@ -22,6 +24,7 @@ srun \
2224
$SCRATCH,\
2325
$WANDB_API_KEY_FILE_AT,\
2426
$HOME/.gitconfig,\
27+
$HF_TOKEN_AT,\
2528
$HOME/.ssh/authorized_keys \
2629
--container-workdir=$PROJECT_ROOT_AT \
2730
--no-container-mount-home \

installation/docker-amd64-cuda/CSCS-Clariden-setup/template-submit-examples/unattended.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Change this to the path of your project (can be the /dev or /run copy)
88
export PROJECT_ROOT_AT=$SCRATCH/template-project-name/run
99
export SLURM_ONE_ENTRYPOINT_SCRIPT_PER_NODE=1
10+
# For wandb, huggingface, etc. look at the remote-development.sh
1011

1112
srun \
1213
--container-image=$CONTAINER_IMAGES/claire+smoalla+template-project-name+amd64-cuda-root-latest.sqsh \

0 commit comments

Comments
 (0)