pub enum WorkerMsg {
Execute(ExecuteBatch, Sender<Result<TokenChunk, InferenceError>>),
ContextPoisoned(String),
RebuildSession {
cause: SessionRebuildCause,
reply: Sender<Result<(), InferenceError>>,
},
}Variants§
Execute(ExecuteBatch, Sender<Result<TokenChunk, InferenceError>>)
ContextPoisoned(String)
Forwarded from the runner when a sticky CUDA error is detected. Triggers a child restart.
RebuildSession
Operator-triggered rebuild.
Auto Trait Implementations§
impl Freeze for WorkerMsg
impl !RefUnwindSafe for WorkerMsg
impl Send for WorkerMsg
impl Sync for WorkerMsg
impl Unpin for WorkerMsg
impl UnsafeUnpin for WorkerMsg
impl !UnwindSafe for WorkerMsg
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