Skip to content

Commit 2b28793

Browse files
committed
[Minor] Update Run:ai and Apptrainer scripts
1 parent 9194a74 commit 2b28793

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

installation/docker-amd64-cuda/EPFL-runai-setup/example-submit-scripts/minimal.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ runai submit \
55
--pvc runai-claire-moalla-scratch:/claire-rcp-scratch \
66
--working-dir /claire-rcp-scratch/home/moalla/template-project-name/dev \
77
-e PROJECT_ROOT_AT=/claire-rcp-scratch/home/moalla/template-project-name/dev \
8+
-e PROJECT_NAME=template-project-name \
9+
-e PACKAGE_NAME=template_package_name \
810
-g 1 --cpu 8 --cpu-limit 8 --memory 64G --memory-limit 64G \
911
-- sleep infinity
1012

installation/docker-amd64-cuda/EPFL-runai-setup/example-submit-scripts/remote-development.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ runai submit \
1212
--pvc runai-claire-moalla-scratch:/claire-rcp-scratch \
1313
--working-dir /claire-rcp-scratch/home/moalla/template-project-name/dev \
1414
-e PROJECT_ROOT_AT=/claire-rcp-scratch/home/moalla/template-project-name/dev \
15+
-e PROJECT_NAME=template-project-name \
16+
-e PACKAGE_NAME=template_package_name \
1517
-e SSH_SERVER=1 \
1618
--allow-privilege-escalation \
1719
-g 1 --cpu 8 --cpu-limit 8 --memory 64G --memory-limit 64G --large-shm \

installation/docker-amd64-cuda/EPFL-runai-setup/example-submit-scripts/unattended.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ runai submit \
1010
--pvc runai-claire-moalla-scratch:/claire-rcp-scratch \
1111
--working-dir /claire-rcp-scratch/home/moalla/template-project-name/run \
1212
-e PROJECT_ROOT_AT=/claire-rcp-scratch/home/moalla/template-project-name/run \
13+
-e PROJECT_NAME=template-project-name \
14+
-e PACKAGE_NAME=template_package_name \
1315
-g 1 --cpu 8 --cpu-limit 8 --memory 64G --memory-limit 64G --large-shm \
1416
-- python -m template_package_name.template_experiment some_arg=2 wandb.mode=offline
1517

installation/docker-amd64-cuda/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,8 @@ apptainer run \
601601
-B $(pwd):${PROJECT_ROOT_AT} \
602602
--cwd ${PROJECT_ROOT_AT} \
603603
--env PROJECT_ROOT_AT=${PROJECT_ROOT_AT} \
604+
--env PROJECT_NAME=template-project-name \
605+
--env PACKAGE_NAME=template_package_name \
604606
--env WANDB_API_KEY="" \
605607
--nv template-project-name_amd64-cuda-root-latest.sif
606608
# --env PROJECT_ROOT_AT is used by the entrypoint to install the project

0 commit comments

Comments
 (0)