mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
Fix hub_retry
(#36449)
* cry * trigger --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
parent
6a876462c3
commit
482d17be60
@ -223,7 +223,7 @@ class ModelTesterMixin:
|
||||
if attr_name.startswith("test_"):
|
||||
attr = getattr(cls, attr_name)
|
||||
if callable(attr):
|
||||
setattr(cls, attr_name, hub_retry(attr))
|
||||
setattr(cls, attr_name, hub_retry()(attr))
|
||||
|
||||
@property
|
||||
def all_generative_model_classes(self):
|
||||
|
Loading…
Reference in New Issue
Block a user