-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description of feature
Hi there,
Currently the GPU profile is written as
gpu {
docker.runOptions = '-u $(id -u):$(id -g) --gpus all'
apptainer.runOptions = '--nv'
singularity.runOptions = '--nv'
}
I suggest to append the GPU related args to the runOptions instead of overwriting them. So, I suggest to change to
gpu {
docker.runOptions = (docker.runOptions ?: '') + ' --gpus all'
apptainer.runOptions = (apptainer.runOptions ?: '') + ' --nv'
singularity.runOptions = (singularity.runOptions ?: '') + ' --nv'
}
Best,
Dongze
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request