Skip to content

Conversation

@ydshieh
Copy link
Collaborator

@ydshieh ydshieh commented Dec 5, 2022

What does this PR do?

The 2 tests are for pytorch, but in TF pipeline test CI job (where torch is not available), it runs with TF models.
This is not expected.

Before #20149, these 2 tests are decorated with require_torch_scatter. After that PR, the tests try to run with TF, but failed with TFTapasMainLayer requires the tensorflow_probability library but it was not found in your environment.
(this is another thing to fix in docker file)

@ydshieh ydshieh changed the title Add require_torch to 2 pipeline tests Add require_torch to 2 pipeline tests Dec 5, 2022
@ydshieh ydshieh requested a review from sgugger December 5, 2022 11:18
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Dec 5, 2022

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

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.

Sorry I broke those, thanks for fixing!

@ydshieh ydshieh merged commit cc8aec6 into main Dec 5, 2022
@ydshieh ydshieh deleted the fix_pipe_test branch December 5, 2022 15:06
mpierrau pushed a commit to mpierrau/transformers that referenced this pull request Dec 15, 2022
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