Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Comments

Handle loads of broadcasts in FlattenNestedRamps#8139

Merged
abadams merged 1 commit intomainfrom
abadams/fix_load_of_broadcast
Mar 8, 2024
Merged

Handle loads of broadcasts in FlattenNestedRamps#8139
abadams merged 1 commit intomainfrom
abadams/fix_load_of_broadcast

Conversation

@abadams
Copy link
Member

@abadams abadams commented Mar 6, 2024

With sufficiently perverse schedules, it's possible to end up with a load of a broadcast index (rather than a broadcast of a scalar load). This made FlattenNestedRamps divide by zero. Unfortunately this happened in a complex production pipeline, so I'm not entirely sure how to reproduce it. For that pipeline, this change fixes it and produces correct output.

With sufficiently perverse schedules, it's possible to end up with a
load of a broadcast index (rather than a broadcast of a scalar load).
This made FlattenNestedRamps divide by zero. Unfortunately this happened
in a complex production pipeline, so I'm not entirely sure how to
reproduce it. For that pipeline, this change fixes it and produces
correct output.
@steven-johnson
Copy link
Contributor

Ready to land?

@abadams abadams merged commit 009fe7a into main Mar 8, 2024
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.

2 participants