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 test_auto_backbone_timm_model_from_pretrained #34877

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

ydshieh
Copy link
Collaborator

@ydshieh ydshieh commented Nov 22, 2024

What does this PR do?

This test assert model.out_indices, (-2, -1) and it was written on 2023/12.

However, we have

out_indices = list(out_indices) if out_indices is not None else None

in src/transformers/utils/backbone_utils.py which is written on 2024/05

It's just time to update the test so we don't see it fails forever.

@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.

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.

2 participants