Repository navigation
Backlog
Description
~2x slower H3 Ref2VA DiT sampling on Vulkan/RDNA2 since master-1106 (window 1063->1106, quality intact)
Environment
- Windows 11, official release binaries (
sd-master-*-bin-win-vulkan-x64.zip), no source builds - AMD RX 6950 XT 16 GB (RDNA2), Adrenalin 26.11.2 WHQL
- Pipeline: MiniMax-H3 Ref2VA (CLI):
minimax_h3_ref2va_pruned-Q4_K_M.gguf+qwen3vl_32b_minimax_h3-Q2_K_M.gguftext encoder + fp16 video VAE + fp32 audio VAE,--turbo(8-step LoRA, CFG 1), 768p, 22 ref frames + reference wav, flash attention, everything resident in VRAM (no offload)
Datapoints (clean boot, same fixture + seed, timings stable across runs)
| binary | wall | DiT sampling | verdict |
|---|---|---|---|
| master-1050 / master-1063 | 1039–1078 s | 66.5–67.05 s/it | healthy band |
master-1106 (532d2c1) |
2070 s | 129.8–130.25 s/it | ~1.94x slower |
master-1116 (bf31b9c) |
1941 s | 130.5–130.75 s/it | ~1.95x slower |
- Quality is intact on all four builds (frames inspected: subject/ref persistence, camera push-in, no artifacts) — this is a speed-only regression.
- The regression locus is the DiT sampling loop: ref-VAE encode is at parity (25.4 s/it, old band 28–30 = even faster), audio VAE 3.71 s, no memory errors, no crash, no segment behavior change (single resident run as before).
- Regression window: 1063 -> 1106 (43 commits; we have no H3 datapoints in between). master-1127 does not change it (no H3/Vulkan perf commit in that delta).
Suspects (from the 1063->1106 compare; CUDA-only commits excluded)
5dcfa79sync: update ggml to 1.0.0 (sync: update ggml to 1.0.0 #2354) — Vulkan kernels come from ggml, prime suspect for a uniform ~2x step-time doublingddc367arefactor: unify runner execution and weight residency (refactor: unify runner execution and weight residency #2321)a3c49b1refactor: unify ggml operation helpers around runner context (refactor: unify ggml operation helpers around runner context #2314)766ce0eperf: replace qkv materialized chunks with views (perf: replace qkv materialized chunks with views #2335) /56070eareplace QKV split helpers with ggml_ext_chunk (refactor: replace QKV split helpers with ggml_ext_chunk #2322) — non-contiguous views can cost extra copies on Vulkan80c4707feat: support HyperFlow H3 Flash (feat: support HyperFlow H3 Flash #2299) +8b1e9df/2340-era text-encoder unification across H3 variants — possible path change for the legacy ref2va route46da352fix: size layer-split ranges in proportion to device capacity (fix: size layer-split ranges in proportion to device capacity #2309)
For context we have prior history with the 841->864 memory-rework window (#1976, since fixed by #2181) — that one was allocation failures; this one is pure slowdown on the same recipe that ran fine before.
Happy to run any candidate fix or bisect build on our machine (official win-vulkan release binaries) — just say which commit to test.
Reacted by Lin12372
Metadata
Metadata
Assignees
Labels
No labels
Activity