pub struct EngineCoreReadyResponse {Show 19 fields
pub max_model_len: i64,
pub num_gpu_blocks: i64,
pub prefix_granularity: i64,
pub dp_stats_address: Option<String>,
pub dtype: String,
pub multimodal_encoder_dtype: Option<String>,
pub vllm_version: String,
pub world_size: i64,
pub data_parallel_size: i64,
pub tensor_parallel_size: i64,
pub pipeline_parallel_size: i64,
pub decode_context_parallel_size: i64,
pub data_parallel_rank: i64,
pub max_num_seqs: i64,
pub max_num_batched_tokens: i64,
pub instance_id: String,
pub kv_cache_size_tokens: Option<i64>,
pub kv_cache_max_concurrency: Option<f64>,
pub kv_events_config: Option<Dict<Value, Value>>,
}Expand description
The engine’s configuration, sent when it registers on the input socket.
Field names, not order, are the contract; some names are the frontend’s vocabulary rather than TokenSpeed’s.
Fields§
§max_model_len: i64Longest supported sequence.
num_gpu_blocks: i64KV pages on the device.
prefix_granularity: i64Prefix-cache matching granularity in tokens.
dp_stats_address: Option<String>DP stats address, unused by TokenSpeed.
dtype: StringModel dtype: bfloat16, float16 or float32.
multimodal_encoder_dtype: Option<String>Multimodal encoder dtype, if any.
vllm_version: Stringtokenspeed-<version>; the frontend’s field name.
world_size: i64Ranks in the engine.
data_parallel_size: i64Attention-DP ranks.
tensor_parallel_size: i64Attention-TP ranks.
pipeline_parallel_size: i64Pipeline stages.
decode_context_parallel_size: i64KV parallelism (--kv-parallel-size); the frontend’s field name.
data_parallel_rank: i64This engine’s attention-DP rank.
max_num_seqs: i64Running-request limit.
max_num_batched_tokens: i64Tokens per step limit; 0 is no cap.
instance_id: StringServed model name.
kv_cache_size_tokens: Option<i64>KV cache capacity in tokens.
kv_cache_max_concurrency: Option<f64>KV cache capacity in maximum-length requests.
kv_events_config: Option<Dict<Value, Value>>KV event publisher configuration.