Skip to content

[Frontend] Retire implicit_dim_ops tile-forcing (redundant under axis-split)#262

Merged
YWHyuk merged 1 commit into
feature/retire-floormod-recompilefrom
feature/retire-implicit-dim
Jun 18, 2026
Merged

[Frontend] Retire implicit_dim_ops tile-forcing (redundant under axis-split)#262
YWHyuk merged 1 commit into
feature/retire-floormod-recompilefrom
feature/retire-implicit-dim

Conversation

@YWHyuk

@YWHyuk YWHyuk commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Removes implicit_dim_ops/extract_dividers/apply_constraints, which forced the initial tile size to a view's floor/mod divider in compute_tile_size. axis-split (PR #259) now linearizes those views upstream, making the forcing redundant.

Measured: disabling it keeps every test allclose-correct and is slightly FASTER on affected kernels (the forced tile was over-constrained -- batchnorm 1189->1114, layernorm 4092->3947 cycles; non-floor/mod kernels unchanged). Also drops now-unused imports.

Validated end-to-end (Spike + TOGSim): elementwise, gemm, bmm, conv2d, group_conv, pool, cat, floor/mod suite, reduce, softmax, layernorm, batchnorm, gqa -- all pass, 0 recompiles.

NOTE: stacked on #261 (floor/mod recompile retirement) and #259 (axis-split). Rebase once those land.

🤖 Generated with Claude Code

…-split)

implicit_dim_ops/extract_dividers/apply_constraints forced the initial tile size
to match a view's floor/mod divider, up front in compute_tile_size. axis-split now
linearizes those views at the scheduling layer, so the forcing is redundant:
disabling it leaves every test allclose-correct and, on the affected kernels,
slightly faster (the forced tile was over-constrained -- batchnorm 1189->1114,
layernorm 4092->3947 cycles; non-floor/mod kernels unchanged).

Remove the machinery and its now-unused imports (ModularIndexing, FloorDiv, Mod,
MemoryDep, StarDep, WeakDep).

Validated end-to-end (Spike + TOGSim): elementwise, gemm, bmm, conv2d, group_conv,
pool, cat, floor/mod suite, reduce, softmax, layernorm, batchnorm, gqa -- all pass,
0 recompiles.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@YWHyuk YWHyuk changed the base branch from develop to feature/retire-floormod-recompile June 18, 2026 03:42
@YWHyuk YWHyuk merged commit 2287c29 into feature/retire-floormod-recompile Jun 18, 2026
75 of 76 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant