-
-
Notifications
You must be signed in to change notification settings - Fork 214
Allow buffer typevar in CuArray type #1062
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
Conversation
We'll need to guard the additional type param against < CUDA v3.4 |
Yup, that seem like its happy with CUDA tests. Thanks @maleadt ! |
Supersedes FluxML/Flux.jl#1704, so at least we can rid of the |
Julia 1.3 error is unrelated to this PR |
The buildkite error seems to be coming from ChainRules @oxinabox |
Neat. A simple demonstration is: I am not sure where, and if, this should be worked around. cc @mcabbott |
I'm mostly puzzled why this wasn't triggered before, since the |
Does seem something CR should address, but seems orthogonal to this PR. Mind if I merge @oxinabox ? |
The other option is to drop 1.3 compatibility, but seems odd to need to do that on something that used to pass. |
We already have the tests we need - buildkite is failing on master. |
Co-authored-by: Michael Abbott <[email protected]>
Realistically it doesn't seem like this is a major issue. It is a weird code path that is only explored if:
This one fails up until 1.6.
I am good if @mcabbott is good.
Could be that Zygote was broken with CUDA for quite a while and so those tests were failing before they got that far. |
Its not only restricted to 1.5 buildkite though, similar issues can be seen in 1.3 on GHA, plus I don't think 1.5 is an old enough release. We test Zygote with CUDA in many different places, including all the layers with different losses on GPU on Flux, and even FluxBench with different modelling types. Unlikely Zygote was broken until recently where the typevar in CuArray was introduced, which this PR fixes. |
Bump |
No description provided.