Skip to main content

EngineCoreReadyResponse

Struct EngineCoreReadyResponse 

Source
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: i64

Longest supported sequence.

§num_gpu_blocks: i64

KV pages on the device.

§prefix_granularity: i64

Prefix-cache matching granularity in tokens.

§dp_stats_address: Option<String>

DP stats address, unused by TokenSpeed.

§dtype: String

Model dtype: bfloat16, float16 or float32.

§multimodal_encoder_dtype: Option<String>

Multimodal encoder dtype, if any.

§vllm_version: String

tokenspeed-<version>; the frontend’s field name.

§world_size: i64

Ranks in the engine.

§data_parallel_size: i64

Attention-DP ranks.

§tensor_parallel_size: i64

Attention-TP ranks.

§pipeline_parallel_size: i64

Pipeline stages.

§decode_context_parallel_size: i64

KV parallelism (--kv-parallel-size); the frontend’s field name.

§data_parallel_rank: i64

This engine’s attention-DP rank.

§max_num_seqs: i64

Running-request limit.

§max_num_batched_tokens: i64

Tokens per step limit; 0 is no cap.

§instance_id: String

Served 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.

Trait Implementations§

Source§

impl Clone for EngineCoreReadyResponse

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for EngineCoreReadyResponse

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for EngineCoreReadyResponse

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl PartialEq for EngineCoreReadyResponse

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for EngineCoreReadyResponse

Source§

impl Wire for EngineCoreReadyResponse

Source§

fn encode(&self, encoder: &mut Encoder)

Append this value to a message.
Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

Read one value of this type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.