Pytorch extension causes crash (Slicer 5.12.2 on Ubuntu 22.04)

It would be good to have this in the extension repo issues: https://github.com/fepegar/SlicerPyTorch

We have troubles from time to time with PyTorch, but I don’t think anyone has a magic formula to keep up with all the changes.

Can you try the pytorch local install instructions with Slicer’s python? (PythonSlicer -m pip)