Repository navigation
Upgrades the worker to SGLang v0.5.17-cu129, adds Blackwell support, and rewrites the handler so the OpenAI SDK works against it.
Major version because the non-streaming response shape changed: the handler now yields parsed JSON objects rather than JSON text. Anything that was json.loads()-ing the output of /openai/v1 needs to drop that step.
Base image and GPUs
lmsysorg/sglang:v0.5.2-cu126→v0.5.17-cu129. The cu129 image ships a PEP 668EXTERNALLY-MANAGEDmarker, so dependency installs now pass--break-system-packages.- Blackwell GPUs are supported.
allowedCudaVersionsis an exact-match list, so the Hub config lists both13.0and12.9. PYTHONUNBUFFERED=1so a slow or failing startup produces logs instead of silence.
Handler
- Non-streaming responses yield parsed objects, which fixes
'str' object has no attribute 'choices'when calling the worker through the OpenAI SDK. - Upstream 4xx/5xx from SGLang surface as a structured
errorobject instead of being passed off as successful output. openai_routeworks without a body — the verb defaults toGETwhen there is no payload andPOSTwhen there is, so read-only routes like/v1/modelswork. Passmethodto override.- SSE chunk formatting corrected for streaming.
Hub listing
HF_TOKENinput restored, so gated and private models are deployable from the Hub again.- Tool-call and reasoning parser options corrected.
CI
- Dropped the Blacksmith layer cache. It corrupts the ~5.7 GB cu129 base layer and fails every build with a
failed preconditiondigest mismatch (DR-1446).
Validated live on RTX PRO 6000 Blackwell and RTX 4090: chat, /generate, openai_route, streaming, and the OpenAI SDK in both streaming and non-streaming modes.
Full changelog: 2.0.2...3.0.0