mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1278] [CLOSED] HIP: run the K-quant MMQ test on HIP builds; UD-Q4_K_XL measured on an R9700 #3353
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3353
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/1278
Author: @ConnorHaggerty
Created: 10/6/2026
Status: ❌ Closed
Base:
main← Head:hip-rdna4-ud-q4📝 Commits (1)
683f74cHIP: run the K-quant MMQ test on HIP builds; UD-Q4_K_XL measured on an R9700📊 Changes
2 files changed (+43 additions, -5 deletions)
View changed files
📝
CMakeLists.txt(+10 -0)📝
docs/UNSLOTH_Q4.md(+33 -5)📄 Description
Description:
Summary
tests/cuda/prefill_mmq_kquant_test.cppin the HIP MMQ branch aship_prefill_mmq_kquant(named and linked likehip_prefill_fused_iq). Since43881f1the HIP build compiles the Q4_K / Q5_K / Q5_1 / Q6_K MMQ instances under-DSTRATA_MMQ_KQUANTS=ON, but the testthat checks those products was only registered for CUDA.
to it. Neither holds on 0.1.40. Reworded it, and added an "On an AMD card (R9700, set up by hand)" section with what was measured and what was not. Setup's
behaviour (
nvidia_only,"vision": False) is unchanged: setup itself has not been run with this file on AMD.Tested on
Radeon AI PRO R9700 (32 GB, gfx1201), i7-12700KF (AVX-2, no AVX-512), 96 GB DDR4-3200, Ubuntu 26.04, setup's ROCm 7.10 wheels,
mainat82f46a8plus thiscommit, built with
-DSTRATA_MMQ_KQUANTS=ON -DSTRATA_BUILD_TESTS=ON.hip_prefill_mmq_kquantpasses. Max rel_l2: Q4_K 0.0030, Q5_K 0.0034, Q6_K 0.0016 (gate/up); Q5_1 0.0015, Q8_0 0.0005 (down).expert_cache_segmented_test:--vram-elasticis CUDA-only.ple_parity: needs a Q2_0 file that isn't on this PC.platform_memory_test:ulimit -lis 8 MiB here.expert_multi_test: needs AVX-512.hip_q2_zero: 128 negative zeros come out as +0.hip_prefill_wmma_gemm_parity: the WMMA kernels are gfx11-only, so on gfx1201 every case is declined and the test reports FAILED ("zero test casespassed") instead of skipping. Probably wants exit 77 off gfx11, like
hip_prefill_fused_moe.--resident-budget-gib 64, 262K context,--kv int8 --kv-resident 32768, MTP draft layer:such runs on this PC with the RAM complement mapped for the GPU; 0.1.40 did not.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.