pub struct DecodeConfig {
pub peer: PeerConfig,
pub arena_base: u64,
pub layout: Vec<u8>,
pub tp_size: i64,
pub tp_rank: i64,
pub waiting_timeout: Duration,
pub heartbeat_interval: Duration,
pub heartbeat_max_failures: u32,
}Expand description
A Decode rank’s settings.
Fields§
§peer: PeerConfigWhat both roles share.
arena_base: u64What this rank registers with a Prefill rank: its cache arena base, its cache transfer contract’s wire bytes (with its landing addresses), and its attention TP size and rank.
layout: Vec<u8>See arena_base.
tp_size: i64See arena_base.
tp_rank: i64See arena_base.
waiting_timeout: DurationA request whose manifest went out this long ago without its KV landing fails.
heartbeat_interval: DurationHow often the Prefill nodes’ health is checked.
heartbeat_max_failures: u32Failed checks in a row after which a Prefill node counts as lost.
Trait Implementations§
Source§impl Clone for DecodeConfig
impl Clone for DecodeConfig
Auto Trait Implementations§
impl Freeze for DecodeConfig
impl RefUnwindSafe for DecodeConfig
impl Send for DecodeConfig
impl Sync for DecodeConfig
impl Unpin for DecodeConfig
impl UnsafeUnpin for DecodeConfig
impl UnwindSafe for DecodeConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more