Skip to content
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

Skip equivalence test for TransfoXL #16224

Merged
merged 2 commits into from
Mar 17, 2022
Merged

Skip equivalence test for TransfoXL #16224

merged 2 commits into from
Mar 17, 2022

Conversation

LysandreJik
Copy link
Member

Skips the equivalence test for TransfoXL as it does not have the loss or losses returned.

@LysandreJik LysandreJik requested review from ydshieh and sgugger March 17, 2022 12:04
Copy link
Collaborator

@sgugger sgugger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@@ -476,7 +476,7 @@ def check_pt_tf_models(tf_model, pt_model):
"TFFunnelForPreTraining",
"TFElectraForPreTraining",
"TFXLMWithLMHeadModel",
]:
] + ["TFTransfoXLLMHeadModel"]:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't it make more sense to add it in the list?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copied it from above, but you're right! Will fix both.

Copy link
Member Author

@LysandreJik LysandreJik Mar 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in bb5874a

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I separate it to highlight the issue for TFTransfoXLLMHeadModel is somehow different than in other models. (losses). But I am OK for this change.

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Mar 17, 2022

The documentation is not available anymore as the PR was closed or merged.

Copy link
Collaborator

@ydshieh ydshieh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@LysandreJik LysandreJik merged commit 5a6b3cc into master Mar 17, 2022
@LysandreJik LysandreJik deleted the fix-equivalence-test branch March 17, 2022 13:03
FrancescoSaverioZuppichini pushed a commit that referenced this pull request Mar 21, 2022
* Skip test for TransfoXL

* Single list
FrancescoSaverioZuppichini pushed a commit that referenced this pull request Mar 24, 2022
* Skip test for TransfoXL

* Single list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants