You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using distributed or parallel set-up in script?: no
Who can help?
No response
Information
The official example scripts
My own modified scripts
Tasks
An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
My own task or dataset (give details below)
Reproduction
from transformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("/path/to/model", trust_remote_code=True, local_files_only=True)
Expected behavior
cache is generated with all relevant model files saved successfully, then loaded from cache for loading the model.
The text was updated successfully, but these errors were encountered:
System Info
transformers
version: 4.48.0Who can help?
No response
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
Expected behavior
cache is generated with all relevant model files saved successfully, then loaded from cache for loading the model.
The text was updated successfully, but these errors were encountered: