Skip to content

Conversation

@zucchini-nlp
Copy link
Member

@zucchini-nlp zucchini-nlp commented Oct 15, 2025

What does this PR do?

FIxes failing VJEPA test. The test was failing because the video was not permuted to the correct format that torchvision expects (T, C, H, W)

@zucchini-nlp
Copy link
Member Author

run-slow: vjepa

@zucchini-nlp zucchini-nlp requested a review from ydshieh October 15, 2025 09:09
@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.

Works, thank you. Do you know what it worked before you PR? (or your PR change something regarding this channel stuff?)

@zucchini-nlp
Copy link
Member Author

Do you know what it worked before you PR? (or your PR change something regarding this channel stuff?)

My PR stopped casting all inputs to a numpy format, so when a video is already a torch.Tensor it started failing. It's an assumption that channel format should not be adjuested if input is in torch

Copy link
Contributor

@vasqu vasqu left a comment

Choose a reason for hiding this comment

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

Just some thoughts since I'm also exploring the vid processor myself in ernie vl :D

@zucchini-nlp
Copy link
Member Author

run-slow: vjepa

Copy link
Contributor

@vasqu vasqu left a comment

Choose a reason for hiding this comment

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

Thx, makes sense

@zucchini-nlp zucchini-nlp merged commit 7bba4d1 into huggingface:main Oct 15, 2025
22 checks passed
@zucchini-nlp
Copy link
Member Author

slow CI is not running anymore 🥲 Locally it's green, so I believe it's really fixed

@vasqu
Copy link
Contributor

vasqu commented Oct 15, 2025

Did my comment break up things? 👀

@zucchini-nlp
Copy link
Member Author

Lol, no, looks like slow CI isn't being triggered since yesterday night. I've had similar issues in other PRs

ngazagna-qc pushed a commit to ngazagna-qc/transformers that referenced this pull request Oct 23, 2025
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