Closed tomaarsen closed 4 months ago
@tomaarsen,
https://github.com/huggingface/transformers/pull/30620 fixes the issue for me but a new release hasn’t been rolled out yet! (you can try to install transformers
from source to check if it fixes your issue but be careful as the main branch is not always stable, just use it to check if the change solves the issue and we have to wait for a new realease)
Excellent! Then I think this is all set. Thanks!
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