huggingface / huggingface_hub

The official Python client for the Huggingface Hub.
https://huggingface.co/docs/huggingface_hub
Apache License 2.0
2.03k stars 531 forks source link

Error while fetching `HF_TOKEN` #2519

Open K-HARSHAVARDHINI opened 1 month ago

K-HARSHAVARDHINI commented 1 month ago

/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 commented 4 weeks ago

@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.