github smg-project/smg v1.10.1

latest releases: v1.15.0, v1.14.0, v1.14.0-rc.2...
3 months ago

🚀 Shepherd Model Gateway v1.10.1 Released

Patch release: TokenSpeed attention-DP rank affinity, Qwen4 (experimental) vision support, routing-path performance follow-ups, and ZMQ fixes from the v1.10.0 rollout.

🎯 TokenSpeed: Attention-DP Rank Affinity

Requests can now pin to specific attention-DP ranks on TokenSpeed engines:

Rank pinning — Pin field routes a request to a specific attention-DP rank
Residue rooms + capability handshake — The gateway negotiates rank-affinity capabilities with the engine at connect time
Width-1 correctness — Single-rank engines don't advertise or pin DP ranks

👁️ Qwen4 (Experimental) Vision Support

New qwen4_exp vision processor for experimental Qwen4 checkpoints

⚡ Routing-Path Performance

Continuing the v1.10.0 efficiency work — less copying and locking per routing decision:

Worker snapshots reused during routing — No per-request re-collection of worker state
Load state as shared immutable snapshots — Readers share one snapshot instead of contending on live state

🤝 Community CI: Fork-Friendly Workflows

Forks can now run the full validation suite on their own infrastructure:

Supply your own container image for GPU jobs
Opt into the benchmark workflows
Self-hosted runner labels read from repository variables

🐛 Bug Fixes

ZMQ: Stale socket cleanup gated on Unix, engine ZMQ client crate published before SMG
Protocols: Engine-specific stream_options fields preserved
Policies: Cache-aware routing finalized before recording
Metrics: Canonical engine load sections preserved
CI: Pinned the interpreter CI builds its venv on

🏗️ Internals

PD runtime-identity checks replaced with a protocol table
Multimodal tokenizer seam owned via a local three-method trait
E2E assertions upgraded from vacuous checks to contract checks
Claude code review upgraded to Opus 5 with higher effort
Dependencies: uuid 1.25.0, cc 1.4.4

🙏 Welcome New Contributors

3 first-time contributors landed in this release — thank you all!

Full Changelog: v1.10.0...v1.10.1

Upgrade now: pip install smg --upgrade

🐑 Shepherd your LLM infrastructure with confidence.

What's Changed

  • fix: gate stale ZMQ socket cleanup on Unix by @slin1237 in #2315
  • fix: publish engine ZMQ client before SMG by @slin1237 in #2322
  • chore(deps): bump uuid from 1.24.1 to 1.25.0 by @dependabot[bot] in #2318
  • ci(workflows): read self-hosted runner labels from repository variables by @gongwei-130 in #2323
  • chore(deps): bump cc from 1.4.3 to 1.4.4 by @dependabot[bot] in #2316
  • ci(workflows): let forks supply a container image for the GPU jobs by @gongwei-130 in #2325
  • ci(workflows): let forks opt into the benchmark workflows by @gongwei-130 in #2324
  • feat(multimodal): add qwen4_exp vision support by @minedec in #2327
  • feat(tokenspeed): attention-DP rank affinity (pin field, residue rooms, capability handshake) by @dongjiyingdjy in #2326
  • ci(workflows): switch Claude code review to Opus 5 by @slin1237 in #2331
  • ci(workflows): install smg plugin for Claude review and raise effort to xhigh by @slin1237 in #2332
  • refactor(grpc): replace PD runtime-identity checks with a protocol table by @slin1237 in #2330
  • feat(metrics): preserve canonical engine load sections by @lucifer1004 in #2226
  • fix(ci): pin the interpreter CI builds its venv on by @hello-alexmcc in #2285
  • test(e2e): replace vacuous assertions with contract checks by @hello-alexmcc in #2274
  • refactor(multimodal): own the tokenizer seam with a local three-method trait by @hello-alexmcc in #2335
  • fix(tokenspeed): don't advertise or pin dp rank on width-1 engines by @slin1237 in #2337
  • perf: reuse worker snapshots during routing by @slin1237 in #2338
  • fix(protocols): keep engine-specific stream_options fields by @kevincheng2 in #2339
  • perf(worker): publish load state as shared immutable snapshots by @hello-alexmcc in #2340
  • fix(policies): finalize cache-aware routing before recording by @hello-alexmcc in #2341
  • chore(release): bump versions for v1.10.1 by @hello-alexmcc in #2342

New Contributors

Full Changelog: v1.10.0...v1.10.1

Don't miss a new smg release

NewReleases is sending notifications on new releases.