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
dynamo
Commits
2430d897
Unverified
Commit
2430d897
authored
Jul 17, 2025
by
Ryan McCormick
Committed by
GitHub
Jul 17, 2025
Browse files
test: Add trtllm kv router tests (#1988)
parent
1eadc013
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
2 deletions
+31
-2
tests/serve/test_trtllm.py
tests/serve/test_trtllm.py
+31
-2
No files found.
tests/serve/test_trtllm.py
View file @
2430d897
...
...
@@ -192,7 +192,7 @@ trtllm_configs = {
completions_response_handler
,
],
model
=
"deepseek-ai/DeepSeek-R1-Distill-Llama-8B"
,
delayed_start
=
45
,
delayed_start
=
60
,
),
"disaggregated"
:
TRTLLMConfig
(
name
=
"disaggregated"
,
...
...
@@ -205,7 +205,36 @@ trtllm_configs = {
completions_response_handler
,
],
model
=
"deepseek-ai/DeepSeek-R1-Distill-Llama-8B"
,
delayed_start
=
45
,
delayed_start
=
60
,
),
# TODO: These are sanity tests that the kv router examples launch
# and inference without error, but do not do detailed checks on the
# behavior of KV routing.
"aggregated_router"
:
TRTLLMConfig
(
name
=
"aggregated_router"
,
directory
=
"/workspace/components/backends/trtllm"
,
script_name
=
"agg_router.sh"
,
marks
=
[
pytest
.
mark
.
gpu_1
,
pytest
.
mark
.
tensorrtllm
],
endpoints
=
[
"v1/chat/completions"
,
"v1/completions"
],
response_handlers
=
[
chat_completions_response_handler
,
completions_response_handler
,
],
model
=
"deepseek-ai/DeepSeek-R1-Distill-Llama-8B"
,
delayed_start
=
60
,
),
"disaggregated_router"
:
TRTLLMConfig
(
name
=
"disaggregated_router"
,
directory
=
"/workspace/components/backends/trtllm"
,
script_name
=
"disagg_router.sh"
,
marks
=
[
pytest
.
mark
.
gpu_2
,
pytest
.
mark
.
tensorrtllm
],
endpoints
=
[
"v1/chat/completions"
,
"v1/completions"
],
response_handlers
=
[
chat_completions_response_handler
,
completions_response_handler
,
],
model
=
"deepseek-ai/DeepSeek-R1-Distill-Llama-8B"
,
delayed_start
=
60
,
),
}
...
...
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