pub struct PipelinePool { /* private fields */ }Expand description
Fixed pool of pipeline slots over ONE shared mmap’d model (roadmap
§3 «serving полностью сериализован», этап 5.1): the weights are
zero-copy shared through Arc<CmfModel>, each slot owns its
KV-cache / recurrent state / sampler / workspace. A request checks a
slot out for the duration of one generation, so up to slots
requests decode CONCURRENTLY; excess requests queue fairly on the
semaphore. This is bounded-concurrency serving, not yet continuous
batching (этап 5.2+).
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PipelinePool
impl !UnwindSafe for PipelinePool
impl Freeze for PipelinePool
impl Send for PipelinePool
impl Sync for PipelinePool
impl Unpin for PipelinePool
impl UnsafeUnpin for PipelinePool
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