You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit aeaef40
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: ENV.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,6 +79,7 @@ one, as the `PHOBOS_FUSED_*` stages fall back to `PHOBOS_FUSED`).
79
79
|`PHOBOS_QGEMM_SPLIT`| opt-out | on | Split-K on the staged projection when its grid is under three quarters of a wave (two CTAs per SM), which a short prompt or a wide card leaves it. Splits only while each slice stays deep enough to pay for the reduction pass. |
80
80
|`PHOBOS_QGEMM_SUMS`| opt-out | on | The activation's per-block (scale, sum) pairs for the Q4_K staged projection's minimum term, written once per quantized activation by `block_pairs` and read by the kernel in place of the scales. Off, the kernel sums the staged tile itself, as Q5_K's does either way: with `dp4a` on Turing, against ones on the tensor cores from sm_80. |
81
81
|`PHOBOS_RAW_QMMA`| opt-out, or a comma list of formats (`IQ1_S,IQ2_XXS`) | on, all formats | Which raw formats take the fused prompt projection rather than expansion. A list names them; an opt-out spelling means all or none. |
82
+
|`PHOBOS_Q8_QGEMM`| opt-out | on | The staged projection, the raw formats' kernel over the Q8_0 planes, for the Q8_0 prompt projection's whole 128-row tiles where `n` is a multiple of 64 and `k` of 256; the rows left over take the tiles below it. Off, the deep `q8_qmma` tile takes them. Splits along `k` by the staged projection's rule where `PHOBOS_QMMA_SPLIT` allows. |
82
83
|`PHOBOS_QMMA_SPLIT`| opt-out | on | Split-K on the Q8_0 prompt projection's deep tile when the grid is starved, which a short prompt leaves it. Up to 48 SMs only an eight-way split is taken, since a smaller one does not pay for its reduction pass; past 48 SMs a grid under two blocks per SM splits at least four ways. |
83
84
|`PHOBOS_QMMA_NARROW`| opt-in | off | The narrow-CTA form of the Q8_0 prompt projection's deep tile. Wins at pp128, regresses pp512 on some models; opt-in for that reason. |
84
85
|`PHOBOS_QMMA_TILE`|`TMxTNxCTA`, e.g. `128x64x256`| the format's | The fused prompt projection's tile and CTA, for a sweep without a rebuild. Each distinct value is a distinct compiled kernel. |
0 commit comments