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

Fix slow backbone tests - out_indices must match stage name ordering #28186

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

amyeroberts
Copy link
Collaborator

@amyeroberts amyeroberts commented Dec 21, 2023

What does this PR do?

Fixes slow autobackbone tests failing on nightly after #27606

#27606 enforces the out_indices and out_features to be in the same order as the stage names. This ensures backbone selects the correct features in its forward pass.

@amyeroberts amyeroberts requested a review from ydshieh December 21, 2023 17:23
@HuggingFaceDocBuilderDev

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.

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.

Thank you for the quick fix!

@amyeroberts amyeroberts merged commit cd1350c into huggingface:main Dec 21, 2023
18 checks passed
@amyeroberts amyeroberts deleted the fix-autobackbone-test branch December 21, 2023 18:18
staghado pushed a commit to staghado/transformers that referenced this pull request Jan 15, 2024
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.

3 participants