-
Notifications
You must be signed in to change notification settings - Fork 27.6k
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
FX symbolic_trace: do not test decoder_inputs_embeds #31840
Conversation
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.
Thanks for fixing!
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. |
Isn't the error happening for
(here is |
@ydshieh yes, that's because transformers/tests/test_modeling_common.py Lines 1141 to 1151 in ae9dd02
transformers/tests/test_modeling_common.py Line 1228 in ae9dd02
|
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.
Thanks!
@fxmarty There's still errors with fx tests happening on main: https://app.circleci.com/pipelines/github/huggingface/transformers/97262/workflows/8822144c-e8ed-4722-a982-72ee876c3eda/jobs/1287254
Could you take a look? |
As per title, fixes #31574 (comment)
#31574 was meant to support
inputs_embeds
, notdecoder_inputs_embeds
. As some encoder-decoder models, we hit some errors (ValueError: You have to specify either decoder_input_ids or decoder_inputs_embeds
).