vision icon indicating copy to clipboard operation
vision copied to clipboard

torchvision_extra_decoders fails

Open henrykironde opened this issue 11 months ago • 3 comments

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

henrykironde avatar Feb 01 '25 09:02 henrykironde

Hi @henrykironde , can you please provide a reproducing example and the error logs?

Also please show the output of:

wget https://raw.githubusercontent.com/pytorch/pytorch/main/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py

NicolasHug avatar Feb 03 '25 10:02 NicolasHug

Actually this is in reference to the main branch failing currently. #8890

henrykironde avatar Feb 03 '25 11:02 henrykironde

Ah OK. Yeah, this is related to the pytorch extensions within torchvision-extra-decoders. We'll need to setup a nightly release for it. I'll get to it eventually.

NicolasHug avatar Feb 03 '25 11:02 NicolasHug