You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently (as of Flux 0.15), Flux.cpu and Flux.gpu do not error when fed a view, but they simply return an identical value, without moving data to / from the GPU.
We now completely rely on MLDataDevices.jl for the data movement. gpu and cpu are simply defined as
gpu(x) =gpu_device()(x)
cpu(x) =cpu_device()(x)
Could you report the issue to the Lux repo?
Unfortunately the transition has not been entirely smooth, and some of the v0.14 behavior is not preserved, e.g. LuxDL/Lux.jl#1129
Currently (as of Flux 0.15),
Flux.cpu
andFlux.gpu
do not error when fed a view, but they simply return an identical value, without moving data to / from the GPU.MWE
Dependencies:
on Julia 1.11.2
On Flux 0.14,
Flux.cpu
andFlux.gpu
would transform views by applying the transformation to the parent array.The text was updated successfully, but these errors were encountered: