chz31
(Chi Zhang)
June 14, 2025, 2:25am
1
My Pytorch Util module showed TorchVision corrupted
I am using Ubuntu 22.04. I have reinstalled pytorch in Pytorch Util multiple times. The Dental Segmentator & Total Segmentator both used the GPU well.
nvidia-smi printed out the gpu information well. Install torch in a conda environment can also access GPU.
Should I just ignore it? Thanks!
muratmaga
(Murat Maga)
June 14, 2025, 2:45am
2
This happens to be on Linux as well, and I wasn’t able to find a solution.
If you don’t need the torchvision, you can ignore it. If you need the torchvision (e.g., Photogrammetry extension), you will have to use a different cuda version. 11.8 works for me.
1 Like
pieper
(Steve Pieper (Isomics, Inc.))
June 14, 2025, 2:17pm
3
There’s a discussion here: Can't install on Slicer 5.9.0 2025-05-18 on ubuntu 24.04 · Issue #34 · dalcalab/SlicerMultiverSeg · GitHub
Ultimately, installing torchvision manually with pip as suggested on the pytorch page worked.
It would be great if someone could figure out how to fix PyTorchUtils.
opened 08:52PM - 06 Jun 25 UTC
Details are in this issue: https://github.com/dalcalab/SlicerMultiverSeg/issues/… 34
1 Like
chz31
(Chi Zhang)
June 15, 2025, 3:27am
4
Thanks! /PythonSlicer -m pip install torch==2.6.0 torchvision==0.21.0 torchaudio==2.6.0 --index-url https://download.pytorch.org/whl/cu124
worked for me.
1 Like