transformers
Throw an error if `getattribute_from_module` can't find anything
#19535
Merged

Throw an error if `getattribute_from_module` can't find anything #19535

ydshieh
ydshieh return None to avoid recursive call
d004e065
ydshieh Give error
53e9a281
ydshieh ydshieh marked this pull request as draft 3 years ago
ydshieh Give error
fac25c5c
sgugger
sgugger commented on 2022-10-12
HuggingFaceDocBuilderDev
ydshieh Add test
7c9d4a71
ydshieh ydshieh marked this pull request as ready for review 3 years ago
ydshieh
ydshieh commented on 2022-10-12
ydshieh ydshieh changed the title Return `None` to avoid recursive call in `getattribute_from_module` Throw an error if getattribute_from_module can't find anything 3 years ago
ydshieh ydshieh changed the title Throw an error if getattribute_from_module can't find anything Throw an error if `getattribute_from_module` can't find anything 3 years ago
ydshieh More tests
0be5373a
ydshieh Quality
894c4b2f
sgugger
sgugger approved these changes on 2022-10-12
ydshieh ydshieh merged 09683883 into main 3 years ago
ydshieh ydshieh deleted the no_freak_out_recursive branch 3 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone