`torch.cumprod` / `torch.cumsum` / `torch.sort` kill the Python process with SIGABRT on MPS for tensors with `ndim > 4` and `dim < ndim - 4`

May 22, 2026 · #184844
View on GitHub
Python Difficulty: Medium

Labels

triage review module: crash module: error checking module: sorting and selection module: reductions
Ready to work on this? Walk through the full fork-to-PR workflow so your first contribution goes smoothly.

Sign in required

Authenticate to use favourites & bookmarks

5