mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-05 07:48:45 +00:00
The merge is textually clean. On top of it, in the merge commit: - experts_native_ext (moe_fused_iq_q36.cu) takes its ww from launch_ww(b, g, n, n_expert, staged, wide) instead of pick_ww plus the old check_staged_blobs call (which the merge renamed to staged_blobs_ok). staged and wide are what the K-quant down commit passed: staged = sw_on(gu_type, true) || sw_on(d_type, false) (the Q5_K / Q6_K downs are staging instances, K = 512), wide = the gate/up is Q6_K or Q8_0 (false for the Q4_K / Q5_K gate/up of this path). A staged K-quant launch whose expert blobs are not device memory at 2-byte aligned addresses now takes the unstaged 64-row kernel, sticky for the process, one log line, no exit, like every other launch of the copy. - prefill_fused_q36_test takes --host-blobs=N [--expect-fallback | --expect-no-fallback] (the first N experts' blobs in pinned, mapped host memory; timing part; MMQ is not run for those pairs), as prefill_fused_iq_test does; moe_fused_q36.hpp declares the copy's staged_blob_fallbacks(); ctest entry prefill_fused_q36_test_hostblobs (Q4_K / Q5_K, 2,048 tokens). Checked on RTX A6000 (sm_86, CUDA 13.1): the five pairs' output bits hashes at tile default / 64 / 128 and 2048 / 4096 / 8192 / 20000 tokens are the ones of the K-quant down commit (20 of 20, three tiles); the three K-quant pairs with --host-blobs=1 take the unstaged kernel (one log line, 346 to 1,198 launches counted over the pairs, no exit), at the default tile and with STRATA_PF_FUSED_TILE=128 forced, and their hashes are the all-device run's (6 of 6, both).