"vllm/vscode:/vscode.git/clone" did not exist on "7888e1d0a3eb83becda81bbad5e9848dbb598453"
Unverified Commit 949e49a6 authored by Kevin H. Luu's avatar Kevin H. Luu Committed by GitHub
Browse files

[ci] Limit num gpus if specified for A100 (#5694)


Signed-off-by: default avatarkevin <kevin@anyscale.com>
parent 4a30d7e3
...@@ -184,6 +184,7 @@ steps: ...@@ -184,6 +184,7 @@ steps:
- label: Distributed Tests (A100) - label: Distributed Tests (A100)
gpu: a100 gpu: a100
num_gpus: 4
commands: commands:
# NOTE: don't test llama model here, it seems hf implementation is buggy # NOTE: don't test llama model here, it seems hf implementation is buggy
# see https://github.com/vllm-project/vllm/pull/5689 for details # see https://github.com/vllm-project/vllm/pull/5689 for details
......
...@@ -75,7 +75,7 @@ steps: ...@@ -75,7 +75,7 @@ steps:
- "'cd {{ (step.working_dir or default_working_dir) | safe }} && {{ step.command or (step.commands | join(' && ')) | safe }}'" - "'cd {{ (step.working_dir or default_working_dir) | safe }} && {{ step.command or (step.commands | join(' && ')) | safe }}'"
resources: resources:
limits: limits:
nvidia.com/gpu: 8 nvidia.com/gpu: {{ step.num_gpus or 1 }}
volumeMounts: volumeMounts:
- name: devshm - name: devshm
mountPath: /dev/shm mountPath: /dev/shm
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment