[ci] Limit num gpus if specified for A100 (#5694)
Signed-off-by: kevin <kevin@anyscale.com>
This commit is contained in:
parent
4a30d7e3cc
commit
949e49a685
@ -184,6 +184,7 @@ steps:
|
||||
|
||||
- label: Distributed Tests (A100)
|
||||
gpu: a100
|
||||
num_gpus: 4
|
||||
commands:
|
||||
# NOTE: don't test llama model here, it seems hf implementation is buggy
|
||||
# see https://github.com/vllm-project/vllm/pull/5689 for details
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user