Skip to content

Conversation

@ydshieh
Copy link
Collaborator

@ydshieh ydshieh commented Dec 8, 2022

What does this PR do?

MaskFormerSwinModel outputs hidden_states_spatial_dimensions, which is tuple(tuple(int, int)), and can't be collected by nn.DataParallel to form a final output value.

(When I remove this attribute, this test passes.)

@ydshieh ydshieh requested review from NielsRogge and sgugger December 8, 2022 18:34
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 for the fix!

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Dec 8, 2022

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

Copy link
Contributor

@NielsRogge NielsRogge left a comment

Choose a reason for hiding this comment

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

Thanks for fixing!

@ydshieh ydshieh merged commit 704027f into main Dec 9, 2022
@ydshieh ydshieh deleted the skip_test branch December 9, 2022 10:10
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.

5 participants