Skip to content

3.0.0

Latest

Choose a tag to compare

@justinwlin justinwlin released this 21 Aug 18:36
9dbb861

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 668 EXTERNALLY-MANAGED marker, so dependency installs now pass --break-system-packages.
  • Blackwell GPUs are supported. allowedCudaVersions is an exact-match list, so the Hub config lists both 13.0 and 12.9.
  • PYTHONUNBUFFERED=1 so 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 error object instead of being passed off as successful output.
  • openai_route works without a body — the verb defaults to GET when there is no payload and POST when there is, so read-only routes like /v1/models work. Pass method to override.
  • SSE chunk formatting corrected for streaming.

Hub listing

  • HF_TOKEN input 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 precondition digest 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