onnxruntime icon indicating copy to clipboard operation
onnxruntime copied to clipboard

Deprecate ORTTrainer

Open baijumeswani opened this issue 2 years ago • 1 comments

This PR raises a warning to the user informing them that the ORTTrainer class is deprecated and that it will be removed in ort release 1.14.

Users should switch to using ORTModule.

baijumeswani avatar Sep 20 '22 04:09 baijumeswani

This PR raises a warning to the user informing them that the ORTTrainer class is deprecated and that it will be removed in ort release 1.14.

Users should switch to using ORTModule.

Probably there are docs in the source-code (check docs folder) that mention ORTTrainer. Maybe we could add a deprecation note there too for new users tht are learning from docs

thiagocrepaldi avatar Sep 20 '22 21:09 thiagocrepaldi

This pull request fixes 1 alert when merging 7caed323216506e3ebcd63bfb266da597a09a5aa into 8bb16ab90012942316b15dfe1923365b0baeb4fc - view on LGTM.com

fixed alerts:

  • 1 for Unused import

lgtm-com[bot] avatar Sep 23 '22 19:09 lgtm-com[bot]