Skip to content

[StableHLO] Lower dynamic_gather and dynamic_broadcast_in_dim - #24941

Draft
jschuhmacher wants to merge 2 commits into
users/jschuhmacher/stablehlo_dynamic_pad_convfrom
users/jschuhmacher/stablehlo_dynamic_gather_broadcast
Draft

jschuhmacher wants to merge 2 commits into
users/jschuhmacher/stablehlo_dynamic_pad_convfrom
users/jschuhmacher/stablehlo_dynamic_gather_broadcast

Conversation

@jschuhmacher

@jschuhmacher jschuhmacher commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Gather index counts, slice sizes, and broadcast expansion can depend on runtime shapes. These inputs should compile without requiring the frontend to make them static.

skip-ci: Stacked on an unmerged base.
Assisted-by: claude code


Stack created with GitHub Stacks CLIGive Feedback 💬

@jschuhmacher
jschuhmacher added this pull request to stack #24943 September 17, 2026 14:47
@jschuhmacher
jschuhmacher force-pushed the users/jschuhmacher/stablehlo_dynamic_gather_broadcast branch from 8adf802 to b51eba7 Compare September 17, 2026 18:34
@jschuhmacher
jschuhmacher force-pushed the users/jschuhmacher/stablehlo_dynamic_gather_broadcast branch from b51eba7 to 33d76bf Compare September 18, 2026 08:02
@jschuhmacher
jschuhmacher force-pushed the users/jschuhmacher/stablehlo_dynamic_gather_broadcast branch 2 times, most recently from b4094d1 to 53b9098 Compare September 23, 2026 09:06
@jschuhmacher
jschuhmacher force-pushed the users/jschuhmacher/stablehlo_dynamic_gather_broadcast branch from 53b9098 to f5b70b6 Compare September 23, 2026 12:25
@jschuhmacher
jschuhmacher force-pushed the users/jschuhmacher/stablehlo_dynamic_gather_broadcast branch from f5b70b6 to 489a56d Compare September 23, 2026 17:46
Index counts, slice sizes, and broadcast dimensions can depend on the
input shape. These valid cases should compile without requiring the
frontend to make them static.

Assisted-by: claude code

Signed-off-by: Jelle Schühmacher <schuehmacher@roofline.ai>
@jschuhmacher
jschuhmacher force-pushed the users/jschuhmacher/stablehlo_dynamic_gather_broadcast branch from 489a56d to 7d1c6c9 Compare September 23, 2026 19:36

This branch has not been deployed

No deployments
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