Skip to content

TensorFold 0.3.7: Nemotron and 27B concurrency fixes

Choose a tag to compare

@ashhart ashhart released this 29 Sep 14:43
· 13806 commits to main since this release

Two concurrency fixes.

  • Nemotron on Macs serves concurrent requests again. 0.3.6.3 kept one draft slot for all of a server's streams,
    so when several Nemotron requests arrived together most of them failed with HTTP 500 (5 of 6 at a time in our test
    on an M3 Ultra). Each stream now keeps its own slot. Six requests at once all finish, three rounds in a row, and
    every reply equals the same request sent alone.
  • Qwen3.8-27B on M1-M4 serves 9, 17 or 25 streams at once. A round whose last group of recurrent streams held a
    single stream built a kernel Metal refused, and every stream in that round failed. That group now builds like the
    others; rounds of 2-8 streams run exactly the same kernels as before.

Nothing else changes: same models, same MLX (below 0.32.3), same speeds, and single requests reply exactly as they
did on 0.3.6.3.

Update with pip install -U git+https://github.com/ashhart/TensorFold.git@v0.3.7.

Versions have three parts from here on: this is 0.3.7, and the next feature release will be 0.4.0.