KEMBAR78
MPS backend unavailable on macOS 13.7.4, error says 13.0+ required · Issue #164943 · pytorch/pytorch · GitHub
Skip to content

MPS backend unavailable on macOS 13.7.4, error says 13.0+ required #164943

@elfprince13

Description

@elfprince13

🐛 Describe the bug

import torch
foo = torch.tensor([[1]])
foo = foo.to('mps')

results in

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
RuntimeError: The MPS backend is supported on MacOS 13.0+.Current OS version can be queried using `sw_vers`

Versions

PyTorch version: 2.10.0.dev20251008
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A

OS: macOS 13.7.4 (arm64)
GCC version: Could not collect
Clang version: 17.0.6
CMake version: version 3.29.3
Libc version: N/A

Python version: 3.11.9 (main, Apr  4 2024, 05:10:52) [Clang 14.0.3 (clang-1403.0.22.14.1)] (64-bit runtime)
Python platform: macOS-13.7.4-arm64-arm-64bit
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
Is XPU available: False
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Apple M2 Max

Versions of relevant libraries:
[pip3] numpy==2.3.3
[pip3] torch==2.10.0.dev20251008
[pip3] torchaudio==2.8.0.dev20251008
[pip3] torchvision==0.25.0.dev20251008
[conda] Could not collect

cc @kulinseth @malfet @DenisVieriu97 @jhavukainen

Metadata

Metadata

Assignees

No one assigned

    Labels

    actionablemodule: mpsRelated to Apple Metal Performance Shaders frameworktriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions