perf(qwen35): prototype concurrent library tuning - #597
Closed
Graffioh wants to merge 11 commits into
Closed
Conversation
Graffioh
force-pushed
the
codex/qwen35-concurrency-library-tuning
branch
from
August 10, 2026 20:07
4946cc0 to
98ca3f3
Compare
Graffioh
force-pushed
the
codex/qwen35-concurrency-library-tuning
branch
from
August 10, 2026 20:48
98ca3f3 to
2baad69
Compare
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
This remains a draft/experimental PR, not a measured performance win.
Stack
Depends on #596 and is based on its exact current head,
1e67ef28.PR #596's head branch lives only in the contributor fork, so this draft targets
main. Its diff collapses to the three commits in this PR once #596 lands.Controls
Both experimental paths are disabled by default:
DFLASH_BATCHED_SAMPLING=1enables step-wide logits readbackDFLASH_HIPBLASLT=1enables the direct exact-shape plan cacheDFLASH_HIPBLASLT_WORKSPACE_MBcaps workspace (default: 32 MiB)DFLASH_HIPBLASLT_HEURISTICSbounds queried candidates (default: 8)DFLASH_HIPBLASLT_LOG=1logs cached selections and fallbacksThe benchmark harness exposes
TEMPERATURE,SEED,HIPBLASLT_MODE, andBATCHED_SAMPLING_MODE, and records the resulting server environment.Strix Halo screening
All runs used K=8, short ragged 300–638-token prompts, one screening repeat, and exact output-token counts. Full repeats were intentionally skipped after the smoke tests did not show a credible incremental win.
The hipBLASLt implementation caches the library's first ordered heuristic candidate; it does not benchmark candidates. PR #596 already routes rocBLAS through hipBLASLt on gfx1151, so the direct path duplicates essentially the same selection and is flat.
The batched readback removes per-row synchronizations, but full-vocabulary transfer barriers are not a material part of this workload. Pinned readback and parallel CPU sampling were also screened locally and removed after they failed to produce a clear request-decode gain.
Validation
gfx1151with ROCm 7.2.4ggml-hipanddflash_servertest_seq_engine_contract(15),test_seq_batch_plan(60), andtest_seq_slot_manager(146)test_platform_compatbash -non the benchmark harnessgit diff --check