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

Remove huggingface_hub install that is no longer needed in the kubernetes example #1286

Merged
merged 2 commits into from
Aug 23, 2024

Conversation

dmsuehir
Copy link
Contributor

What does this PR do?

huggingface_hub was being specified in the requirements.txt because optimum habana v1.12.0 was using huggingface_hub < 0.23.0, and the Kubernetes workflow required huggingface_hub 0.23.0+ in order to use HF_TOKEN_PATH, as explained here. Since 1.13.0 is using huggingface_hub >= 0.23.2, we can remove huggingface_hub from the requirements.txt.

I tested this change by rebuilding the container, and running the kubernetes example using a gated model to verify that the HF_TOKEN_PATH is working.

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you make sure to update the documentation with your changes?
  • Did you write any new necessary tests?

@dmsuehir dmsuehir requested a review from regisss as a code owner August 22, 2024 23:38
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@regisss regisss merged commit 7526e3c into huggingface:main Aug 23, 2024
5 checks passed
regisss pushed a commit that referenced this pull request Aug 23, 2024
KimBioInfoStudio pushed a commit to KimBioInfoStudio/optimum-habana that referenced this pull request Aug 26, 2024
atakaha pushed a commit to atakaha/optimum-habana that referenced this pull request Sep 3, 2024
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.

3 participants