Using GPUs with Slurm/fr: Difference between revisions

Created page with "# attendez que DCGM soit désactivé sur le nœud while [ ! -z "$(dcgmi -v {{!}} grep 'Hostengine build info:')" ]; do sleep 5; done"
(Created page with "{{File |name=gpu_profiling_job.sh |lang="sh" |contents= #!/bin/bash #SBATCH --account=def-someuser #SBATCH --export=ALL,DISABLE_DCGM=1 #SBATCH --gpus-per-node=1 #SBATCH --mem=4000M # mémoire par nœud #SBATCH --time=0-03:00")
(Created page with "# attendez que DCGM soit désactivé sur le nœud while [ ! -z "$(dcgmi -v {{!}} grep 'Hostengine build info:')" ]; do sleep 5; done")
Line 218: Line 218:
#SBATCH --time=0-03:00
#SBATCH --time=0-03:00


# Wait until DCGM is disabled on the node
# attendez que DCGM soit désactivé sur le nœud
while [ ! -z "$(dcgmi -v {{!}} grep 'Hostengine build info:')" ]; do
while [ ! -z "$(dcgmi -v {{!}} grep 'Hostengine build info:')" ]; do
   sleep 5;
   sleep 5;
rsnt_translations
56,430

edits