From 2e2f455cebdda7c7ae23411ddc20967f35ca1840 Mon Sep 17 00:00:00 2001 From: Rob Parolin Date: Wed, 17 Dec 2025 11:37:20 -0800 Subject: [PATCH 01/15] Adding a global metapackage level pixi.tom to run all the pytest suites with the same virtual environment --- pixi.lock | 51 +++++++++++++++++++++++++++++ pixi.toml | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 146 insertions(+) create mode 100644 pixi.lock create mode 100644 pixi.toml diff --git a/pixi.lock b/pixi.lock new file mode 100644 index 0000000000..be85e3a920 --- /dev/null +++ b/pixi.lock @@ -0,0 +1,51 @@ +version: 6 +environments: + cu12: + channels: + - url: https://conda.anaconda.org/conda-forge/ + options: + pypi-prerelease-mode: if-necessary-or-explicit + packages: + linux-64: + - conda: https://conda.anaconda.org/conda-forge/noarch/cuda-version-12.9-h4f385c5_3.conda + linux-aarch64: + - conda: https://conda.anaconda.org/conda-forge/noarch/cuda-version-12.9-h4f385c5_3.conda + win-64: + - conda: https://conda.anaconda.org/conda-forge/noarch/cuda-version-12.9-h4f385c5_3.conda + cu13: + channels: + - url: https://conda.anaconda.org/conda-forge/ + options: + pypi-prerelease-mode: if-necessary-or-explicit + packages: + linux-64: + - conda: https://conda.anaconda.org/conda-forge/noarch/cuda-version-13.1-h2ff5cdb_3.conda + linux-aarch64: + - conda: https://conda.anaconda.org/conda-forge/noarch/cuda-version-13.1-h2ff5cdb_3.conda + win-64: + - conda: https://conda.anaconda.org/conda-forge/noarch/cuda-version-13.1-h2ff5cdb_3.conda + default: + channels: + - url: https://conda.anaconda.org/conda-forge/ + options: + pypi-prerelease-mode: if-necessary-or-explicit + packages: {} +packages: +- conda: https://conda.anaconda.org/conda-forge/noarch/cuda-version-12.9-h4f385c5_3.conda + sha256: 5f5f428031933f117ff9f7fcc650e6ea1b3fef5936cf84aa24af79167513b656 + md5: b6d5d7f1c171cbd228ea06b556cfa859 + constrains: + - cudatoolkit 12.9|12.9.* + - __cuda >=12 + license: LicenseRef-NVIDIA-End-User-License-Agreement + size: 21578 + timestamp: 1746134436166 +- conda: https://conda.anaconda.org/conda-forge/noarch/cuda-version-13.1-h2ff5cdb_3.conda + sha256: 176ac20fdb95611af8fb2bf0d3d16fee998019b1d0f12fc9ddd5fa0df4553992 + md5: d85448460c25ee43ff2f8346bb9ad52b + constrains: + - cudatoolkit 13.1|13.1.* + - __cuda >=13 + license: LicenseRef-NVIDIA-End-User-License-Agreement + size: 21511 + timestamp: 1757017115788 diff --git a/pixi.toml b/pixi.toml new file mode 100644 index 0000000000..edb0fc658a --- /dev/null +++ b/pixi.toml @@ -0,0 +1,95 @@ +# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# +# SPDX-License-Identifier: Apache-2.0 + +[workspace] +channels = ["conda-forge"] +platforms = ["linux-64", "linux-aarch64", "win-64"] +preview = ["pixi-build"] + +[dependencies] + +[feature.cu12.system-requirements] +cuda = "12" + +[feature.cu12.dependencies] +cuda-version = ">=12.0,<13" + +[feature.cu13.system-requirements] +cuda = "13" + +[feature.cu13.dependencies] +cuda-version = ">=13.1,<14" + +[environments] +cu12 = { features = ["cu12"], solve-group = "cu12" } +cu13 = { features = ["cu13"], solve-group = "cu13" } + +# Install tasks: Set up all sub-package environments +# Usage: pixi run install (default) or pixi run -e cu12 install or pixi run -e cu13 install +# Detects environment from CONDA_DEFAULT_ENV (set by pixi when using -e flag) +[target.linux.tasks.install-pathfinder] +cmd = ["bash", "-c", "ENV=\"\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu12\"* ]] && ENV=\"cu12\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu13\"* ]] && ENV=\"cu13\"; cd cuda_pathfinder && pixi ${ENV:+--environment $ENV} install"] + +[target.linux.tasks.install-bindings] +cmd = ["bash", "-c", "ENV=\"\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu12\"* ]] && ENV=\"cu12\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu13\"* ]] && ENV=\"cu13\"; cd cuda_bindings && pixi ${ENV:+--environment $ENV} install"] + +[target.linux.tasks.install-core] +cmd = ["bash", "-c", "ENV=\"\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu12\"* ]] && ENV=\"cu12\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu13\"* ]] && ENV=\"cu13\"; cd cuda_core && pixi ${ENV:+--environment $ENV} install"] + +[target.linux.tasks.install] +cmd = [ + "bash", "-c", + "set -e; ENV=\"\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu12\"* ]] && ENV=\"cu12\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu13\"* ]] && ENV=\"cu13\"; cd cuda_pathfinder && pixi ${ENV:+--environment $ENV} install && cd ../cuda_bindings && pixi ${ENV:+--environment $ENV} install && cd ../cuda_core && pixi ${ENV:+--environment $ENV} install" +] + + +# Test tasks: Run tests (assumes environments are already installed) +# Order: pathfinder -> bindings -> core (matching scripts/run_tests.sh) +# Each sub-package has its own pixi.toml and environment +# Usage: pixi run test (default) or pixi run -e cu12 test or pixi run -e cu13 test +[target.linux.tasks.test-pathfinder] +cmd = ["bash", "-c", "ENV=\"\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu12\"* ]] && ENV=\"cu12\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu13\"* ]] && ENV=\"cu13\"; cd cuda_pathfinder && if [ -n \"$ENV\" ]; then pixi run --environment \"$ENV\" test; else pixi run test; fi"] + +[target.linux.tasks.test-bindings] +cmd = ["bash", "-c", "ENV=\"\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu12\"* ]] && ENV=\"cu12\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu13\"* ]] && ENV=\"cu13\"; cd cuda_bindings && if [ -n \"$ENV\" ]; then pixi run --environment \"$ENV\" test; else pixi run test; fi"] + +[target.linux.tasks.test-core] +cmd = ["bash", "-c", "ENV=\"\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu12\"* ]] && ENV=\"cu12\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu13\"* ]] && ENV=\"cu13\"; cd cuda_core && if [ -n \"$ENV\" ]; then pixi run --environment \"$ENV\" test; else pixi run test; fi"] + +[target.linux.tasks.test] +cmd = [ + "bash", "-c", + "set -e; ENV=\"\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu12\"* ]] && ENV=\"cu12\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu13\"* ]] && ENV=\"cu13\"; cd cuda_pathfinder && (if [ -n \"$ENV\" ]; then pixi run --environment \"$ENV\" test; else pixi run test; fi) && cd ../cuda_bindings && (if [ -n \"$ENV\" ]; then pixi run --environment \"$ENV\" test; else pixi run test; fi) && cd ../cuda_core && (if [ -n \"$ENV\" ]; then pixi run --environment \"$ENV\" test; else pixi run test; fi)" +] + + +[target.win-64.tasks.install-pathfinder] +cmd = ["cmd", "/c", "set ENV= && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu12\" >nul && set ENV=cu12 && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu13\" >nul && set ENV=cu13 && cd cuda_pathfinder && (if defined ENV (pixi --environment %ENV% install) else (pixi install))"] + +[target.win-64.tasks.install-bindings] +cmd = ["cmd", "/c", "set ENV= && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu12\" >nul && set ENV=cu12 && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu13\" >nul && set ENV=cu13 && cd cuda_bindings && (if defined ENV (pixi --environment %ENV% install) else (pixi install))"] + +[target.win-64.tasks.install-core] +cmd = ["cmd", "/c", "set ENV= && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu12\" >nul && set ENV=cu12 && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu13\" >nul && set ENV=cu13 && cd cuda_core && (if defined ENV (pixi --environment %ENV% install) else (pixi install))"] + +[target.win-64.tasks.install] +cmd = [ + "cmd", "/c", + "set ENV= && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu12\" >nul && set ENV=cu12 && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu13\" >nul && set ENV=cu13 && cd cuda_pathfinder && (if defined ENV (pixi --environment %ENV% install) else (pixi install)) && cd ..\\cuda_bindings && (if defined ENV (pixi --environment %ENV% install) else (pixi install)) && cd ..\\cuda_core && (if defined ENV (pixi --environment %ENV% install) else (pixi install))" +] + +[target.win-64.tasks.test-pathfinder] +cmd = ["cmd", "/c", "set ENV= && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu12\" >nul && set ENV=cu12 && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu13\" >nul && set ENV=cu13 && cd cuda_pathfinder && (if defined ENV (pixi run --environment %ENV% test) else (pixi run test))"] + +[target.win-64.tasks.test-bindings] +cmd = ["cmd", "/c", "set ENV= && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu12\" >nul && set ENV=cu12 && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu13\" >nul && set ENV=cu13 && cd cuda_bindings && (if defined ENV (pixi run --environment %ENV% test) else (pixi run test))"] + +[target.win-64.tasks.test-core] +cmd = ["cmd", "/c", "set ENV= && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu12\" >nul && set ENV=cu12 && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu13\" >nul && set ENV=cu13 && cd cuda_core && (if defined ENV (pixi run --environment %ENV% test) else (pixi run test))"] + +[target.win-64.tasks.test] +cmd = [ + "cmd", "/c", + "set ENV= && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu12\" >nul && set ENV=cu12 && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu13\" >nul && set ENV=cu13 && cd cuda_pathfinder && (if defined ENV (pixi run --environment %ENV% test) else (pixi run test)) && cd ..\\cuda_bindings && (if defined ENV (pixi run --environment %ENV% test) else (pixi run test)) && cd ..\\cuda_core && (if defined ENV (pixi run --environment %ENV% test) else (pixi run test))" +] From b4145911e02e0e192f89eaf877a1cb7191ab1ff9 Mon Sep 17 00:00:00 2001 From: Rob Parolin Date: Wed, 17 Dec 2025 13:15:12 -0800 Subject: [PATCH 02/15] Removing tasks --- cuda_core/pixi.lock | 12 ++++++------ pixi.toml | 47 --------------------------------------------- 2 files changed, 6 insertions(+), 53 deletions(-) diff --git a/cuda_core/pixi.lock b/cuda_core/pixi.lock index 16a0d2460f..f818f586da 100644 --- a/cuda_core/pixi.lock +++ b/cuda_core/pixi.lock @@ -1051,7 +1051,7 @@ packages: timestamp: 1764878612030 - conda: . name: cuda-core - version: 0.4.2 + version: 0.5.0 build: py314h59f3c06_0 subdir: linux-64 variants: @@ -1068,12 +1068,12 @@ packages: - cuda-cudart >=13.1.80,<14.0a0 license: Apache-2.0 input: - hash: cccb645b22f775570680f1a9a62e415a09774e46645523bbd147226681155628 + hash: 1ca5e93f36385c628c555ad7ff2bbacd659238db16f10d477ece67c394b562f5 globs: - pyproject.toml - conda: . name: cuda-core - version: 0.4.2 + version: 0.5.0 build: py314h625260f_0 subdir: win-64 variants: @@ -1088,12 +1088,12 @@ packages: - python_abi 3.14.* *_cp314 license: Apache-2.0 input: - hash: cccb645b22f775570680f1a9a62e415a09774e46645523bbd147226681155628 + hash: 1ca5e93f36385c628c555ad7ff2bbacd659238db16f10d477ece67c394b562f5 globs: - pyproject.toml - conda: . name: cuda-core - version: 0.4.2 + version: 0.5.0 build: py314ha479ada_0 subdir: linux-aarch64 variants: @@ -1110,7 +1110,7 @@ packages: - cuda-cudart >=13.1.80,<14.0a0 license: Apache-2.0 input: - hash: cccb645b22f775570680f1a9a62e415a09774e46645523bbd147226681155628 + hash: 1ca5e93f36385c628c555ad7ff2bbacd659238db16f10d477ece67c394b562f5 globs: - pyproject.toml - conda: https://conda.anaconda.org/conda-forge/noarch/cuda-crt-dev_linux-64-12.9.86-ha770c72_2.conda diff --git a/pixi.toml b/pixi.toml index edb0fc658a..daca557f3d 100644 --- a/pixi.toml +++ b/pixi.toml @@ -5,7 +5,6 @@ [workspace] channels = ["conda-forge"] platforms = ["linux-64", "linux-aarch64", "win-64"] -preview = ["pixi-build"] [dependencies] @@ -25,24 +24,6 @@ cuda-version = ">=13.1,<14" cu12 = { features = ["cu12"], solve-group = "cu12" } cu13 = { features = ["cu13"], solve-group = "cu13" } -# Install tasks: Set up all sub-package environments -# Usage: pixi run install (default) or pixi run -e cu12 install or pixi run -e cu13 install -# Detects environment from CONDA_DEFAULT_ENV (set by pixi when using -e flag) -[target.linux.tasks.install-pathfinder] -cmd = ["bash", "-c", "ENV=\"\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu12\"* ]] && ENV=\"cu12\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu13\"* ]] && ENV=\"cu13\"; cd cuda_pathfinder && pixi ${ENV:+--environment $ENV} install"] - -[target.linux.tasks.install-bindings] -cmd = ["bash", "-c", "ENV=\"\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu12\"* ]] && ENV=\"cu12\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu13\"* ]] && ENV=\"cu13\"; cd cuda_bindings && pixi ${ENV:+--environment $ENV} install"] - -[target.linux.tasks.install-core] -cmd = ["bash", "-c", "ENV=\"\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu12\"* ]] && ENV=\"cu12\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu13\"* ]] && ENV=\"cu13\"; cd cuda_core && pixi ${ENV:+--environment $ENV} install"] - -[target.linux.tasks.install] -cmd = [ - "bash", "-c", - "set -e; ENV=\"\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu12\"* ]] && ENV=\"cu12\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu13\"* ]] && ENV=\"cu13\"; cd cuda_pathfinder && pixi ${ENV:+--environment $ENV} install && cd ../cuda_bindings && pixi ${ENV:+--environment $ENV} install && cd ../cuda_core && pixi ${ENV:+--environment $ENV} install" -] - # Test tasks: Run tests (assumes environments are already installed) # Order: pathfinder -> bindings -> core (matching scripts/run_tests.sh) @@ -64,32 +45,4 @@ cmd = [ ] -[target.win-64.tasks.install-pathfinder] -cmd = ["cmd", "/c", "set ENV= && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu12\" >nul && set ENV=cu12 && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu13\" >nul && set ENV=cu13 && cd cuda_pathfinder && (if defined ENV (pixi --environment %ENV% install) else (pixi install))"] - -[target.win-64.tasks.install-bindings] -cmd = ["cmd", "/c", "set ENV= && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu12\" >nul && set ENV=cu12 && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu13\" >nul && set ENV=cu13 && cd cuda_bindings && (if defined ENV (pixi --environment %ENV% install) else (pixi install))"] - -[target.win-64.tasks.install-core] -cmd = ["cmd", "/c", "set ENV= && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu12\" >nul && set ENV=cu12 && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu13\" >nul && set ENV=cu13 && cd cuda_core && (if defined ENV (pixi --environment %ENV% install) else (pixi install))"] -[target.win-64.tasks.install] -cmd = [ - "cmd", "/c", - "set ENV= && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu12\" >nul && set ENV=cu12 && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu13\" >nul && set ENV=cu13 && cd cuda_pathfinder && (if defined ENV (pixi --environment %ENV% install) else (pixi install)) && cd ..\\cuda_bindings && (if defined ENV (pixi --environment %ENV% install) else (pixi install)) && cd ..\\cuda_core && (if defined ENV (pixi --environment %ENV% install) else (pixi install))" -] - -[target.win-64.tasks.test-pathfinder] -cmd = ["cmd", "/c", "set ENV= && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu12\" >nul && set ENV=cu12 && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu13\" >nul && set ENV=cu13 && cd cuda_pathfinder && (if defined ENV (pixi run --environment %ENV% test) else (pixi run test))"] - -[target.win-64.tasks.test-bindings] -cmd = ["cmd", "/c", "set ENV= && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu12\" >nul && set ENV=cu12 && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu13\" >nul && set ENV=cu13 && cd cuda_bindings && (if defined ENV (pixi run --environment %ENV% test) else (pixi run test))"] - -[target.win-64.tasks.test-core] -cmd = ["cmd", "/c", "set ENV= && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu12\" >nul && set ENV=cu12 && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu13\" >nul && set ENV=cu13 && cd cuda_core && (if defined ENV (pixi run --environment %ENV% test) else (pixi run test))"] - -[target.win-64.tasks.test] -cmd = [ - "cmd", "/c", - "set ENV= && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu12\" >nul && set ENV=cu12 && echo %CONDA_DEFAULT_ENV% | findstr /C:\"cu13\" >nul && set ENV=cu13 && cd cuda_pathfinder && (if defined ENV (pixi run --environment %ENV% test) else (pixi run test)) && cd ..\\cuda_bindings && (if defined ENV (pixi run --environment %ENV% test) else (pixi run test)) && cd ..\\cuda_core && (if defined ENV (pixi run --environment %ENV% test) else (pixi run test))" -] From ca323d2596ea5537f64af477394160ad27c7ecbb Mon Sep 17 00:00:00 2001 From: Rob Parolin Date: Wed, 17 Dec 2025 13:54:37 -0800 Subject: [PATCH 03/15] precommit --- pixi.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/pixi.toml b/pixi.toml index daca557f3d..2646d0191c 100644 --- a/pixi.toml +++ b/pixi.toml @@ -43,6 +43,3 @@ cmd = [ "bash", "-c", "set -e; ENV=\"\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu12\"* ]] && ENV=\"cu12\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu13\"* ]] && ENV=\"cu13\"; cd cuda_pathfinder && (if [ -n \"$ENV\" ]; then pixi run --environment \"$ENV\" test; else pixi run test; fi) && cd ../cuda_bindings && (if [ -n \"$ENV\" ]; then pixi run --environment \"$ENV\" test; else pixi run test; fi) && cd ../cuda_core && (if [ -n \"$ENV\" ]; then pixi run --environment \"$ENV\" test; else pixi run test; fi)" ] - - - From 1de83eaa3aea04fe6840effbd8a595ab5e240787 Mon Sep 17 00:00:00 2001 From: Rob Parolin Date: Wed, 17 Dec 2025 14:07:22 -0800 Subject: [PATCH 04/15] removing the conda environment detection support --- pixi.toml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pixi.toml b/pixi.toml index 2646d0191c..2556939df3 100644 --- a/pixi.toml +++ b/pixi.toml @@ -29,17 +29,18 @@ cu13 = { features = ["cu13"], solve-group = "cu13" } # Order: pathfinder -> bindings -> core (matching scripts/run_tests.sh) # Each sub-package has its own pixi.toml and environment # Usage: pixi run test (default) or pixi run -e cu12 test or pixi run -e cu13 test +# The environment specified with -e is automatically passed down via PIXI_ENVIRONMENT_NAME [target.linux.tasks.test-pathfinder] -cmd = ["bash", "-c", "ENV=\"\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu12\"* ]] && ENV=\"cu12\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu13\"* ]] && ENV=\"cu13\"; cd cuda_pathfinder && if [ -n \"$ENV\" ]; then pixi run --environment \"$ENV\" test; else pixi run test; fi"] +cmd = ["bash", "-c", "cd cuda_pathfinder && if [ -n \"${PIXI_ENVIRONMENT_NAME:-}\" ]; then pixi run --environment \"$PIXI_ENVIRONMENT_NAME\" test; else pixi run test; fi"] [target.linux.tasks.test-bindings] -cmd = ["bash", "-c", "ENV=\"\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu12\"* ]] && ENV=\"cu12\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu13\"* ]] && ENV=\"cu13\"; cd cuda_bindings && if [ -n \"$ENV\" ]; then pixi run --environment \"$ENV\" test; else pixi run test; fi"] +cmd = ["bash", "-c", "cd cuda_bindings && if [ -n \"${PIXI_ENVIRONMENT_NAME:-}\" ]; then pixi run --environment \"$PIXI_ENVIRONMENT_NAME\" test; else pixi run test; fi"] [target.linux.tasks.test-core] -cmd = ["bash", "-c", "ENV=\"\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu12\"* ]] && ENV=\"cu12\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu13\"* ]] && ENV=\"cu13\"; cd cuda_core && if [ -n \"$ENV\" ]; then pixi run --environment \"$ENV\" test; else pixi run test; fi"] +cmd = ["bash", "-c", "cd cuda_core && if [ -n \"${PIXI_ENVIRONMENT_NAME:-}\" ]; then pixi run --environment \"$PIXI_ENVIRONMENT_NAME\" test; else pixi run test; fi"] [target.linux.tasks.test] cmd = [ "bash", "-c", - "set -e; ENV=\"\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu12\"* ]] && ENV=\"cu12\"; [[ \"${CONDA_DEFAULT_ENV:-}\" == *\"cu13\"* ]] && ENV=\"cu13\"; cd cuda_pathfinder && (if [ -n \"$ENV\" ]; then pixi run --environment \"$ENV\" test; else pixi run test; fi) && cd ../cuda_bindings && (if [ -n \"$ENV\" ]; then pixi run --environment \"$ENV\" test; else pixi run test; fi) && cd ../cuda_core && (if [ -n \"$ENV\" ]; then pixi run --environment \"$ENV\" test; else pixi run test; fi)" + "set -e; cd cuda_pathfinder && (if [ -n \"${PIXI_ENVIRONMENT_NAME:-}\" ]; then pixi run --environment \"$PIXI_ENVIRONMENT_NAME\" test; else pixi run test; fi) && cd ../cuda_bindings && (if [ -n \"${PIXI_ENVIRONMENT_NAME:-}\" ]; then pixi run --environment \"$PIXI_ENVIRONMENT_NAME\" test; else pixi run test; fi) && cd ../cuda_core && (if [ -n \"${PIXI_ENVIRONMENT_NAME:-}\" ]; then pixi run --environment \"$PIXI_ENVIRONMENT_NAME\" test; else pixi run test; fi)" ] From 7c1f6239b021ec4e72b4514bf30f026c8b5a36e1 Mon Sep 17 00:00:00 2001 From: Rob Parolin Date: Wed, 17 Dec 2025 14:11:26 -0800 Subject: [PATCH 05/15] Using depends-on instead of coping the command line --- pixi.toml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pixi.toml b/pixi.toml index 2556939df3..f0cdf431e4 100644 --- a/pixi.toml +++ b/pixi.toml @@ -40,7 +40,8 @@ cmd = ["bash", "-c", "cd cuda_bindings && if [ -n \"${PIXI_ENVIRONMENT_NAME:-}\" cmd = ["bash", "-c", "cd cuda_core && if [ -n \"${PIXI_ENVIRONMENT_NAME:-}\" ]; then pixi run --environment \"$PIXI_ENVIRONMENT_NAME\" test; else pixi run test; fi"] [target.linux.tasks.test] -cmd = [ - "bash", "-c", - "set -e; cd cuda_pathfinder && (if [ -n \"${PIXI_ENVIRONMENT_NAME:-}\" ]; then pixi run --environment \"$PIXI_ENVIRONMENT_NAME\" test; else pixi run test; fi) && cd ../cuda_bindings && (if [ -n \"${PIXI_ENVIRONMENT_NAME:-}\" ]; then pixi run --environment \"$PIXI_ENVIRONMENT_NAME\" test; else pixi run test; fi) && cd ../cuda_core && (if [ -n \"${PIXI_ENVIRONMENT_NAME:-}\" ]; then pixi run --environment \"$PIXI_ENVIRONMENT_NAME\" test; else pixi run test; fi)" +depends-on = [ + { task = "test-pathfinder" }, + { task = "test-bindings" }, + { task = "test-core" } ] From 8806e5bce86aedfbb33cdfed4cca1fb7f0440776 Mon Sep 17 00:00:00 2001 From: Rob Parolin Date: Wed, 17 Dec 2025 14:15:37 -0800 Subject: [PATCH 06/15] simplifying the task command line using bash parameter expansion --- pixi.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pixi.toml b/pixi.toml index f0cdf431e4..c4cd584fe1 100644 --- a/pixi.toml +++ b/pixi.toml @@ -31,13 +31,13 @@ cu13 = { features = ["cu13"], solve-group = "cu13" } # Usage: pixi run test (default) or pixi run -e cu12 test or pixi run -e cu13 test # The environment specified with -e is automatically passed down via PIXI_ENVIRONMENT_NAME [target.linux.tasks.test-pathfinder] -cmd = ["bash", "-c", "cd cuda_pathfinder && if [ -n \"${PIXI_ENVIRONMENT_NAME:-}\" ]; then pixi run --environment \"$PIXI_ENVIRONMENT_NAME\" test; else pixi run test; fi"] +cmd = ["bash", "-c", "cd cuda_pathfinder && pixi run ${PIXI_ENVIRONMENT_NAME:+--environment \"$PIXI_ENVIRONMENT_NAME\"} test"] [target.linux.tasks.test-bindings] -cmd = ["bash", "-c", "cd cuda_bindings && if [ -n \"${PIXI_ENVIRONMENT_NAME:-}\" ]; then pixi run --environment \"$PIXI_ENVIRONMENT_NAME\" test; else pixi run test; fi"] +cmd = ["bash", "-c", "cd cuda_bindings && pixi run ${PIXI_ENVIRONMENT_NAME:+--environment \"$PIXI_ENVIRONMENT_NAME\"} test"] [target.linux.tasks.test-core] -cmd = ["bash", "-c", "cd cuda_core && if [ -n \"${PIXI_ENVIRONMENT_NAME:-}\" ]; then pixi run --environment \"$PIXI_ENVIRONMENT_NAME\" test; else pixi run test; fi"] +cmd = ["bash", "-c", "cd cuda_core && pixi run ${PIXI_ENVIRONMENT_NAME:+--environment \"$PIXI_ENVIRONMENT_NAME\"} test"] [target.linux.tasks.test] depends-on = [ From 290fc10a998635c7f86de49b452c705fd8520322 Mon Sep 17 00:00:00 2001 From: Rob Parolin Date: Wed, 17 Dec 2025 14:19:41 -0800 Subject: [PATCH 07/15] improve doc comments --- pixi.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pixi.toml b/pixi.toml index c4cd584fe1..c3ae502d9d 100644 --- a/pixi.toml +++ b/pixi.toml @@ -25,11 +25,11 @@ cu12 = { features = ["cu12"], solve-group = "cu12" } cu13 = { features = ["cu13"], solve-group = "cu13" } -# Test tasks: Run tests (assumes environments are already installed) -# Order: pathfinder -> bindings -> core (matching scripts/run_tests.sh) -# Each sub-package has its own pixi.toml and environment -# Usage: pixi run test (default) or pixi run -e cu12 test or pixi run -e cu13 test -# The environment specified with -e is automatically passed down via PIXI_ENVIRONMENT_NAME +# Test Tasks +# Runs tests across all sub-packages: pathfinder → bindings → core (dependency order) +# Each sub-package has its own pixi.toml; the -e environment propagates via PIXI_ENVIRONMENT_NAME +# +# Usage: pixi run test | pixi run -e cu12 test | pixi run -e cu13 test [target.linux.tasks.test-pathfinder] cmd = ["bash", "-c", "cd cuda_pathfinder && pixi run ${PIXI_ENVIRONMENT_NAME:+--environment \"$PIXI_ENVIRONMENT_NAME\"} test"] From b2dbf84485c43d2a780a38596117249da19c66b9 Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Thu, 18 Dec 2025 12:06:45 -0500 Subject: [PATCH 08/15] refactor: no bash, and configurable arguments --- pixi.toml | 46 ++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 40 insertions(+), 6 deletions(-) diff --git a/pixi.toml b/pixi.toml index c3ae502d9d..04f07d2bb4 100644 --- a/pixi.toml +++ b/pixi.toml @@ -31,17 +31,51 @@ cu13 = { features = ["cu13"], solve-group = "cu13" } # # Usage: pixi run test | pixi run -e cu12 test | pixi run -e cu13 test [target.linux.tasks.test-pathfinder] -cmd = ["bash", "-c", "cd cuda_pathfinder && pixi run ${PIXI_ENVIRONMENT_NAME:+--environment \"$PIXI_ENVIRONMENT_NAME\"} test"] +args = [{ arg = "env", default = "cu13" }] +cmd = [ + "pixi", + "run", + "--manifest-path", + "$PIXI_PROJECT_ROOT/cuda_pathfinder", + "--environment", + "{{ env }}", + "test", +] [target.linux.tasks.test-bindings] -cmd = ["bash", "-c", "cd cuda_bindings && pixi run ${PIXI_ENVIRONMENT_NAME:+--environment \"$PIXI_ENVIRONMENT_NAME\"} test"] +args = [{ arg = "env", default = "cu13" }] +cmd = [ + "pixi", + "run", + "--manifest-path", + "$PIXI_PROJECT_ROOT/cuda_bindings", + "--environment", + "{{ env }}", + "test", +] [target.linux.tasks.test-core] -cmd = ["bash", "-c", "cd cuda_core && pixi run ${PIXI_ENVIRONMENT_NAME:+--environment \"$PIXI_ENVIRONMENT_NAME\"} test"] +args = [{ arg = "env", default = "cu13" }] +cmd = [ + "pixi", + "run", + "--manifest-path", + "$PIXI_PROJECT_ROOT/cuda_core", + "--environment", + "{{ env }}", + "test", +] [target.linux.tasks.test] +args = [{ arg = "env", default = "cu13" }] depends-on = [ - { task = "test-pathfinder" }, - { task = "test-bindings" }, - { task = "test-core" } + { task = "test-pathfinder", args = [ + "{{ env }}", + ] }, + { task = "test-bindings", args = [ + "{{ env }}", + ] }, + { task = "test-core", args = [ + "{{ env }}", + ] }, ] From b874f0dd34bc7e55c6debab6b458d38afa840647 Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Thu, 18 Dec 2025 12:18:22 -0500 Subject: [PATCH 09/15] chore: consistency with -e/--environment flags --- pixi.toml | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/pixi.toml b/pixi.toml index 04f07d2bb4..e4d13ac3bf 100644 --- a/pixi.toml +++ b/pixi.toml @@ -31,51 +31,66 @@ cu13 = { features = ["cu13"], solve-group = "cu13" } # # Usage: pixi run test | pixi run -e cu12 test | pixi run -e cu13 test [target.linux.tasks.test-pathfinder] -args = [{ arg = "env", default = "cu13" }] +args = [ + { arg = "flag", default = "--environment" }, + { arg = "env", default = "cu13" }, +] cmd = [ "pixi", "run", "--manifest-path", "$PIXI_PROJECT_ROOT/cuda_pathfinder", - "--environment", + "{{ flag }}", "{{ env }}", "test", ] [target.linux.tasks.test-bindings] -args = [{ arg = "env", default = "cu13" }] +args = [ + { arg = "flag", default = "--environment" }, + { arg = "env", default = "cu13" }, +] cmd = [ "pixi", "run", "--manifest-path", "$PIXI_PROJECT_ROOT/cuda_bindings", - "--environment", + "{{ flag }}", "{{ env }}", "test", ] [target.linux.tasks.test-core] -args = [{ arg = "env", default = "cu13" }] +args = [ + { arg = "flag", default = "--environment" }, + { arg = "env", default = "cu13" }, +] cmd = [ "pixi", "run", "--manifest-path", "$PIXI_PROJECT_ROOT/cuda_core", - "--environment", + "{{ flag }}", "{{ env }}", "test", ] [target.linux.tasks.test] -args = [{ arg = "env", default = "cu13" }] +args = [ + { arg = "flag", default = "--environment" }, + { arg = "env", default = "cu13" }, +] depends-on = [ { task = "test-pathfinder", args = [ + "{{ flag }}", "{{ env }}", ] }, { task = "test-bindings", args = [ + "{{ flag }}", "{{ env }}", ] }, { task = "test-core", args = [ + "{{ flag }}", "{{ env }}", ] }, ] From b0679be0341f95c5101b6de6e7735e56806186cc Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Thu, 18 Dec 2025 12:34:37 -0500 Subject: [PATCH 10/15] refactor: remove features --- pixi.toml | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/pixi.toml b/pixi.toml index e4d13ac3bf..60d2394108 100644 --- a/pixi.toml +++ b/pixi.toml @@ -6,28 +6,8 @@ channels = ["conda-forge"] platforms = ["linux-64", "linux-aarch64", "win-64"] -[dependencies] - -[feature.cu12.system-requirements] -cuda = "12" - -[feature.cu12.dependencies] -cuda-version = ">=12.0,<13" - -[feature.cu13.system-requirements] -cuda = "13" - -[feature.cu13.dependencies] -cuda-version = ">=13.1,<14" - -[environments] -cu12 = { features = ["cu12"], solve-group = "cu12" } -cu13 = { features = ["cu13"], solve-group = "cu13" } - - # Test Tasks # Runs tests across all sub-packages: pathfinder → bindings → core (dependency order) -# Each sub-package has its own pixi.toml; the -e environment propagates via PIXI_ENVIRONMENT_NAME # # Usage: pixi run test | pixi run -e cu12 test | pixi run -e cu13 test [target.linux.tasks.test-pathfinder] From 7cca9fc778a818fea9ed3181e1aac882e6f0594b Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Thu, 18 Dec 2025 12:42:50 -0500 Subject: [PATCH 11/15] refactor: bring back envs for -e behavior --- pixi.lock | 36 +++--------------------------------- pixi.toml | 10 ++++++++++ 2 files changed, 13 insertions(+), 33 deletions(-) diff --git a/pixi.lock b/pixi.lock index be85e3a920..fa9b0c1c11 100644 --- a/pixi.lock +++ b/pixi.lock @@ -5,47 +5,17 @@ environments: - url: https://conda.anaconda.org/conda-forge/ options: pypi-prerelease-mode: if-necessary-or-explicit - packages: - linux-64: - - conda: https://conda.anaconda.org/conda-forge/noarch/cuda-version-12.9-h4f385c5_3.conda - linux-aarch64: - - conda: https://conda.anaconda.org/conda-forge/noarch/cuda-version-12.9-h4f385c5_3.conda - win-64: - - conda: https://conda.anaconda.org/conda-forge/noarch/cuda-version-12.9-h4f385c5_3.conda + packages: {} cu13: channels: - url: https://conda.anaconda.org/conda-forge/ options: pypi-prerelease-mode: if-necessary-or-explicit - packages: - linux-64: - - conda: https://conda.anaconda.org/conda-forge/noarch/cuda-version-13.1-h2ff5cdb_3.conda - linux-aarch64: - - conda: https://conda.anaconda.org/conda-forge/noarch/cuda-version-13.1-h2ff5cdb_3.conda - win-64: - - conda: https://conda.anaconda.org/conda-forge/noarch/cuda-version-13.1-h2ff5cdb_3.conda + packages: {} default: channels: - url: https://conda.anaconda.org/conda-forge/ options: pypi-prerelease-mode: if-necessary-or-explicit packages: {} -packages: -- conda: https://conda.anaconda.org/conda-forge/noarch/cuda-version-12.9-h4f385c5_3.conda - sha256: 5f5f428031933f117ff9f7fcc650e6ea1b3fef5936cf84aa24af79167513b656 - md5: b6d5d7f1c171cbd228ea06b556cfa859 - constrains: - - cudatoolkit 12.9|12.9.* - - __cuda >=12 - license: LicenseRef-NVIDIA-End-User-License-Agreement - size: 21578 - timestamp: 1746134436166 -- conda: https://conda.anaconda.org/conda-forge/noarch/cuda-version-13.1-h2ff5cdb_3.conda - sha256: 176ac20fdb95611af8fb2bf0d3d16fee998019b1d0f12fc9ddd5fa0df4553992 - md5: d85448460c25ee43ff2f8346bb9ad52b - constrains: - - cudatoolkit 13.1|13.1.* - - __cuda >=13 - license: LicenseRef-NVIDIA-End-User-License-Agreement - size: 21511 - timestamp: 1757017115788 +packages: [] diff --git a/pixi.toml b/pixi.toml index 60d2394108..33aa8a72d0 100644 --- a/pixi.toml +++ b/pixi.toml @@ -6,8 +6,18 @@ channels = ["conda-forge"] platforms = ["linux-64", "linux-aarch64", "win-64"] +[dependencies] + +[feature.cu12.dependencies] +[feature.cu13.dependencies] + +[environments] +cu12 = { features = ["cu12"] } +cu13 = { features = ["cu13"] } + # Test Tasks # Runs tests across all sub-packages: pathfinder → bindings → core (dependency order) +# Each sub-package has its own pixi.toml; the -e environment propagates via PIXI_ENVIRONMENT_NAME # # Usage: pixi run test | pixi run -e cu12 test | pixi run -e cu13 test [target.linux.tasks.test-pathfinder] From b96d0f3c0d852bd06d272df4965a656c9f79a936 Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Thu, 18 Dec 2025 12:54:10 -0500 Subject: [PATCH 12/15] refactor: use envars to set child environment --- pixi.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pixi.toml b/pixi.toml index 33aa8a72d0..61367d65d4 100644 --- a/pixi.toml +++ b/pixi.toml @@ -23,7 +23,7 @@ cu13 = { features = ["cu13"] } [target.linux.tasks.test-pathfinder] args = [ { arg = "flag", default = "--environment" }, - { arg = "env", default = "cu13" }, + { arg = "env", default = "$PIXI_ENVIRONMENT_NAME" }, ] cmd = [ "pixi", @@ -38,7 +38,7 @@ cmd = [ [target.linux.tasks.test-bindings] args = [ { arg = "flag", default = "--environment" }, - { arg = "env", default = "cu13" }, + { arg = "env", default = "$PIXI_ENVIRONMENT_NAME" }, ] cmd = [ "pixi", @@ -53,7 +53,7 @@ cmd = [ [target.linux.tasks.test-core] args = [ { arg = "flag", default = "--environment" }, - { arg = "env", default = "cu13" }, + { arg = "env", default = "$PIXI_ENVIRONMENT_NAME" }, ] cmd = [ "pixi", @@ -68,7 +68,7 @@ cmd = [ [target.linux.tasks.test] args = [ { arg = "flag", default = "--environment" }, - { arg = "env", default = "cu13" }, + { arg = "env", default = "$PIXI_ENVIRONMENT_NAME" }, ] depends-on = [ { task = "test-pathfinder", args = [ From d38425884b7f686b8c70584b0d676c1bde2897fd Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Thu, 18 Dec 2025 13:12:26 -0500 Subject: [PATCH 13/15] refactor: add pixi dust --- pixi.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pixi.toml b/pixi.toml index 61367d65d4..701387bc62 100644 --- a/pixi.toml +++ b/pixi.toml @@ -6,8 +6,6 @@ channels = ["conda-forge"] platforms = ["linux-64", "linux-aarch64", "win-64"] -[dependencies] - [feature.cu12.dependencies] [feature.cu13.dependencies] @@ -15,6 +13,9 @@ platforms = ["linux-64", "linux-aarch64", "win-64"] cu12 = { features = ["cu12"] } cu13 = { features = ["cu13"] } +[activation.env] +PIXI_ENVIRONMENT_NAME = "${PIXI_ENVIRONMENT_NAME/default/cu13}" + # Test Tasks # Runs tests across all sub-packages: pathfinder → bindings → core (dependency order) # Each sub-package has its own pixi.toml; the -e environment propagates via PIXI_ENVIRONMENT_NAME From 5915a87fe6c81c32712d197eeae491afb91a1107 Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Thu, 18 Dec 2025 13:42:39 -0500 Subject: [PATCH 14/15] refactor: more pixi dust --- pixi.toml | 48 +++++++----------------------------------------- 1 file changed, 7 insertions(+), 41 deletions(-) diff --git a/pixi.toml b/pixi.toml index 701387bc62..ae14f2f6ad 100644 --- a/pixi.toml +++ b/pixi.toml @@ -22,66 +22,32 @@ PIXI_ENVIRONMENT_NAME = "${PIXI_ENVIRONMENT_NAME/default/cu13}" # # Usage: pixi run test | pixi run -e cu12 test | pixi run -e cu13 test [target.linux.tasks.test-pathfinder] -args = [ - { arg = "flag", default = "--environment" }, - { arg = "env", default = "$PIXI_ENVIRONMENT_NAME" }, -] +env.PIXI_ENVIRONMENT_NAME = "$PIXI_ENVIRONMENT_NAME" cmd = [ "pixi", "run", "--manifest-path", "$PIXI_PROJECT_ROOT/cuda_pathfinder", - "{{ flag }}", - "{{ env }}", "test", ] [target.linux.tasks.test-bindings] -args = [ - { arg = "flag", default = "--environment" }, - { arg = "env", default = "$PIXI_ENVIRONMENT_NAME" }, -] +env.PIXI_ENVIRONMENT_NAME = "$PIXI_ENVIRONMENT_NAME" cmd = [ "pixi", "run", "--manifest-path", "$PIXI_PROJECT_ROOT/cuda_bindings", - "{{ flag }}", - "{{ env }}", "test", ] [target.linux.tasks.test-core] -args = [ - { arg = "flag", default = "--environment" }, - { arg = "env", default = "$PIXI_ENVIRONMENT_NAME" }, -] -cmd = [ - "pixi", - "run", - "--manifest-path", - "$PIXI_PROJECT_ROOT/cuda_core", - "{{ flag }}", - "{{ env }}", - "test", -] +env.PIXI_ENVIRONMENT_NAME = "$PIXI_ENVIRONMENT_NAME" +cmd = ["pixi", "run", "--manifest-path", "$PIXI_PROJECT_ROOT/cuda_core", "test"] [target.linux.tasks.test] -args = [ - { arg = "flag", default = "--environment" }, - { arg = "env", default = "$PIXI_ENVIRONMENT_NAME" }, -] depends-on = [ - { task = "test-pathfinder", args = [ - "{{ flag }}", - "{{ env }}", - ] }, - { task = "test-bindings", args = [ - "{{ flag }}", - "{{ env }}", - ] }, - { task = "test-core", args = [ - "{{ flag }}", - "{{ env }}", - ] }, + { task = "test-pathfinder" }, + { task = "test-bindings" }, + { task = "test-core" }, ] From acf04ea94f88f07a04d63f8e876292e78114bc05 Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Thu, 18 Dec 2025 13:46:28 -0500 Subject: [PATCH 15/15] refactor: remove envars --- pixi.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/pixi.toml b/pixi.toml index ae14f2f6ad..c85559e8a7 100644 --- a/pixi.toml +++ b/pixi.toml @@ -22,7 +22,6 @@ PIXI_ENVIRONMENT_NAME = "${PIXI_ENVIRONMENT_NAME/default/cu13}" # # Usage: pixi run test | pixi run -e cu12 test | pixi run -e cu13 test [target.linux.tasks.test-pathfinder] -env.PIXI_ENVIRONMENT_NAME = "$PIXI_ENVIRONMENT_NAME" cmd = [ "pixi", "run", @@ -32,7 +31,6 @@ cmd = [ ] [target.linux.tasks.test-bindings] -env.PIXI_ENVIRONMENT_NAME = "$PIXI_ENVIRONMENT_NAME" cmd = [ "pixi", "run", @@ -42,7 +40,6 @@ cmd = [ ] [target.linux.tasks.test-core] -env.PIXI_ENVIRONMENT_NAME = "$PIXI_ENVIRONMENT_NAME" cmd = ["pixi", "run", "--manifest-path", "$PIXI_PROJECT_ROOT/cuda_core", "test"] [target.linux.tasks.test]