Pytorch installation issue on Fedors 43

When I try to install pytorch, i get the following:

problem with installed package

  • installed package rocm-7.1.1.70101-38.el10.x86_64 requires rocm-hip = 7.1.1.70101-38.el10, but none of the providers can be installed
  • package rocm-7.1.1.70101-38.el10.x86_64 from rocm requires rocm-hip = 7.1.1.70101-38.el10, but none of the providers can be installed
  • cannot install both rocm-hip-6.4.2-2.fc43.x86_64 from fedora and rocm-hip-7.1.1.70101-38.el10.x86_64 from @System
  • cannot install both rocm-hip-7.1.1.70101-38.el10.x86_64 from rocm and rocm-hip-6.4.2-2.fc43.x86_64 from fedora
  • package rocm-6.4.3-1.fc43.noarch from fedora requires rocm-opencl >= 6.4, but none of the providers can be installed
  • package rocm-6.4.4-1.fc43.noarch from updates requires rocm-opencl >= 6.4, but none of the providers can be installed

problem with installed package

  • installed package rocm-opencl-sdk-7.1.1.70101-38.el10.x86_64 requires rocm-opencl = 2.0.0.70101-38.el10, but none of the providers can be installed
  • package rocm-opencl-sdk-7.1.1.70101-38.el10.x86_64 from rocm requires rocm-opencl = 2.0.0.70101-38.el10, but none of the providers can be installed
  • cannot install both rocm-opencl-6.4.2-2.fc43.x86_64 from fedora and rocm-opencl-2.0.0.70101-38.el10.x86_64 from @System
  • cannot install both rocm-opencl-2.0.0.70101-38.el10.x86_64 from rocm and rocm-opencl-6.4.2-2.fc43.x86_64 from fedora

When I check the installed version of open-cl, it appears to be OK.

@fedora:~$ sudo dnf list --installed | grep opencl
opencl-headers.noarch 3.0-33.20241023git4ea6df1.fc43 fedora
rocm-opencl.x86_64 2.0.0.70101-38.el10 rocm
rocm-opencl-devel.x86_64 2.0.0.70101-38.el10 rocm
rocm-opencl-sdk.x86_64 7.1.1.70101-38.el10 rocm
@fedora:~$ dnf list --installed | grep rocm-hip
rocm-hip.x86_64 7.1.1.70101-38.el10 rocm
@fedora:~$

If there are any troubles recreating this issue, I had run
sudo dnf install rocm-devel
to install rocm

sudo dnf install pytorch --refresh --allowerasing
1 Like

Thank you, pytorch now installs.

1 Like