Any AutoConfig.from_pretrained
call results in FutureWarning:
resume_download is deprecated and will be removed in version 1.0.0.
#2275
Labels
bug
Something isn't working
Describe the bug
Any
AutoConfig.from_pretrained
call results inFutureWarning:
resume_downloadis deprecated and will be removed in version 1.0.0.
This is caused by a call internally inAutoConfig
which usesresume_download=False
as a default option:https://github.com/huggingface/transformers/blob/508c0bfe555936fc772cd000e2e8da739f777a4f/src/transformers/configuration_utils.py#L650
Feel free to transfer this issue to transformers if you believe the fix should be applied there instead. Either way, we shouldn't get deprecation warnings when using packages normally.
Reproduction
Logs
System info
The text was updated successfully, but these errors were encountered: