Skip to content
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

Hiding sklearnex verbose logging on Kaggle #4141

Closed
Innixma opened this issue Apr 25, 2024 · 0 comments · Fixed by #4216
Closed

Hiding sklearnex verbose logging on Kaggle #4141

Innixma opened this issue Apr 25, 2024 · 0 comments · Fixed by #4216
Labels
dependency Related to dependency packages enhancement New feature or request env: kaggle Questions related to Kaggle module: tabular
Milestone

Comments

@Innixma
Copy link
Contributor

Innixma commented Apr 25, 2024

We should look into hiding the sklearnex verbose logs on Kaggle. For some reason on Kaggle these logs are enabled by default (but they aren't enabled in other environments outside of Kaggle).

Example: https://www.kaggle.com/code/prishasawhney/obesity-autogluon-log-loss#Step-3:-Initiate-Autogluon

Solution from maintainers are to either avoid editing the root logger verbosity, or otherwise do the following(@napetrov):

import logging
logging.getLogger('sklearnex').setLevel("WARNING")

Related: intel/scikit-learn-intelex#1695

Example of Logs on Kaggle: https://www.kaggle.com/competitions/playground-series-s4e5/discussion/499495#2789785

@Innixma Innixma added enhancement New feature or request module: tabular dependency Related to dependency packages labels Apr 25, 2024
@Innixma Innixma added this to the 1.2 Release milestone Apr 25, 2024
@Innixma Innixma added the env: kaggle Questions related to Kaggle label May 2, 2024
@Innixma Innixma changed the title Hiding sklearnex verbose logging Hiding sklearnex verbose logging on Kaggle May 2, 2024
@Innixma Innixma modified the milestones: 1.2 Release, 1.1.1 Release May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency Related to dependency packages enhancement New feature or request env: kaggle Questions related to Kaggle module: tabular
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant