Skip to content

Conversation

@ydshieh
Copy link
Collaborator

@ydshieh ydshieh commented Mar 8, 2022

What does this PR do?

Fix pytorch device issue for test_pt_tf_equivalence in TFEncoderDecoderMixin.

@patrickvonplaten @sgugger

Remark:

There are other issues to fix for TFEncoderDecoder test pass:

  1. use small models for test_real_model_save_load_from_pretrained
  2. test_bert2bert_summarization test fails after TF generate refactor - Greedy Search #15562

Think these should be addressed in separate PRs (especially for 2.)

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@ydshieh ydshieh changed the title Fix tf enc dec ci failure Fix TFEncDecModelTest - Pytorch device Mar 8, 2022
Copy link
Contributor

@patrickvonplaten patrickvonplaten left a comment

Choose a reason for hiding this comment

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

Looks good to me! Don't really know why the doc builder is failing

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.

Thanks a lot for fixing! doc-builder failure is unrelated.

@ydshieh ydshieh merged commit 7298330 into huggingface:master Mar 8, 2022
@ydshieh ydshieh deleted the fix_tf_enc_dec_ci_failure branch March 8, 2022 12:38
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