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
In the branch gpu_in_hpc I've code to move elements to GPU.
I got this error in the AD of Zygote trough the loss function of a-posteriori. It seems to be a foreign call but not sure where exactly, take a look at the stacktrace is not very clear where Zygote fails. Also, this doesn't happen with CPU.
ERROR: LoadError: Can't differentiate foreigncall expression $(Expr(:foreigncall, :(:jl_eqtable_get), Any, svec(Any, Any, Any), 0, :(:ccall), %5, %3, %4)).
You might want to check the Zygote limitations documentation.
https://fluxml.ai/Zygote.jl/latest/limitations
I'll be complementing this info with new findings.
Other notes:
I've modified the INS.Setup to have backend that can be either: CUDA.CUDABackend() or INS.CPU() 9exposed from KernelAbstractions. In version v2.0.1 of INS the backed is defined in INS.Setup so that other functions that we use in the rhs like: project or apply_pressure can use the GPU otherwise the operations cannot take place between variables not being in the same device.
The text was updated successfully, but these errors were encountered:
In the branch
gpu_in_hpc
I've code to move elements to GPU.I got this error in the AD of Zygote trough the loss function of a-posteriori. It seems to be a foreign call but not sure where exactly, take a look at the stacktrace is not very clear where Zygote fails. Also, this doesn't happen with CPU.
Stacktrace (Click to expand)
I'll be complementing this info with new findings.
Other notes:
I've modified the
INS.Setup
to havebackend
that can be either:CUDA.CUDABackend()
orINS.CPU()
9exposed fromKernelAbstractions
. In version v2.0.1 of INS the backed is defined inINS.Setup
so that other functions that we use in the rhs like:project
orapply_pressure
can use the GPU otherwise the operations cannot take place between variables not being in the same device.The text was updated successfully, but these errors were encountered: