Repository navigation
docs(report): note the CUDA result of the #3048 decode A/B - #3059
Merged
Merged
Conversation
The report and the CHANGELOG entry described the HIP measurement only. The same paired A/B on a GB10 host over CUDA measures a median 24.47 tok/s against 22.59, ahead in all six rounds with identical greedy output, so the in-place KV update is not a HIP-only lowering effect. Both CUDA arms run the f16 weight path because MLXCEL_XLA_QUANT=native is HIP-only, so those figures are comparable only with each other and not with the native 4-bit HIP row.
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.
Summary
The #3048 report and the CHANGELOG entry recorded the
gfx1151HIP measurement only. This adds the CUDA counterpart, so the release note can say that the in-place KV update is not a HIP-only lowering effect.Change
CHANGELOG.md: one sentence appended to the perf(xla): hold the decode KV cache in a module global to remove the per-step 32 MB copies #3043/perf(xla): update the decode KV cache in place through module globals (#3043) #3048 entry, with the medians and the f16 caveat.TECHNICAL_REPORTS/3048-decode-kv-module-globals-20261114.{en,ko}.md: a table row and a paragraph in section 2.2.Measurement
Run on a GB10 host from
mainwith the harness merged in #3050,--device cuda --old a1694f6d --new main, six interleaved rounds, llama-3.2-1b-instruct-4bit, capacity 512,n=128:a1694f6d)+8.30%, ahead in all six paired rounds, greedy output byte-identical between the arms. The same A/B on
gfx1151gave +9.05%.Both CUDA arms run the f16 weight path, because
MLXCEL_XLA_QUANT=nativeis HIP-only and is silently ignored there. The f16 figures are comparable only with each other, not with the native 4-bit HIP row; the report and the CHANGELOG both say so.Validation
Documentation only, no code change. The underlying measurement is recorded in a comment on the merged PR #3048.