Skip to content

serve: --parallel 1 starts llama-server with one slot - #243

Merged
bong-water-water-bong merged 2 commits into
mainfrom
serve-np1
Sep 30, 2026
Merged

bong-water-water-bong merged 2 commits into
mainfrom
serve-np1

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

1bit serve --parallel 1 never reached llama-server: -np was passed only for values above 1, so the child ran with llama-server's own default of several slots.

On HRX0 a second slot can then share a batch, and Qwen3.5 / Qwen3.8 (Ternary Bonsai too) have no multi-sequence gated delta net there, so the request fails with HTTP 500. The child's log says unsupported HRX node ... UNARY. I found it running GSM8K on Ternary-Bonsai-2-27B through 1bit serve --device hrx --parallel 1: the speed prompts passed, then the second request failed.

Now --parallel 1 passes -np 1. Without --parallel, llama-server's default still applies. That default is still exposed to the same failure on HRX with these models; that belongs with the --parallel refusal for qwen35/qwen3next on HRX.

Test. tests/parallel_args.sh (no GPU, fake backend) checks:

  • --parallel 1 passes -np 1;
  • no --parallel passes no -np;
  • --parallel 4 passes -np 4.

Run on strixhalo together with hadamard_route and long_route: 3/3 pass.

🤖 Generated with Claude Code

--parallel 1 was dropped (only values above 1 reached llama-server), so the
child ran with llama-server's own default of several slots. On HRX0 a second
slot can then share a batch, and Qwen3.5 / Qwen3.8 (Bonsai too) have no
multi-sequence gated delta net there: the request fails with HTTP 500
("unsupported HRX node ... UNARY" in the child's log). Found running GSM8K on
Ternary-Bonsai-2-27B through `1bit serve --device hrx --parallel 1`.

tests/parallel_args.sh (no GPU): --parallel 1 -> -np 1, no --parallel -> no
-np, --parallel 4 -> -np 4.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@context7

context7 Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Docs7 for 1bit-monster/engine

Result Status Action
Deployment ➖ Not used —
Content review ➖ Did not run. This site has no agent runs available this month. Wait for the monthly reset or check your Docs7 plan. —

Commit 6337e81

bong-water-water-bong added a commit that referenced this pull request Sep 30, 2026
…244)

Without --parallel, serve passes no -np and llama-server opens its default
several slots. On HRX0 a second concurrent request then shares a batch with
the first, and Qwen3.5/3.8 (qwen35, qwen35moe, qwen3next; Ternary Bonsai too)
fail with HTTP 500 at the multi-sequence softplus / GATED_DELTA_NET (found by
the leaderboard session: Bonsai GSM8K died on its second request). serve now
passes -np 1 for those architectures on HRX; requests queue instead.
Complements #243 (-np 1 for an explicit --parallel 1) and #240 (--parallel >1
refused for them on HRX).

Co-authored-by: bong-water-water-bong <bong-water-water-bong@1bit.gg>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@bong-water-water-bong
bong-water-water-bong merged commit 2ffa3ca into main Sep 30, 2026
8 of 9 checks passed
@bong-water-water-bong
bong-water-water-bong deleted the serve-np1 branch September 30, 2026 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant