-
Notifications
You must be signed in to change notification settings - Fork 7k
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
torchvision is restricted to ffmpeg-4 on conda #8697
Comments
Hi @bschindler , sorry for the inconvenience. We aim to consolidate pytorch video decoding capabilities within https://github.com/pytorch/torchcodec, and we'll soon be deprecating video decoding in torchvision. So unfortunately, this isn't something we'll fix within torchvision. |
Thank you for your answer. We are actually not in need of the ffmpeg functionality but rather on the other more core functionality of torchvision. Deprecation sounds like its gonna stay for a while until its removed which essentially tells me that I am blocked from updating until this functionality is gone? Do you have a rough timeframe in mind on how much time I am looking at? |
😞 Sorry. |
With conda, apart from having safety that binaries are compatible with each other, we also have the option to use a cpu only build and a cuda-enabled build (with cuda 11.8 which is what we are currently using). How is this handled on the pip side? I am only seeing a "bare" torchvision build without differentiation. |
There are cpu-specific and cuda-specific wheels for torchvision too https://download.pytorch.org/whl/torchvision/ I hope that as long as you install torchvision along with torch in the same command and with the right |
🐛 Describe the bug
torchvision is retricted to ffmpeg-4 on conda currently. This makes it impossible for me to upgrade my environment to newer versions of torch. The reason is that I need additional libraries which depend on newer versions of ffmpeg. ffmpeg-5 was released in 2022 so it's no surprise that some packages depend on it (or newer).
I saw in the commit log that the reason is a build failure, so I have mild hopes that this is something that could be worked around?
Versions
Given the output of the script and the nature of the issue, this is likely meaningless.
I am currently using
[conda] torchvision 0.16.2 py310_cpu pytorch
I can go a bit higher, but not to where I need to (which is 0.19/0.20)
The text was updated successfully, but these errors were encountered: