Expand description
Server startup and shared job ownership. One worker owns the loaded GPU.
Modulesยง
- failure ๐
- HTTP status for expected lifecycle failures; validation defaults to 400.
- http ๐
- Bounded HTTP input and JSON/SSE wire framing.
- output ๐
- Slow clients consume bounded writer queues, never the GPU worker thread.
- pacer ๐
- Wall-time pacing within the prefill capacity reserved at load.
- registry ๐
- Bounded request registration and cancellation, independent of the GPU worker.
- request ๐
- Completion options, chat rendering, tokenization and context policy.
- response ๐
- Endpoint-specific JSON and SSE framing, independent of token generation.
- routes ๐
- HTTP endpoints and admission into the generation queue.
- sessions ๐
- Bounded conversation history, committed at the final-response publication boundary.
- stats ๐
- Generation work, shared by active-request and committed-session snapshots.
- tool_
call ๐ - Qwen tool-call output parsing.
- worker ๐
- Round-robin GPU scheduling. Each active request owns its decoding state.
Structsยง
- Job ๐
- Usage
Stats
Enumsยง
- ApiKind ๐
Constantsยง
- MODEL ๐