Skip to content

Commit

Permalink
Update the version number
Browse files Browse the repository at this point in the history
v4.22.0 is the earlist version that contains those changes in PR huggingface#18492
  • Loading branch information
liuxueyang committed Oct 25, 2023
1 parent 7d10e99 commit 20063a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/utils/hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def is_offline_mode():
and "TRANSFORMERS_CACHE" not in os.environ
):
logger.warning(
"In Transformers v4.0.0, the default path to cache downloaded models changed from"
"In Transformers v4.22.0, the default path to cache downloaded models changed from"
" '~/.cache/torch/transformers' to '~/.cache/huggingface/hub'. Since you don't seem to have"
" overridden and '~/.cache/torch/transformers' is a directory that exists, we're moving it to"
" '~/.cache/huggingface/hub' to avoid redownloading models you have already in the cache. You should"
Expand Down

0 comments on commit 20063a5

Please sign in to comment.