pub struct PrefillConfig {
pub peer: PeerConfig,
pub layout: PrefillLayout,
pub status_rank: i64,
pub bootstrap_url: String,
pub bootstrap_payload: Value,
pub bootstrap_timeout: Duration,
pub failed_session_ttl: Duration,
pub transfer_workers: usize,
pub layerwise: Option<Layerwise>,
}Expand description
A Prefill rank’s settings.
Fields§
§peer: PeerConfigWhat both roles share.
layout: PrefillLayoutWhat this rank plans its routes and copies with.
status_rank: i64This rank in Decode’s completion-tracking rank space.
bootstrap_url: StringThe bootstrap server’s registration route.
bootstrap_payload: ValueWhat this rank registers there, but its control port.
bootstrap_timeout: DurationA request whose Decode ranks have not all pre-allocated this long after registration fails.
failed_session_ttl: DurationAfter a transfer to a session fails, its later transfers fail fast for this long; zero disables.
transfer_workers: usizeTransfer workers.
layerwise: Option<Layerwise>Layerwise streaming, when on.
Trait Implementations§
Source§impl Clone for PrefillConfig
impl Clone for PrefillConfig
Auto Trait Implementations§
impl Freeze for PrefillConfig
impl RefUnwindSafe for PrefillConfig
impl Send for PrefillConfig
impl Sync for PrefillConfig
impl Unpin for PrefillConfig
impl UnsafeUnpin for PrefillConfig
impl UnwindSafe for PrefillConfig
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