transformers
e1c2b69c - Load dynamic module (remote code) only once if code isn't change (#33162)

Commit
1 year ago
Load dynamic module (remote code) only once if code isn't change (#33162) * Load remote code only once * Use hash as load indicator * Add a new option `force_reload` for old behavior (i.e. always reload) * Add test for dynamic module is cached * Add more type annotations to improve code readability * Address comments from code review
Author
Parents
Loading