-
-
Notifications
You must be signed in to change notification settings - Fork 320
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
Error when trying to use huggingface models with older version of huggingface-hub
#801
Comments
@krassowski Thank you for documenting this! The To install & upgrade all optional dependencies, you should be able to run:
I agree that we should both 1) add version ranges to each provider's declared dependencies, and 2) somehow check in the backend both a) whether the package is installed, and b) whether the package meets the version range, if specified. 2.a) is tracked in #680. Most |
Description
#784 was released yesterday but it does not work out of the box on existing installations. When trying to get a reply I get:
I would wager that this is because a specific version of
huggingface_hub
is needed, but there is no pin on version as of now:huggingface_hub
jupyter-ai/packages/jupyter-ai-magics/pyproject.toml
Line 41 in 465d991
Reproduce
Upgrading
huggingface-hub
to 0.23.1 fixes the problem.Expected behavior
The text was updated successfully, but these errors were encountered: