From 93ce943301f883b9df5a7a05de2942a7a0138d9b Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Sat, 19 Nov 2022 19:10:06 -0600 Subject: [PATCH] py-torch: add note about MPS variant (#34018) --- var/spack/repos/builtin/packages/py-torch/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/py-torch/package.py b/var/spack/repos/builtin/packages/py-torch/package.py index b6e5ed6b1f..d23b1aceea 100644 --- a/var/spack/repos/builtin/packages/py-torch/package.py +++ b/var/spack/repos/builtin/packages/py-torch/package.py @@ -66,7 +66,7 @@ class PyTorch(PythonPackage, CudaPackage, ROCmPackage): variant( "mps", default=is_darwin and macos_version() >= Version("12.3"), - description="Use MPS for macOS build", + description="Use MPS for macOS build (requires full Xcode suite)", when="@1.12: platform=darwin", ) variant("nccl", default=True, description="Use NCCL", when="+cuda platform=linux")