[ci] Limit num gpus if specified for A100 (#5694)
Signed-off-by: kevin <kevin@anyscale.com>
This commit is contained in:
@@ -75,7 +75,7 @@ steps:
|
||||
- "'cd {{ (step.working_dir or default_working_dir) | safe }} && {{ step.command or (step.commands | join(' && ')) | safe }}'"
|
||||
resources:
|
||||
limits:
|
||||
nvidia.com/gpu: 8
|
||||
nvidia.com/gpu: {{ step.num_gpus or 1 }}
|
||||
volumeMounts:
|
||||
- name: devshm
|
||||
mountPath: /dev/shm
|
||||
|
||||
Reference in New Issue
Block a user