Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
93348d94
Unverified
Commit
93348d94
authored
Mar 17, 2024
by
Simon Mo
Committed by
GitHub
Mar 17, 2024
Browse files
[CI] Shard tests for LoRA and Kernels to speed up (#3445)
parent
abfc4f33
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
.buildkite/test-pipeline.yaml
.buildkite/test-pipeline.yaml
+6
-5
.buildkite/test-template.j2
.buildkite/test-template.j2
+3
-0
requirements-dev.txt
requirements-dev.txt
+1
-0
No files found.
.buildkite/test-pipeline.yaml
View file @
93348d94
...
...
@@ -33,9 +33,9 @@ steps:
-
label
:
Entrypoints Test
command
:
pytest -v -s entrypoints
-
label
:
Kernels Test
command
:
pytest -v -s kernels
soft_fail
:
true
-
label
:
Kernels Test
%N
command
:
pytest -v -s kernels
--shard-id=$$BUILDKITE_PARALLEL_JOB --num-shards=$$BUILDKITE_PARALLEL_JOB_COUNT
parallelism
:
4
-
label
:
Models Test
commands
:
...
...
@@ -55,8 +55,9 @@ steps:
-
label
:
Speculative decoding tests
command
:
pytest -v -s spec_decode
-
label
:
LoRA Test
command
:
pytest -v -s lora --forked
-
label
:
LoRA Test %N
command
:
pytest -v -s lora --forked --shard-id=$$BUILDKITE_PARALLEL_JOB --num-shards=$$BUILDKITE_PARALLEL_JOB_COUNT
parallelism
:
4
-
label
:
Metrics Test
command
:
pytest -v -s metrics
...
...
.buildkite/test-template.j2
View file @
93348d94
...
...
@@ -20,6 +20,9 @@ steps:
agents:
queue: kubernetes
soft_fail: {{ step.soft_fail or false }}
{% if step.parallelism %}
parallelism: {{ step.parallelism }}
{% endif %}
retry:
automatic:
- exit_status: -1 # Agent was lost
...
...
requirements-dev.txt
View file @
93348d94
...
...
@@ -16,6 +16,7 @@ pytest
pytest-forked
pytest-asyncio
pytest-rerunfailures
pytest-shard
httpx
einops # required for MPT
openai
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment