mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-05 07:48:45 +00:00
prefill_expert_paths_bench (CUDA) and hip_prefill_expert_paths_bench (HIP) time one layer of routed experts on synthetic weights, no model file: MMQ where the build has it, the dequantize + FP16 GEMM path (the library calls of prefill.cpp's FP16 branch, in its order), the same with the few-row experts on the quantized grouped kernels, one grouped call for the whole layer (the Qwen3.6 engine's fallback), and the fused kernels where the card has them. Median of N repeats after a warm-up, speed ratios against MMQ, error against a CPU FP32 reference on a sample of pairs, an output hash per path, VRAM used, one machine-readable RESULT line per cell. Runs on cards without fused kernels and in builds without MMQ. --dense times strata::prefill::Gemm at the dense prompt shapes of the compiled geometry (the call sites in prefill.cpp) with set_f16_io off and on (STRATA_HIP_PROMPT_F16), with the error against the CPU reference. Test and CMake wiring only (a ctest smoke entry for each backend); no product source is touched.