Build 3D Slicer for MacOS arm64?

PyTorch has support for using the shaders in the M series chips, but to use it, one has to use the arm64 version of Python. Should a native (in this case, M3) build of Slicer3D be possible? If yes, where should I get the 5.15.2 Qt package (for MacOS arm64)?

Thank you!

Gene

Support for a macOS arm64 version of Slicer is something planned though not for the immediate short term. If you have technical build experience you can try following the collection of work arounds to get something working posted in the following issue:

Some uses of PyTorch in things like TotalSegmentator are still not optimized for the MPS usage in PyTorch as seen at:

Therefore I can’t say for sure how much benefit you may get at this time.

Hi James. I am still wondering about a Universal MacOS build or specifically an ARM64 MacOS build.

Do you mean something like this guide below?

Does a native ARM64 version exist? I didn’t see a status update for the plan you pointed me to. Thanks!

See point 6 of section ProgressAndNextSteps or the link below:

Hope it helps

@GeneRisi There are some various scripts around that people have tried to build Slicer from source to build a ARM64 variant, but nothing official yet such as Slicer preview build of such a version.

The below issue is still in progress and various Slicer developers have been actively working on a long chain of dependency updates including Qt5 → Qt6 that is part of bringing in ARM64 support across all the various libraries that Slicer uses. It is currently being worked on and I expect it to continue for a month or two.