From a07c2ad3aab8ac16a9cc2a8f29f697822053cee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danie=CC=88l=20de=20Kok?= Date: Thu, 9 Oct 2025 09:40:52 +0200 Subject: [PATCH] Switch to determinate installer, sandboxed build --- .github/workflows/build_kernel_rocm.yaml | 11 +++++++---- .github/workflows/build_kernel_xpu.yaml | 11 +++++++---- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_kernel_rocm.yaml b/.github/workflows/build_kernel_rocm.yaml index e1733706..bb951ad4 100644 --- a/.github/workflows/build_kernel_rocm.yaml +++ b/.github/workflows/build_kernel_rocm.yaml @@ -11,18 +11,21 @@ jobs: build: name: Build kernel runs-on: - group: aws-g6-12xlarge-plus + group: aws-highmemory-32-plus-nix steps: - uses: actions/checkout@v4 - - uses: cachix/install-nix-action@v27 + - uses: DeterminateSystems/nix-installer-action@main with: - nix_path: nixpkgs=channel:nixos-unstable + extra-conf: | + max-jobs = 4 + cores = 12 + sandbox-fallback = false - uses: cachix/cachix-action@v14 with: name: huggingface #authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" env: - USER: github_runner + USER: runner # For now we only test that there are no regressions in building ROCm # kernels. Also run tests once we have a ROCm runner. - name: Build relu kernel diff --git a/.github/workflows/build_kernel_xpu.yaml b/.github/workflows/build_kernel_xpu.yaml index e1ebc40e..c25d9527 100644 --- a/.github/workflows/build_kernel_xpu.yaml +++ b/.github/workflows/build_kernel_xpu.yaml @@ -11,18 +11,21 @@ jobs: build: name: Build kernel runs-on: - group: aws-g6-12xlarge-plus + group: aws-highmemory-32-plus-nix steps: - uses: actions/checkout@v4 - - uses: cachix/install-nix-action@v27 + - uses: DeterminateSystems/nix-installer-action@main with: - nix_path: nixpkgs=channel:nixos-unstable + extra-conf: | + max-jobs = 4 + cores = 12 + sandbox-fallback = false - uses: cachix/cachix-action@v14 with: name: huggingface #authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" env: - USER: github_runner + USER: runner # For now we only test that there are no regressions in building XPU # kernels. Also run tests once we have a XPU runner. - name: Build relu kernel