Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
0e4fffbc
Unverified
Commit
0e4fffbc
authored
Apr 25, 2025
by
Piotr Marcinkiewicz
Committed by
GitHub
Apr 25, 2025
Browse files
fix: Change default vLLM router to round-robin (#597)
parent
12f72a42
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
examples/llm/utils/vllm.py
examples/llm/utils/vllm.py
+1
-1
launch/dynamo-run/src/flags.rs
launch/dynamo-run/src/flags.rs
+2
-2
No files found.
examples/llm/utils/vllm.py
View file @
0e4fffbc
...
@@ -28,7 +28,7 @@ def parse_vllm_args(service_name, prefix) -> AsyncEngineArgs:
...
@@ -28,7 +28,7 @@ def parse_vllm_args(service_name, prefix) -> AsyncEngineArgs:
"--router"
,
"--router"
,
type
=
str
,
type
=
str
,
choices
=
[
"random"
,
"round-robin"
,
"kv"
],
choices
=
[
"random"
,
"round-robin"
,
"kv"
],
default
=
"r
andom
"
,
default
=
"r
ound-robin
"
,
help
=
"Router type to use for scheduling requests to workers"
,
help
=
"Router type to use for scheduling requests to workers"
,
)
)
parser
.
add_argument
(
parser
.
add_argument
(
...
...
launch/dynamo-run/src/flags.rs
View file @
0e4fffbc
...
@@ -102,8 +102,8 @@ pub struct Flags {
...
@@ -102,8 +102,8 @@ pub struct Flags {
/// If using `out=dyn://..` with multiple backends, this says how to route the requests.
/// If using `out=dyn://..` with multiple backends, this says how to route the requests.
///
///
/// Mostly interesting for KV-aware routing.
/// Mostly interesting for KV-aware routing.
/// Defaults to RouterMode::R
andom
/// Defaults to RouterMode::R
oundRobin
#[arg(long,
default_value
=
"r
andom
"
)]
#[arg(long,
default_value
=
"r
ound-robin
"
)]
pub
router_mode
:
RouterMode
,
pub
router_mode
:
RouterMode
,
/// Internal use only.
/// Internal use only.
...
...
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