-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Julia 1.9.0 compatibility #91
Comments
It looks like |
A quick note. The whole machinery around functions with keyword arguments has changed in Julia 1.9. It will take some time to understand how to bypass the change and what other parts of the package it may affect. |
I think |
...which is pretty much what we do 😄 To be more precise, we dispatch calls between methods of OpConfig{backend, typeof(f)}
# e.g.
OpConfig{:ONNX, typeof(*)} For functions with keyword arguments we extend the config with the kw-based version of the function, e.g. OpConfig{backend, Union{typeof(f), typeof(kwfunc(f))}}
# e.g.
OpConfig{:ONNX, Union{typeof(conv), typeof(var"#conv##kw")}} This way a single function In Julia 1.9, however, |
Ok, the remaining errors were actually easy to fix. Now it works both - in Julia 1.8 and Julia 1.9. The code (see #92) is quite ugly though, so I will leave the PR open for a day to collect ideas on how to handle multiple Julia versions better. |
Hi,
I tried to run ONNX.jl
] test
on julia 1.9.0 and got this error:I'm guessing that related to this.
I'm not sure how to approach it, can I have some help?
The text was updated successfully, but these errors were encountered: