Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

fix: restrict cuda feature to supported platforms to unblock mac builds (#3524)

g1ow06b429ccd73f
diff --git a/pixi.toml b/pixi.toml
index 4bb331c89..62a82500d 100644
--- a/pixi.toml
+++ b/pixi.toml
@@ -57,6 +57,12 @@ build-docs = { cmd = "uv run python -m sphinx -W -b html docs/source docs/build/
# Utility
clean = { cmd = "find . -type f -name '*.pyc' -delete && find . -type d -name '__pycache__' -delete && rm -rf .venv" }
+# ------------------------------------------------------------------------------
+# Restrict CUDA feature to supported platforms only
+# ------------------------------------------------------------------------------
+[feature.cuda]
+platforms = ["linux-64", "linux-aarch64", "win-64"]
+
# ------------------------------------------------------------------------------
# Feature: CUDA (PyTorch CUDA wheels) - for local GPU development
# Requires reinstall because uv doesn't support per-environment sources