Skip to content

Conversation

@DulsaraDhanuka
Copy link
Contributor

@DulsaraDhanuka DulsaraDhanuka commented Feb 2, 2024

Instead of using a devnull to redirect stdout and stderr, used a dummy class with a 'write()' method that does nothing.

Closes #729

Instead of using a devnull just made a dummy class with a 'write()' method that does nothing.
@abetlen
Copy link
Owner

abetlen commented Feb 2, 2024

@DulsaraDhanuka thank you for the fix!

@abetlen abetlen merged commit bebfba0 into abetlen:main Feb 2, 2024
abetlen added a commit that referenced this pull request Feb 2, 2024
abetlen added a commit that referenced this pull request Feb 2, 2024
@abetlen
Copy link
Owner

abetlen commented Feb 2, 2024

Too good to be true unfortunately, the PR disabled the ability to suppress logs altogether.

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.

Initializing Llama() with verbose=False causes UnsupportedOperation: fileno on Colab

2 participants