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
cont_engine: view ToTxToT (outer Contraction, inner Hadamard) via arena
Add the (outer Contraction, inner Hadamard) case to
init_inner_tile_op's view-cell branch. Mirrors the owning-tile path in
init_inner_tile_op_owning_: arena_plan_ uses the `left_range` plan to
shape each result cell from a non-empty left inner cell, and the
per-cell op accumulates `r += l * rr` -- or `r += (l * rr) * factor_`
when scaled -- via fused_hadamard_inplace into the pre-shaped view
cell. No value-returning per-cell op is needed, so this works for view
cells (e.g. ArenaTensor); non-identity inner result permutation is
rejected (the owning fallback that materializes a permuted return cell
cannot run for views).
Previously this case threw "nested non-contraction product on view
inner tiles is not yet supported", aborting expressions such as
`C(i_3,i_4;a<...>) = A(i_3;a<...>) * B(i_4;a<...>)` over ArenaTensor
inner cells -- the typical sub-product inside einsum's generalized
contraction loop for ToTxToT with Hadamard outer-Hadamard inner shapes.
0 commit comments