Optimisers.jl
Optimisers.jl copied to clipboard
Test with GPUArrays
This adds tests which should detect problems with CuArrays, which can run on your laptop (and on CI) using a fake GPUArray. Similar to https://github.com/FluxML/OneHotArrays.jl/pull/9
~~WIP as it should still test gradients.~~
Xref https://github.com/FluxML/Optimisers.jl/issues/69 about destructure of a model containing both CPU and GPU arrays, not clear what should happen there ideally.