-
Notifications
You must be signed in to change notification settings - Fork 26
[CB] Update CB docs + Refactoring scheduling step-by-step inference tests #323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
90f9fb1
make 'get_params' functions unit tests
sducouedic fd88dc2
move functions to new dedicated files
sducouedic b18c4ad
rename 'test_scheduler_cb_steps_tkv' and deconnect it from CB
sducouedic 8167860
rename file
sducouedic 1057bd2
rename unit tests to be more informative
sducouedic 3f1e91a
indentation
sducouedic b094874
test docs rendering
sducouedic b040ffb
add new tests docs built from docstring
sducouedic 48940a6
Add configuration in docstring
sducouedic c4c8ca8
fix formatting
sducouedic 6e7ea76
tests actually need to be prefixed with 'test'
sducouedic e00be31
put 'how to disable-asserts' tip in doc instead of tests docstring
sducouedic 898b869
add all tests marked with 'cb' to 'other_tests'
sducouedic ab38ddd
rename end-to-end tests to output tests
sducouedic 2b61721
rename docs scheduler tests part
sducouedic 0b434b2
reformat differently formatted
sducouedic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
26 changes: 26 additions & 0 deletions
26
docs/contributing/continuous_batching/tests/other_tests.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| # Other Tests | ||
|
|
||
| !!! note | ||
| Unless otherwise specified, all the continuous batching tests are running with `max_model_len=256` | ||
|
|
||
| ::: tests.e2e.test_spyre_cb | ||
| options: | ||
| show_root_heading: true | ||
|
|
||
| ::: tests.e2e.test_spyre_async_llm | ||
| options: | ||
| show_root_heading: true | ||
| members: | ||
| - test_abort | ||
|
|
||
| ::: tests.e2e.test_spyre_max_new_tokens | ||
| options: | ||
| show_root_heading: true | ||
| members: | ||
| - test_output | ||
|
|
||
| ::: tests.e2e.test_spyre_online | ||
| options: | ||
| show_root_heading: true | ||
| members: | ||
| - test_openai_serving_cb |
10 changes: 10 additions & 0 deletions
10
docs/contributing/continuous_batching/tests/output_tests.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| # Output Tests | ||
|
|
||
| !!! note | ||
| Unless otherwise specified, all the continuous batching tests are running with `max_model_len=256` | ||
|
|
||
| ::: tests.e2e.test_spyre_basic | ||
| options: | ||
| members: | ||
| - test_output | ||
| - test_batch_handling |
9 changes: 9 additions & 0 deletions
9
docs/contributing/continuous_batching/tests/scheduler_steps_tests.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Scheduler Steps Tests | ||
|
|
||
| !!! note | ||
| Unless otherwise specified, all the continuous batching tests are running with `max_model_len=256` | ||
|
|
||
| !!! warning | ||
| End output correctness is not verified in those tests (TODO should we? maybe for some of them?) | ||
|
|
||
| ::: tests.e2e.test_spyre_cb_scheduler_steps |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.