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

Error while fetching HF_TOKEN #2519

Open
K-HARSHAVARDHINI opened this issue Sep 6, 2024 · 1 comment
Open

Error while fetching HF_TOKEN #2519

K-HARSHAVARDHINI opened this issue Sep 6, 2024 · 1 comment

Comments

@K-HARSHAVARDHINI
Copy link

/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_token.py:99: UserWarning:
Error while fetching HF_TOKEN secret value from your vault: 'Requesting secret HF_TOKEN timed out. Secrets can only be fetched when running from the Colab UI.'.
You are not authenticated with the Hugging Face Hub in this notebook.
If the error persists, please let us know by opening an issue on GitHub (https://github.com/huggingface/huggingface_hub/issues/new).
warnings.warn(
WARNING:timm.models._builder:Unexpected keys (bn2.bias, bn2.num_batches_tracked, bn2.running_mean, bn2.running_var, bn2.weight, classifier.bias, classifier.weight, conv_head.weight) found while loading pretrained weights. This may be expected if model is being adapted.

@Wauplin
Copy link
Contributor

Wauplin commented Sep 9, 2024

@K-HARSHAVARDHINI, can you share more details about your issue? What's your setup and what do you want to see fixed here? For what I can see, it seems to be a Colab related error when reading from secrets timed out. If you encountered a proper error, please let us know.

UserWarning:
Error while fetching HF_TOKEN secret value from your vault: 'Requesting secret HF_TOKEN timed out. Secrets can only be fetched when running from the Colab UI.'.
You are not authenticated with the Hugging Face Hub in this notebook.

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

No branches or pull requests

2 participants