-
Notifications
You must be signed in to change notification settings - Fork 7
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
IfOp #149
IfOp #149
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm [though also we'll need to figure out a good interface for the push/pop removal]
Yes. I also took a look at BatchOpInterface for IfOp and in its current state the interface only allows to return a single operation so we could not really unroll the batching like we discussed. So maybe |
Yeah I think so, as is it assumed a single op would suffice for batching |
I don't think the reverse could be used as is in a XLA pipeline since Enzyme is not yet able to remove all enzyme ops (which I think it technically could if there is no loop?).