transformers
Replacement of 20 asserts with exceptions
#24757
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
9
Changes
View On
GitHub
Replacement of 20 asserts with exceptions
#24757
sgugger
merged 9 commits into
huggingface:main
from feature/replace-assert-with-exception
initial replacements of asserts with errors/exceptions
e4ad883d
Merge branch 'huggingface:main' into main
a3fb9260
replace assert with exception in generation, align and bart
5badf9ba
reset formatting change
32c41662
reset another formatting issue
f22d4e25
sgugger
commented on 2023-07-11
Apply suggestion
83fdfc7a
don't touch this file
01afedc0
change to 'is not False'
940d0d4a
sgugger
commented on 2023-07-11
fix type
5a76a5ec
Baukebrenninkmeijer
marked this pull request as ready for review
3 years ago
sgugger
approved these changes on 2023-07-12
sgugger
merged
fc9e387d
into main
3 years ago
Login to write a write a comment.
Login via GitHub
Reviewers
sgugger
Assignees
No one assigned
Labels
None yet
Milestone
No milestone
Login to write a write a comment.
Login via GitHub