-
Notifications
You must be signed in to change notification settings - Fork 484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
transformers 4.46 #2078
transformers 4.46 #2078
Conversation
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
failing optimum cli test is because of setup conflicts, otherwise all green with huggingface/transformers#34374 |
18374d1
to
1ce1a0f
Compare
# OPT does not require position_ids input. | ||
DEFAULT_ONNX_OPSET = 13 | ||
NORMALIZED_CONFIG_CLASS = NormalizedTextConfig | ||
# OPT does not take position_ids as input for transfomers < v4.46, needs it for transformers >= v4.46 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needed since huggingface/transformers#33870
optimum, onnx and onnxruntime support for transformers 4.46