Skip to content

Conversation

@Harshvardhan-To1
Copy link

Replace all print() statements with logging calls and add a NullHandler to the top-level logger to allow downstream users to manage and filter library logs.

This change prevents bitsandbytes from writing directly to stdout/stderr from library code paths, making its logging opt-in. The CLI entrypoint (python -m bitsandbytes) now configures logging only for its run, respecting the BNB_LOG_LEVEL environment variable.

With respect to #919

cursoragent and others added 2 commits December 31, 2025 16:09
Co-authored-by: harshvardhan.yashvardhan <harshvardhan.yashvardhan@gmail.com>
…-bitsandbytes-0cc5

Logging conversion bitsandbytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants