Hi all, I also ran into this issue. I opened an issue on Flux and they solved it, see here for my discourse question and here for the answered flux issue.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Flux differentiation error | 19 | 1669 | November 19, 2020 | |
Flux + Automatic Differentiation | 3 | 532 | January 19, 2023 | |
Flux loss: Gradient wrt input leads to empty gradient wrt parameters or to "can't differentiate foreigncall" | 3 | 530 | April 8, 2022 | |
Gradient error in Flux model inputs | 5 | 1302 | January 13, 2021 | |
"Can't differentiate foreigncall expression" error while using Flux.train! | 1 | 632 | February 13, 2022 |