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
During my testing of Enzyme and getting to know the library I tried to make a simple function to autodiff. Running this code makes whole Julia executable to crash.
using CUDA
using Enzyme
arr_type = CuArray
f(x) = x'*x +1.0
x =arr_type([1.0, 2.0])
dx =arr_type([0.0, 0.0])
@info"Running function"
res =f(x)
display(res)
@info"Calculating gradients"
grad =autodiff(Reverse, f, Active, Duplicated(x, dx))
display(grad)
display(dx)
During my testing of Enzyme and getting to know the library I tried to make a simple function to autodiff. Running this code makes whole Julia executable to crash.
Error log (from terminal):
Relevant packages:
Version info:
The text was updated successfully, but these errors were encountered: