Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix] when run load pretain with local_files_only, local variable 'ca…
…ched_folder' referenced before assignment (huggingface#9376) Fix local variable 'cached_folder' referenced before assignment in hub_utils.py Fix when use `local_files_only=True` with `subfolder`, local variable 'cached_folder' referenced before assignment issue. Co-authored-by: YiYi Xu <[email protected]>
- Loading branch information