# Version 5.10.0, error in total segmentator

**URL:** <https://discourse.slicer.org/t/version-5-10-0-error-in-total-segmentator/45200>\
**Category:** Support\
**Created:** [November 23, 2025, 10:33pm UTC](https://discourse.slicer.org/t/version-5-10-0-error-in-total-segmentator/45200 "2025-11-23T22:33:29Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [November 24, 2025, 12:02am UTC](https://discourse.slicer.org/t/version-5-10-0-error-in-total-segmentator/45200/3 "2025-11-24T00:02:14Z")

</div>

This appears to be an issue introduced by NNunetv2 developers. This package is a dependency of TotalSegmentator.

A possible workaround is to open the NNunet Slicer module which is used for installing versions of the package. Choose to install nnunetv2\<2.6 as it seems like the nnunetv2 2.6.0 version introduced this error that requires torch 2.6.0 and later for the CPU version of GradScaler.

Unfortunately, on macOS Slicer factory builds are still x86\_64 builds with no native arm64 build. The latest version of torch supported on x86\_64 macOS is torch 2.2.x. Slicer developers have been actively working to update a whole list of dependencies to be able to support native arm64 builds. Things are still in progress, but hopefully these type of issues on macOS will be resolved soon for users of macOS on Apple Silicon M based Macs.

> <https://github.com/Slicer/Slicer/issues/6811>
>
> This is meta issues aiming to organize the sub-tasks associated with arm64 suppo…rt. See Sub-issues listed below.
> 
> 
> Related issues and pull requests:
> \* https://github.com/Slicer/Slicer/issues/5944
> \* https://github.com/Slicer/Slicer/issues/6705
> \* https://github.com/Slicer/Slicer/issues/6490
> \* https://github.com/Slicer/Slicer/pull/8097
> 
> Related discourse posts:
> \* https://discourse.slicer.org/t/issues-running-slicer-on-macbook-m1-max/23974/3
> \* https://discourse.slicer.org/t/slicer-quit-unexpectedly-on-macbook-with-m1-chip/25989
> \* https://discourse.slicer.org/t/build-arm-32-openssl/31204
> \* https://discourse.slicer.org/t/developing-for-slicer-on-apple-silicon-build-targeting-x86-64/40686

---

_[View the full topic](https://discourse.slicer.org/t/version-5-10-0-error-in-total-segmentator/45200)._
