mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-05 15:58:53 +00:00
- third_party/ggml/ggml-common-tq.h: the fork's TQ2_T/TQK6/TQK7 block structs and 2048-point codebook (device table). - iq_kernels.cu: Fmt<144..146> (the fork's tq.cuh lane decode against q8_1, 4 q8_1 blocks per 128-block), dq_tq in dq_dispatch (prompt FP16 path, embedding), is_iq / row bytes; hadamard_rows / hadamard_rows_f16 (shared-memory FWHT in the CPU's butterfly order) and hadamard_device_signs; native_expert_grouped rotates h when NativeExpertLayout::had_block is set. - verify.cpp (local GPU), remote_experts.cpp (helper GPUs), prefill.cpp (FP16 fallback; folded layers never take MMQ) rotate x / h into their own buffers; the shared expert and the CPU doorbell copy keep x. - native_expert_parity --synthetic-hadamard; ctests for tqk6/tqk7 and tq2_t when ggml is the agention fork. - generate.cpp: APR packs run only with STRATA_APR=1 until validated end to end on a GPU. - hip_backend.cmake: gfx1151 as an unvalidated architecture. Rebased onto upstream 0.1.39: native_expert_grouped takes the separate SwiGLU / rotate / q8_1 passes when the down weights are folded (the one-pass swiglu_q8_1 kernel has no h to rotate); the new decode peer GPU (peer_experts.cpp) rotates its private input copy and passes the down signs, as remote_experts.cpp does. Ported from agentionai/Strata rc2 6c7abde (rc2 = 9ff02c9), author Laurent Zuijdwijk.