model: qwen3next: no concat-in-loop#18759
Closed
ngxson wants to merge 2 commits intoggml-org:masterfrom
Closed
Conversation
Contributor
Author
|
@lemmi please give this a try on vulkan |
|
Hey, thanks for looking into it. I ran several benchmarks and I'm getting wildly different results on each run (450-490 t/s on master). But within each run the trend is still the same in that PP performance with larger ubatch sizes falls off dramatically. TG seems to be unaffected, so I left that out from the results: Master:
PR:
|
Contributor
Author
|
hmm ok, so seems like closing this PR for now as it doesn't improve much |
This was referenced Feb 9, 2026
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.
Ref: #18725 (comment)
Alternative to doing
ggml_concatin a loop is to useggml_set_rows, but it requires adding quite a lot of code.This PR is a PoC, just to see if
ggml_concatis actually the root cause.Testing with a large ubatch,
llama-bench -p 2048 -ub 1024master:
build: 506bb6e (7703)
PR:
build: 4c7e830 (7705)