-
Notifications
You must be signed in to change notification settings - Fork 57
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
mixed activity for jl_new_struct #1026
Comments
Yeah what happened here isn't that v11.6+ broke it, but rather 11.6+ will error that we could get that answer wrong (which 11.5 and before could as well, just we didn't throw the error here like we should have). In essence this is a type unstable, multiple activity input object construction, which we don't presently handle (even with the runtimeActivity flag) yet. In the interim, if you make that part of the code type stable, this error should disappear. |
I see, thank you. In this case I will see what can be done on the side of Distances.jl, I somewhat surprised that it isn't already type stable. |
After a little experimentation, I noticed that making it Closing this as there is no more need. |
Hey, I noticed that 0.11.6 seems to have broken the second derivative of metrics from
Distances.jl
.The following works with 0.11.5, but not with 0.11.6, 0.11.7 and main
The error is
The same happens with forward over reverse
Enzyme.API.runtimeActivity!(true)
does not help (not sure if it should, but I tried it).Not sure if this issues should rather be in Distances.jl?
The text was updated successfully, but these errors were encountered: