You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: files/galaxy/tpv/destinations.yml.j2
+34-3Lines changed: 34 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -555,12 +555,43 @@ destinations:
555
555
max_accepted_mem: 500
556
556
min_accepted_gpus: 1
557
557
max_accepted_gpus: 4
558
+
env:
559
+
GPU_AVAILABLE: 1
560
+
context:
561
+
galaxy_group: 'GalaxyGroup == "pxe-gpu"'
558
562
params:
559
-
requirements: 'GalaxyGroup == "pxe-gpu"'
563
+
requirements: "{galaxy_group}"
564
+
request_gpus: "{gpus or 0}"
560
565
docker_run_extra_arguments: "{entity.params.get('docker_run_extra_arguments') or ''} --gpus all --env CUDA_VISIBLE_DEVICES=$_CONDOR_AssignedGPUs --env NVIDIA_VISIBLE_DEVICES=$_CONDOR_AssignedGPUs"
561
566
singularity_run_extra_arguments: "{entity.params.get('singularity_run_extra_arguments') or ''} --nv --env CUDA_VISIBLE_DEVICES=$_CONDOR_AssignedGPUs"
562
-
env:
563
-
GPU_AVAILABLE: 1
567
+
rules:
568
+
- id: GPU model preferences
569
+
if: |
570
+
"exclude_gpu_models" in entity.context or "include_gpu_models" in entity.context
0 commit comments