torchvision_extra_decoders fails

Open
#8,893 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python, pytorch

Research direction

Start with packaging/post_build_script.sh and packaging/wheel/relocate.py, then reproduce the torchvision-extra-decoders installation using the shown LD_LIBRARY_PATH. Compare the installed torch and torchvision versions and capture the missing failure details. Done means determining whether library paths or a version mismatch causes the failure and documenting a verified resolution.

Written by the indexing model from the issue text.

Description

Could this be an issue with how the paths are set in https://github.com/pytorch/vision/blob/main/packaging/post_build_script.sh

#!/bin/bash
LD_LIBRARY_PATH="/usr/local/lib:$CUDA_HOME/lib64:$LD_LIBRARY_PATH" python packaging/wheel/relocate.py

pip install torchvision-extra-decoders

Or we could be dealing with a version mismatch between torch and torchvision

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

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.

More from pytorch/vision

All issues in pytorch/vision

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.