Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bindings/python/src/smg/router_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,8 +556,8 @@ def add_cli_args(
type=float,
default=RouterArgs.least_load_default_throughput,
help=(
"Fallback generation throughput (tokens/s) for least_load when a"
" backend reports no live throughput"
"Fallback generation throughput (tokens/s) for least_load when no"
" candidate reports a live throughput"
),
)
routing_group.add_argument(
Expand Down
2 changes: 1 addition & 1 deletion model_gateway/src/config/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ pub enum PolicyConfig {
#[serde(default = "default_least_load_mean_prefill")]
mean_prefill_tokens: u32,
/// Fallback generation throughput (tokens/s) for the expected-wait term
/// when a backend reports no live `gen_throughput`. Set to the fleet's
/// when no candidate reports a live `gen_throughput`. Set to the fleet's
/// per-replica generation rate; co-tunes with `kv_pressure_weight`.
#[serde(default = "default_least_load_throughput")]
default_throughput: f64,
Expand Down
4 changes: 2 additions & 2 deletions model_gateway/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -460,8 +460,8 @@ struct CliArgs {
#[arg(long, default_value_t = 0.15, help_heading = "Routing Policy")]
least_load_kv_pressure_weight: f64,

/// Fallback generation throughput (tokens/s) for least_load when a backend
/// reports no live throughput
/// Fallback generation throughput (tokens/s) for least_load when no
/// candidate reports a live throughput
#[arg(long, default_value_t = 2000.0, help_heading = "Routing Policy")]
least_load_default_throughput: f64,

Expand Down
Loading
Loading