Merge commit 'cf1b0edf' into f-mac-rel

This commit is contained in:
Niko1221 committed 2026-10-13 09:21:10 +02:00
commit 0aef10aeae
122 files changed
+6885 -401

No files matched your search

+1 -6
View File
@@ -193,12 +193,7 @@ void gdn_point_at(const ModelGeometry& g, int64_t layer, SessionState& s) {
/// The per-token staging every QSA layer's captured H2D reads FROM. Must run before each replay: the graphs
/// captured the SOURCE POINTER, not the value, and that is exactly why the buffers are pinned and fixed.
void stage_token(const ModelGeometry& g, int64_t pos, int32_t pos_base, SessionState& s) {
strata::kernels::QsaShapes sh = strata::kernels::qsa_real_shapes();
sh.n_head = g.n_head;
sh.n_head_kv = g.n_head_kv;
sh.head_dim = g.head_dim;
sh.idx_n_head = g.idx_q_heads;
sh.idx_dim = g.idx_key_dim;
const strata::kernels::QsaShapes sh = qsa_shapes(g);
for (int64_t j = 0; j < s.qsa_alloc; ++j) {
QsaState& q = s.qsa_states[s.qsa_ord0 + j];
qsa_step_fill(q.host_step, pos, sh);