-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Train] Remove deprecated mosaic and sklearn trainer code #47901
[Train] Remove deprecated mosaic and sklearn trainer code #47901
Conversation
Signed-off-by: Superskyyy <yihaochen@apache.org>
Signed-off-by: Superskyyy <yihaochen@apache.org>
Signed-off-by: Superskyyy <yihaochen@apache.org>
I'm not sure about the mosaic util - RayLogger, is it still potentially required by TorchTrainer in any case? |
Signed-off-by: Superskyyy <yihaochen@apache.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for doing this!
python/ray/train/mosaic/__init__.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can go ahead and remove this entirely, the RayLogger
was only used as part of the MosaicTrainer
before.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also do a quick scan to remove anything that might reference these? e.g. I saw there is a python/ray/train/examples/mosaic_cifar10_example.py
that references the MosaicTrainer
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I will do that
@Superskyyy is this ready for re-review? |
…t#47901) **Both trainers are now hard-deprecated.** This PR removes the code paths that confuses Ray train users on Mosaic and Sklearn. This should have been done a while ago. Signed-off-by: Superskyyy <yihaochen@apache.org> Signed-off-by: ujjawal-khare <ujjawal.khare@dream11.com>
#42257
#42814
Why are these changes needed?
Both trainers are now hard-deprecated. This PR removes the code paths that confuses Ray train users on Mosaic and Sklearn. This should have been done a while ago.
Related issue number
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/
under thecorresponding
.rst
file.