pytorch / pytorch/vision

torchvision is restricted to ffmpeg-4 on conda

Open
#8,697 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
17.9k
Forks
7.3k
Avg merge
1d 15h
Merged PRs (30d)
13

Description

🐛 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)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing torchvision’s conda packaging configuration and the commit history referenced in the report, then reproduce the dependency resolution with the reported torchvision and torch versions. Done means newer ffmpeg-compatible conda environments can install torchvision and upgrade torch without the reported build failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.