Cura 10.2 for Ubuntu 24 and torch 1.6.0

I am trying to run a script but it needs a old version for pytorch (1.6.0).

Cuda 10.2 seems to be the maximal compatible version. But i cannot get it working with Ubuntu 24, since 18 is the layers supported version. I cannot downgrade Ubuntu because it is not compatible with hardware.

Anyone else cannot install cuda 10.2 on newer machines?

Your locally installed CUDA toolkit won’t be used as PyTorch ships with its own CUDA runtime dependencies. You would need to install an NVIDIA driver and the PyTorch binaries afterwards.