Flux differentiation error

Yes, GalacticOptim.jl actually hard codes the workaround: