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
Here's a MWE where I do a reduction with a Polyester.jl. I find that both the forward pass and reverse mode fails.
using Polyester
using Enzyme
function test(arr)
ans = 0.0
Polyester.@batch for i in arr
ans += i
end
return ans
end
arr = rand(10)
Enzyme.autodiff(Enzyme.Forward, test, Enzyme.Duplicated, Enzyme.Duplicated(arr,zeros(10)))
Just as an FYI, Polyester support is not an active goal for Enzyme since Polyester deeply mucks with Julia internals.
Someone would likely need to write custom rules for Polyester.
Here's a MWE where I do a reduction with a
Polyester.jl
. I find that both the forward pass and reverse mode fails.and on reverse mode:
Enzyme.autodiff(Enzyme.Reverse, test, Enzyme.Active, Enzyme.Duplicated(arr,zeros(10)))
The text was updated successfully, but these errors were encountered: