Alberto F. Martin
Alberto F. Martin
AutoDiff of interpolate_everywhere fails. Mismatch among FE space vector type and dual number types.
cc @wei3li @santiagobadia
AutoDiff of interpolate_everywhere fails. Mismatch among FE space vector type and dual number types.
Ok. So we should find a way to automatically trigger the workaround whenever autodiff tries to differentiate interpolate_everywhere. Correct?
AutoDiff of interpolate_everywhere fails. Mismatch among FE space vector type and dual number types.
> Or perhaps use the workaround directly. Since I guess it is not easy to write a rule for interpolate_everywhere. The variables you differentiate wrt are not passed explicitly to...
AutoDiff of interpolate_everywhere fails. Mismatch among FE space vector type and dual number types.
Sorry ... ParameterizedFunction, **NOT** ParameterizedFEFunction, solved in the previous post.
The work underlying this issue should build from the following comment: https://github.com/gridap/Gridap.jl/pull/267#issuecomment-635738975
@oriolcg @ConnorMallon I will take a look at it whenever I have some time. Thanks for reporting
@oriolcg do you have a mwe?
> I'll prepare one reproducer and post it here Hi @oriolcg ... could you please help us and prepare one reproducer of this issue? I want to work with both...
> Hi @amartinhuertas , yes I forgot about this issue. Here I attach a reproducer: Thanks!
Hi @fverdugo, thanks for sharing this micro-benchmark. Same (qualitative) outcome in my machine. In particular: * With `@inline` and without it: ``` 126.372 ms (0 allocations: 0 bytes) 120.451 ms...