Skip to content

Commit 6ce4d81

Browse files
authored
Update pixi.toml to latest MAX release, add support for aarch64 Linux (#227)
* Update pixi.toml to latest MAX release, add support for aarch64 Linux. * Set environment variable for test job. * Try detecting the ptxas on the CI system. * Trying to hardcode to the ptxas inside the Pixi environment. * Bumping version to re-trigger CI.
1 parent 1b5adb0 commit 6ce4d81

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ permissions:
2323
jobs:
2424
test:
2525
runs-on: github-gpu
26+
env:
27+
MODULAR_NVPTX_COMPILER_PATH: /home/runner/work/mojo-gpu-puzzles/mojo-gpu-puzzles/.pixi/envs/default/bin/ptxas
2628
steps:
2729
- uses: actions/checkout@v4
2830

pixi.toml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
authors = ["Modular <hello@modular.com>"]
33
channels = ["https://conda.modular.com/max-nightly", "conda-forge"]
44
name = "mojo-gpu-puzzles"
5-
platforms = ["linux-64", "osx-arm64"]
5+
platforms = ["linux-64", "linux-aarch64", "osx-arm64"]
66
version = "1.0.0"
77

88
[feature.nvidia]
@@ -18,6 +18,15 @@ nsight-compute = "*" # interactive kernel profiling
1818
torch = { version = "==2.7.1", index = "https://download.pytorch.org/whl/cu128" }
1919
nvidia-ml-py = "*"
2020

21+
[feature.nvidia.target.linux-aarch64.dependencies]
22+
cuda-toolkit = "12.*" # for compute-sanitizer etc.
23+
cuda-gdb = "12.*" # for GPU kernel debugging
24+
nsight-compute = "*" # interactive kernel profiling
25+
26+
[feature.nvidia.target.linux-aarch64.pypi-dependencies]
27+
torch = { version = "==2.9.0", index = "https://download.pytorch.org/whl/cu130" }
28+
nvidia-ml-py = "*"
29+
2130
[feature.amd]
2231
system-requirements = {}
2332

@@ -31,7 +40,7 @@ system-requirements = { macos = "15.0" }
3140
[dependencies]
3241
python = "==3.12"
3342
mojo = "<1.0.0" # includes `mojo-compiler`, lsp, debugger, formatter etc.
34-
max = "==26.2.0.dev2026020505"
43+
max = "==26.2.0.dev2026030205"
3544
bash = ">=5.2.21,<6"
3645
manim = ">=0.18.1,<0.19"
3746
mdbook = ">=0.4.48,<0.5"

0 commit comments

Comments
 (0)