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

Update to HF_HOME from TRANSFORMERS_CACHE #4816

Merged
merged 21 commits into from
May 22, 2024
Merged

Conversation

loadams
Copy link
Collaborator

@loadams loadams commented Dec 14, 2023

Addresses the following warning:

/tmp/actions-runner/_work/DeepSpeed/DeepSpeed/unit-test-venv/lib/python3.8/site-packages/transformers/utils/hub.py:123: FutureWarning: Using `TRANSFORMERS_CACHE` is deprecated and will be removed in v5 of Transformers. Use `HF_HOME` instead.

and the code on the transformers side is here.

@loadams loadams changed the title Test moving to HF_HOME from TRANSFORMERS_CACHE Update to HF_HOME from TRANSFORMERS_CACHE Apr 8, 2024
@loadams loadams added this pull request to the merge queue May 22, 2024
Merged via the queue into master with commit 263bfe2 May 22, 2024
13 checks passed
@loadams loadams deleted the loadams/switch-hf-home branch May 22, 2024 17:14
sfc-gh-reyazda pushed a commit to Snowflake-Labs/DeepSpeed that referenced this pull request Jun 10, 2024
Addresses the following warning:

```
/tmp/actions-runner/_work/DeepSpeed/DeepSpeed/unit-test-venv/lib/python3.8/site-packages/transformers/utils/hub.py:123: FutureWarning: Using `TRANSFORMERS_CACHE` is deprecated and will be removed in v5 of Transformers. Use `HF_HOME` instead.
```

and the code on the transformers side is
[here](https://github.com/huggingface/transformers/blob/1a585c1222a56bcaecc070966d558d4a9d862e83/src/transformers/utils/hub.py#L86C1-L96C81).
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