FluxML / FluxTraining.jl

A flexible neural net training library inspired by fast.ai
https://fluxml.ai/FluxTraining.jl
MIT License
117 stars 25 forks source link

`ignore(f)` is deprecated #128

Closed foldfelis closed 2 years ago

foldfelis commented 2 years ago

https://github.com/FluxML/FluxTraining.jl/blob/88abdc628df7cefaffb506dee069062da7f3e39c/src/callbacks/callback.jl#L251

┌ Warning: `ignore(f)` is deprecated, use `ChainRulesCore.ignore_derivatives(f)` instead.
│   caller = _on(e::FluxTraining.Events.BackwardEnd, p::TrainingPhase, cb::ProgressPrinter, learner::Learner) at callback.jl:251
└ @ FluxTraining ~/.julia/packages/FluxTraining/iBFSd/src/callbacks/callback.jl:251
foldfelis commented 2 years ago

Wow~~