Skip to content

test(rocm): verify mlxcel-server chat completions on gfx1151 - #1831

Merged
inureyes merged 1 commit into
mainfrom
test/issue-1809-rocm-server
Sep 12, 2026
Merged

inureyes merged 1 commit into
mainfrom
test/issue-1809-rocm-server

Conversation

@inureyes

Copy link
Copy Markdown
Member

#1809 asks for mlxcel-server serving chat completions on ROCm for one dense and one MoE model, which was the last of its acceptance criteria with nothing behind it. Both pass on a Radeon 8060S at the merged 1206f86: Meta-Llama-3.1-8B-Instruct-4bit and Qwen3-30B-A3B-4bit with MLXCEL_FUSED_MOE=0 answer coherently, streaming and non-streaming agree, and neither server log carries an error, a panic or a terminate.

scripts/server_chat_smoke.sh is the check rather than a transcript of hand-typed curl calls, so the claim is reproducible and the two traps it hides stay hidden. model is a required field on the request body and omitting it returns a 422 deserialization error that reads like a server fault. And a thinking model fills reasoning_content before content, so a budget too small to close the thinking block yields finish_reason: length with empty content: Qwen3-0.6B-4bit does this even at 2048 tokens. The script reads both channels and names which one carried the text, the same answer scripts/ab_output_equality.sh reaches with --show-reasoning, and fails only when neither channel produced anything.

The results doc gains a serving section and the reproduction command; docs/installation.md gains the same command in the ROCm verification steps and a status row. The remaining #1809 gap is the rest of the model matrix, which waits on #1803 and #1805.

Refs #1809

Validated on gfx1151 with the release ROCm build from 1206f86: both models pass scripts/server_chat_smoke.sh, and scripts/ci/check_cross_repo_refs.py plus scripts/insert_apache_header.py --check pass. No Rust code changes, so no backend but ROCm is affected by anything here.

Refs #1809

#1809 asks for `mlxcel-server` serving chat completions on ROCm for one dense and one MoE model, which was the last of its acceptance criteria with nothing behind it. Both pass on a Radeon 8060S at the merged 1206f86: `Meta-Llama-3.1-8B-Instruct-4bit` and `Qwen3-30B-A3B-4bit` with `MLXCEL_FUSED_MOE=0` answer coherently, streaming and non-streaming agree, and neither server log carries an error, a panic or a terminate.

`scripts/server_chat_smoke.sh` is the check rather than a transcript of hand-typed curl calls, so the claim is reproducible and the two traps it hides stay hidden. `model` is a required field on the request body and omitting it returns a 422 deserialization error that reads like a server fault. And a thinking model fills `reasoning_content` before `content`, so a budget too small to close the thinking block yields `finish_reason: length` with empty `content`: `Qwen3-0.6B-4bit` does this even at 2048 tokens. The script reads both channels and names which one carried the text, the same answer `scripts/ab_output_equality.sh` reaches with `--show-reasoning`, and fails only when neither channel produced anything.

The results doc gains a serving section and the reproduction command; `docs/installation.md` gains the same command in the ROCm verification steps and a status row. The remaining #1809 gap is the rest of the model matrix, which waits on #1803 and #1805.

Refs #1809
@inureyes inureyes added type:test Test related changes priority:medium Medium priority area:inference Generation, sampling, decoding (incl. speculative, DRY) platform:linux Linux (CUDA / packaging) specific status:review Under review labels Sep 12, 2026
@inureyes
inureyes merged commit f9ece5d into main Sep 12, 2026
14 checks passed
@inureyes
inureyes deleted the test/issue-1809-rocm-server branch September 12, 2026 02:08
@inureyes inureyes added status:done Completed and removed status:review Under review labels Sep 12, 2026
@inureyes inureyes added this to the 0.8 milestone Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:inference Generation, sampling, decoding (incl. speculative, DRY) platform:linux Linux (CUDA / packaging) specific priority:medium Medium priority status:done Completed type:test Test related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant