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

Resolve Errors Preventing CLI from Running Correctly #88

Merged
merged 2 commits into from
Sep 8, 2024

Conversation

gfesatidis
Copy link
Contributor

No description provided.

Replaced `pass` with `import_module("bitsandbytes")` to actively check for the presence of the 'bitsandbytes' library.
This change ensures that if 'bitsandbytes' is not installed, the correct error is raised and handled by the exception block,
preventing an internal error from the transformers library.
@Saibo-creator Saibo-creator merged commit c77ae36 into epfl-dlab:main Sep 8, 2024
@Saibo-creator
Copy link
Collaborator

@gfesatidis Thank you ! ;)

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