Skip to content

Commit

Permalink
[ci] Limit num gpus if specified for A100 (vllm-project#5694)
Browse files Browse the repository at this point in the history
Signed-off-by: kevin <kevin@anyscale.com>
  • Loading branch information
khluu authored and jimpang committed Jul 8, 2024
1 parent 6155517 commit 1326461
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .buildkite/test-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/test-template-aws.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1326461

Please sign in to comment.