Repository navigation
test(rocm): verify mlxcel-server chat completions on gfx1151 - #1831
Merged
Merged
Conversation
#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
1 of 5 tasks
33 of 37 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#1809 asks for
mlxcel-serverserving 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-4bitandQwen3-30B-A3B-4bitwithMLXCEL_FUSED_MOE=0answer coherently, streaming and non-streaming agree, and neither server log carries an error, a panic or a terminate.scripts/server_chat_smoke.shis the check rather than a transcript of hand-typed curl calls, so the claim is reproducible and the two traps it hides stay hidden.modelis 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 fillsreasoning_contentbeforecontent, so a budget too small to close the thinking block yieldsfinish_reason: lengthwith emptycontent:Qwen3-0.6B-4bitdoes this even at 2048 tokens. The script reads both channels and names which one carried the text, the same answerscripts/ab_output_equality.shreaches with--show-reasoning, and fails only when neither channel produced anything.The results doc gains a serving section and the reproduction command;
docs/installation.mdgains 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, andscripts/ci/check_cross_repo_refs.pyplusscripts/insert_apache_header.py --checkpass. No Rust code changes, so no backend but ROCm is affected by anything here.Refs #1809