Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle loads of broadcasts in FlattenNestedRamps #8139

Merged
merged 1 commit into from
Mar 8, 2024

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
19 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.

2 participants