Skip to main content

startup_worker

Function startup_worker 

Source
pub(super) fn startup_worker(
    id: usize,
    cache_dir: &Path,
    ready_tx: &Sender<Result<usize>>,
    config: &WorkerConfig,
    rt: &Handle,
) -> Result<StartupOutcome>
Expand description

Loads models, runs optional TRT prewarm, and signals readiness.