Skip to content

tests.cuda: inherit the ready cudaPackages_XX.cuda-samples - #280386

Merged
SomeoneSerge merged 3 commits into
NixOS:masterfrom
SomeoneSerge:fix/tests.cuda
Jan 15, 2024
Merged

SomeoneSerge merged 3 commits into
NixOS:masterfrom
SomeoneSerge:fix/tests.cuda

Conversation

@SomeoneSerge

@SomeoneSerge SomeoneSerge commented Jan 12, 2024 •

Copy link
Copy Markdown
Contributor

...fixing the broken eval

Hotfix for #280377 but should probably also move the extension.nix out of pkgs/test (#279703)

I don't know what the original purpose of tests.cuda was so I won't be deleting it yet

Description of changes

Things done

❯ NIXPKGS_ALLOW_UNFREE=1 NIXPKGS_ALLOW_BROKEN=1 nix-instantiate '.' -A tests.cuda
/nix/store/ypb8k50c80aqspndllkzxv35w8ix47q8-cuda-samples-11.8.drv
/nix/store/8wq9wwiqpfx2nw9lppfd8bw1pqyiligd-saxpy-unstable-2023-07-11.drv
/nix/store/r2sjw4gzalg64ycig2hlpj5q7ijr286w-cuda-samples-10.2.drv
/nix/store/0njpigfn8mw5pzyl614gppra1knia625-saxpy-unstable-2023-07-11.drv
/nix/store/bspyim2jhp20q7fn5fd00w4r65qb66ax-cuda-samples-10.0.drv
/nix/store/wqvv76vkl6afw593vajr24g5ixlflb19-saxpy-unstable-2023-07-11.drv
/nix/store/5wwm34igagw3dw9hv5534yk407kf28yi-cuda-samples-10.1.drv
/nix/store/anmhqzna231clgxn9p98cd0m7zrwjrkz-saxpy-unstable-2023-07-11.drv
/nix/store/ask5qjihgr5hh6vcfypsb3652rs3p6k0-cuda-samples-11.0.drv
/nix/store/4nbvhllxcdcks7rdljl1fx1n55wgv6yq-saxpy-unstable-2023-07-11.drv
/nix/store/dx0g58zn8d544p55h6kcghkg6d4ymm75-cuda-samples-11.1.drv
/nix/store/cvy3s1crn079cl5pjrnfrww6w40qc87w-saxpy-unstable-2023-07-11.drv
/nix/store/yx3x9nbd8qidzjddl4kpcfly0i0hvvlx-cuda-samples-11.2.drv
/nix/store/zm04jcp0ragz40p12qhkam70xijbdvij-saxpy-unstable-2023-07-11.drv
/nix/store/r0lksaapxv6iqxn87bwdk9jcd2zwpcsx-cuda-samples-11.3.drv
/nix/store/pvbbv91apfz0n05d67vmaph7x17ibhr8-saxpy-unstable-2023-07-11.drv
/nix/store/k52njhmxjs2fwhl2nlqvlr0gd5dshb60-cuda-samples-11.4.drv
/nix/store/5cxp98pxicv2mdihgkha4jci82mxr09z-saxpy-unstable-2023-07-11.drv
/nix/store/8d4y5h8azk34rwgycvqkwjfsdz9j784j-cuda-samples-11.5.drv
/nix/store/6qfsfxbkvc8f262llqk8nkx1q5s3i5hw-saxpy-unstable-2023-07-11.drv
/nix/store/af1dir2cnp2xsjk69d6lydpylx76g2d6-cuda-samples-11.6.drv
/nix/store/83vz29jarcknlnrcgl0kzs6lhjq56z68-saxpy-unstable-2023-07-11.drv
/nix/store/7ad9i66qm00zyp62h0lh3fl8kc23nlg6-saxpy-unstable-2023-07-11.drv
/nix/store/8x3k8p6dv2c4gsyhx1wqdgrq3530lvfm-cuda-samples-12.0.drv
/nix/store/bp6y6msd6n9vdb5yfzzrcbj54xn4ibnp-saxpy-unstable-2023-07-11.drv
/nix/store/pm2g3ync2x3r2rs840p90035ija2z6w8-cuda-samples-12.1.drv
/nix/store/l2cxaawhis7fnkf1qlsmrj4yb8ngp03x-saxpy-unstable-2023-07-11.drv
/nix/store/7dw9zyx9p0qi8f5s79034kdvi4m7v6sm-cuda-samples-12.2.drv
/nix/store/2mfsr2pa56b5flbsqi4pyv8fxfcy928g-saxpy-unstable-2023-07-11.drv
/nix/store/x4vzwhig1ki2k0jmdvqrsxyckr3i6drw-cuda-samples-12.3.drv
/nix/store/c0h5wlgrgnwmxy624xs2srzfggm0vxsn-saxpy-unstable-2023-07-11.drv
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@SomeoneSerge
SomeoneSerge force-pushed the fix/tests.cuda branch 2 times, most recently from c03579d to 5dcc8b1 Compare January 12, 2024 00:21
@ofborg ofborg Bot added the 8.has: package (new) This PR adds a new package label Jan 12, 2024
@ofborg
ofborg Bot requested review from ConnorBaker and samuela January 12, 2024 03:19
@ofborg ofborg Bot added 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Jan 12, 2024
@ConnorBaker ConnorBaker added the 6.topic: cuda Parallel computing platform and API label Jan 12, 2024
@ConnorBaker

ConnorBaker commented Jan 12, 2024 •

Copy link
Copy Markdown
Contributor

aarch64-darwin

PR=280386; \
SYSTEM="aarch64-darwin"; \
CUDA_SUPPORT="false"; \
CUDA_CAPABILITIES='[ ]'; \
nixpkgs-review pr "$PR" \
  --system "$SYSTEM" \
  --no-shell \
  --checkout commit \
  --allow aliases \
  --build-args "--max-jobs 1" \
  --skip-package-regex 'python3(\d){1,2}Packages\.(pytorch-pfn-extras|ffcv)' \
  --skip-package-regex 'python3(\d){1,2}Packages\.(shap|mlflow|optuna)' \
  --extra-nixpkgs-config "{
    allowUnfree = true;
    allowBroken = false;
    cudaSupport = ${CUDA_SUPPORT:-false};
    cudaCapabilities = ${CUDA_CAPABILITIES:-[]};
  }"

Result of nixpkgs-review pr 280386 --extra-nixpkgs-config '{ allowUnfree = true; allowBroken = false; cudaSupport = false; cudaCapabilities = [ ]; }' run on aarch64-darwin 1

21 packages marked as broken and skipped:
  • tests.cuda.cudaPackages.saxpy
  • tests.cuda.cudaPackagesGoogle.saxpy
  • tests.cuda.cudaPackages_10.saxpy
  • tests.cuda.cudaPackages_10_0.saxpy
  • tests.cuda.cudaPackages_10_1.saxpy
  • tests.cuda.cudaPackages_10_2.saxpy
  • tests.cuda.cudaPackages_11.saxpy
  • tests.cuda.cudaPackages_11_0.saxpy
  • tests.cuda.cudaPackages_11_1.saxpy
  • tests.cuda.cudaPackages_11_2.saxpy
  • tests.cuda.cudaPackages_11_3.saxpy
  • tests.cuda.cudaPackages_11_4.saxpy
  • tests.cuda.cudaPackages_11_5.saxpy
  • tests.cuda.cudaPackages_11_6.saxpy
  • tests.cuda.cudaPackages_11_7.saxpy
  • tests.cuda.cudaPackages_11_8.saxpy
  • tests.cuda.cudaPackages_12.saxpy
  • tests.cuda.cudaPackages_12_0.saxpy
  • tests.cuda.cudaPackages_12_1.saxpy
  • tests.cuda.cudaPackages_12_2.saxpy
  • tests.cuda.cudaPackages_12_3.saxpy

x86_64-darwin

PR=280386; \
SYSTEM="x86_64-darwin"; \
CUDA_SUPPORT="false"; \   
CUDA_CAPABILITIES='[ ]'; \      
nixpkgs-review pr "$PR" \                                             
  --system "$SYSTEM" \       
  --no-shell \                                         
  --checkout commit \
  --allow aliases \
  --build-args "--max-jobs 1" \
  --skip-package-regex 'python3(\d){1,2}Packages\.(pytorch-pfn-extras|ffcv)' \
  --skip-package-regex 'python3(\d){1,2}Packages\.(shap|mlflow|optuna)' \
  --extra-nixpkgs-config "{
    allowUnfree = true;
    allowBroken = false;
    cudaSupport = ${CUDA_SUPPORT:-false};
    cudaCapabilities = ${CUDA_CAPABILITIES:-[]};
  }"

Result of nixpkgs-review pr 280386 --extra-nixpkgs-config '{ allowUnfree = true; allowBroken = false; cudaSupport = false; cudaCapabilities = [ ]; }' run on x86_64-darwin 1

21 packages marked as broken and skipped:
  • tests.cuda.cudaPackages.saxpy
  • tests.cuda.cudaPackagesGoogle.saxpy
  • tests.cuda.cudaPackages_10.saxpy
  • tests.cuda.cudaPackages_10_0.saxpy
  • tests.cuda.cudaPackages_10_1.saxpy
  • tests.cuda.cudaPackages_10_2.saxpy
  • tests.cuda.cudaPackages_11.saxpy
  • tests.cuda.cudaPackages_11_0.saxpy
  • tests.cuda.cudaPackages_11_1.saxpy
  • tests.cuda.cudaPackages_11_2.saxpy
  • tests.cuda.cudaPackages_11_3.saxpy
  • tests.cuda.cudaPackages_11_4.saxpy
  • tests.cuda.cudaPackages_11_5.saxpy
  • tests.cuda.cudaPackages_11_6.saxpy
  • tests.cuda.cudaPackages_11_7.saxpy
  • tests.cuda.cudaPackages_11_8.saxpy
  • tests.cuda.cudaPackages_12.saxpy
  • tests.cuda.cudaPackages_12_0.saxpy
  • tests.cuda.cudaPackages_12_1.saxpy
  • tests.cuda.cudaPackages_12_2.saxpy
  • tests.cuda.cudaPackages_12_3.saxpy

x86_64-linux

CUDA (Non-Jetson)

 PR=280386; \
SYSTEM="x86_64-linux"; \
CUDA_SUPPORT="true"; \
CUDA_CAPABILITIES='[ "7.2" ]'; \
nixpkgs-review pr "$PR" \
  --system "$SYSTEM" \
  --no-shell \
  --checkout commit \
  --allow aliases \
  --build-args "--max-jobs 1" \
  --skip-package-regex 'python3(\d){1,2}Packages\.(pytorch-pfn-extras|ffcv)' \
  --skip-package-regex 'python3(\d){1,2}Packages\.(shap|mlflow|optuna)' \
  --extra-nixpkgs-config "{
    allowUnfree = true;
    allowBroken = false;
    cudaSupport = ${CUDA_SUPPORT:-false};
    cudaCapabilities = ${CUDA_CAPABILITIES:-[]};
  }"

Result of nixpkgs-review pr 280386 --extra-nixpkgs-config '{ allowUnfree = true; allowBroken = false; cudaSupport = true; cudaCapabilities = [ "7.2" ]; }' run on x86_64-linux 1

13 packages marked as broken and skipped:
  • tests.cuda.cudaPackages.saxpy
  • tests.cuda.cudaPackagesGoogle.saxpy
  • tests.cuda.cudaPackages_11.saxpy
  • tests.cuda.cudaPackages_11_4.saxpy
  • tests.cuda.cudaPackages_11_5.saxpy
  • tests.cuda.cudaPackages_11_6.saxpy
  • tests.cuda.cudaPackages_11_7.saxpy
  • tests.cuda.cudaPackages_11_8.saxpy
  • tests.cuda.cudaPackages_12.saxpy
  • tests.cuda.cudaPackages_12_0.saxpy
  • tests.cuda.cudaPackages_12_1.saxpy
  • tests.cuda.cudaPackages_12_2.saxpy
  • tests.cuda.cudaPackages_12_3.saxpy
12 packages failed to build:
  • tests.cuda.cudaPackages_10.cuda-samples (tests.cuda.cudaPackages_10_2.cuda-samples)
  • tests.cuda.cudaPackages_11_0.cuda-samples
  • tests.cuda.cudaPackages_11_1.cuda-samples
  • tests.cuda.cudaPackages_11_2.cuda-samples
  • tests.cuda.cudaPackages_11_3.cuda-samples
  • tests.cuda.cudaPackages_11_4.cuda-samples
  • tests.cuda.cudaPackages_11_5.cuda-samples
  • tests.cuda.cudaPackages_11_6.cuda-samples
  • tests.cuda.cudaPackages_12.cuda-samples (tests.cuda.cudaPackages_12_0.cuda-samples)
  • tests.cuda.cudaPackages_12_1.cuda-samples
  • tests.cuda.cudaPackages_12_2.cuda-samples
  • tests.cuda.cudaPackages_12_3.cuda-samples
10 packages built:
  • tests.cuda.cudaPackages.cuda-samples (tests.cuda.cudaPackagesGoogle.cuda-samples ,tests.cuda.cudaPackages_11.cuda-samples ,tests.cuda.cudaPackages_11_8.cuda-samples)
  • tests.cuda.cudaPackages_10.saxpy (tests.cuda.cudaPackages_10_2.saxpy)
  • tests.cuda.cudaPackages_10_0.cuda-samples
  • tests.cuda.cudaPackages_10_0.saxpy
  • tests.cuda.cudaPackages_10_1.cuda-samples
  • tests.cuda.cudaPackages_10_1.saxpy
  • tests.cuda.cudaPackages_11_0.saxpy
  • tests.cuda.cudaPackages_11_1.saxpy
  • tests.cuda.cudaPackages_11_2.saxpy
  • tests.cuda.cudaPackages_11_3.saxpy

Non-CUDA

PR=280386; \
SYSTEM="x86_64-linux"; \
CUDA_SUPPORT="false"; \
CUDA_CAPABILITIES='[ ]'; \
nixpkgs-review pr "$PR" \
  --system "$SYSTEM" \
  --no-shell \
  --checkout commit \
  --allow aliases \
  --build-args "--max-jobs 1" \
  --skip-package-regex 'python3(\d){1,2}Packages\.(pytorch-pfn-extras|ffcv)' \
  --skip-package-regex 'python3(\d){1,2}Packages\.(shap|mlflow|optuna)' \
  --extra-nixpkgs-config "{
    allowUnfree = true;
    allowBroken = false;
    cudaSupport = ${CUDA_SUPPORT:-false};
    cudaCapabilities = ${CUDA_CAPABILITIES:-[]};
  }"

Result of nixpkgs-review pr 280386 --extra-nixpkgs-config '{ allowUnfree = true; allowBroken = false; cudaSupport = false; cudaCapabilities = [ ]; }' run on x86_64-linux 1

12 packages failed to build:
  • tests.cuda.cudaPackages_10.cuda-samples (tests.cuda.cudaPackages_10_2.cuda-samples)
  • tests.cuda.cudaPackages_11_0.cuda-samples
  • tests.cuda.cudaPackages_11_1.cuda-samples
  • tests.cuda.cudaPackages_11_2.cuda-samples
  • tests.cuda.cudaPackages_11_3.cuda-samples
  • tests.cuda.cudaPackages_11_4.cuda-samples
  • tests.cuda.cudaPackages_11_5.cuda-samples
  • tests.cuda.cudaPackages_11_6.cuda-samples
  • tests.cuda.cudaPackages_12.cuda-samples (tests.cuda.cudaPackages_12_0.cuda-samples)
  • tests.cuda.cudaPackages_12_1.cuda-samples
  • tests.cuda.cudaPackages_12_2.cuda-samples
  • tests.cuda.cudaPackages_12_3.cuda-samples
19 packages built:
  • tests.cuda.cudaPackages.cuda-samples (tests.cuda.cudaPackagesGoogle.cuda-samples ,tests.cuda.cudaPackages_11.cuda-samples ,tests.cuda.cudaPackages_11_8.cuda-samples)
  • tests.cuda.cudaPackages.saxpy (tests.cuda.cudaPackagesGoogle.saxpy ,tests.cuda.cudaPackages_11.saxpy ,tests.cuda.cudaPackages_11_8.saxpy)
  • tests.cuda.cudaPackages_10.saxpy (tests.cuda.cudaPackages_10_2.saxpy)
  • tests.cuda.cudaPackages_10_0.cuda-samples
  • tests.cuda.cudaPackages_10_0.saxpy
  • tests.cuda.cudaPackages_10_1.cuda-samples
  • tests.cuda.cudaPackages_10_1.saxpy
  • tests.cuda.cudaPackages_11_0.saxpy
  • tests.cuda.cudaPackages_11_1.saxpy
  • tests.cuda.cudaPackages_11_2.saxpy
  • tests.cuda.cudaPackages_11_3.saxpy
  • tests.cuda.cudaPackages_11_4.saxpy
  • tests.cuda.cudaPackages_11_5.saxpy
  • tests.cuda.cudaPackages_11_6.saxpy
  • tests.cuda.cudaPackages_11_7.saxpy
  • tests.cuda.cudaPackages_12.saxpy (tests.cuda.cudaPackages_12_0.saxpy)
  • tests.cuda.cudaPackages_12_1.saxpy
  • tests.cuda.cudaPackages_12_2.saxpy
  • tests.cuda.cudaPackages_12_3.saxpy

aarch64-linux

❌ CUDA (Jetson)

PR=280386; \
SYSTEM="aarch64-linux"; \
CUDA_SUPPORT="true"; \
CUDA_CAPABILITIES='[ "7.2" ]'; \
nixpkgs-review pr "$PR" \
  --system "$SYSTEM" \
  --no-shell \
  --checkout commit \
  --allow aliases \
  --build-args "--max-jobs 1" \
  --skip-package-regex 'python3(\d){1,2}Packages\.(pytorch-pfn-extras|ffcv)' \
  --skip-package-regex 'python3(\d){1,2}Packages\.(shap|mlflow|optuna)' \
  --extra-nixpkgs-config "{
    allowUnfree = true;
    allowBroken = false;
    cudaSupport = ${CUDA_SUPPORT:-false};
    cudaCapabilities = ${CUDA_CAPABILITIES:-[]};
  }"
$ git -c fetch.prune=false fetch --no-tags --force https://github.com/NixOS/nixpkgs master:refs/nixpkgs-review/0 pull/280386/head:refs/nixpkgs-review/1
remote: Enumerating objects: 47, done.
remote: Counting objects: 100% (38/38), done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 47 (delta 23), reused 31 (delta 20), pack-reused 9
Unpacking objects: 100% (47/47), 378.31 KiB | 2.98 MiB/s, done.
From https://github.com/NixOS/nixpkgs
   e9fbdb3d4509..3101832cd8dd  master     -> refs/nixpkgs-review/0
$ git worktree add /root/.cache/nixpkgs-review/pr-280386-4/nixpkgs 5dcc8b1be0063462e23e0d79112cf875f6ec2150
Preparing worktree (detached HEAD 5dcc8b1be006)
Updating files: 100% (38863/38863), done.
HEAD is now at 5dcc8b1be006 cudaPackages.cuda{,-library}-samples: move to cuda-modules/
error:
       … in the right operand of the OR (||) operator

         at /nix/store/rkj08j2xl7gy6j2pn3rahfi4s6m6db5z-nixpkgs-review-2.10.3/lib/python3.11/site-packages/nixpkgs_review/nix/evalAttrs.nix:34:28:

           33|           maybePath = tryEval "${lib.getOutput output pkg}";
           34|           broken = !exists || !maybePath.success;
             |                            ^
           35|         in

       … in the argument of the not operator

         at «none»:0: (source not available)

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: attribute 'dev' missing

       at /root/.cache/nixpkgs-review/pr-280386-4/nixpkgs/pkgs/development/cuda-modules/saxpy/default.nix:39:7:

           38|     ++ lib.optionals (lib.versionAtLeast cudaVersion "11.4") [
           39|       libcublas.dev
             |       ^
           40|       libcublas.lib
       Did you mean env?
https://github.com/NixOS/nixpkgs/pull/280386 failed to build: nix --extra-experimental-features nix-command no-url-literals --system aarch64-linux eval --nix-path nixpkgs=/root/.cache/nixpkgs-review/pr-280386-4/nixpkgs nixpkgs-overlays=/tmp/tmp2obqsoje --json --impure --no-allow-import-from-derivation --expr (import /nix/store/rkj08j2xl7gy6j2pn3rahfi4s6m6db5z-nixpkgs-review-2.10.3/lib/python3.11/site-packages/nixpkgs_review/nix/evalAttrs.nix { attr-json = /tmp/tmplfriqicl; }) failed to run, /tmp/tmplfriqicl was stored inspection

CUDA (Non-Jetson)

PR=280386; \
SYSTEM="aarch64-linux"; \
CUDA_SUPPORT="true"; \
CUDA_CAPABILITIES='[ "7.5" ]'; \
nixpkgs-review pr "$PR" \
  --system "$SYSTEM" \
  --no-shell \
  --checkout commit \
  --allow aliases \
  --build-args "--max-jobs 1" \
  --skip-package-regex 'python3(\d){1,2}Packages\.(pytorch-pfn-extras|ffcv)' \
  --skip-package-regex 'python3(\d){1,2}Packages\.(shap|mlflow|optuna)' \
  --extra-nixpkgs-config "{
    allowUnfree = true;
    allowBroken = false;
    cudaSupport = ${CUDA_SUPPORT:-false};
    cudaCapabilities = ${CUDA_CAPABILITIES:-[]};
  }"

Result of nixpkgs-review pr 280386 --extra-nixpkgs-config '{ allowUnfree = true; allowBroken = false; cudaSupport = true; cudaCapabilities = [ "7.5" ]; }' run on aarch64-linux 1

8 packages marked as broken and skipped:
  • tests.cuda.cudaPackages_10.saxpy
  • tests.cuda.cudaPackages_10_0.saxpy
  • tests.cuda.cudaPackages_10_1.saxpy
  • tests.cuda.cudaPackages_10_2.saxpy
  • tests.cuda.cudaPackages_11_0.saxpy
  • tests.cuda.cudaPackages_11_1.saxpy
  • tests.cuda.cudaPackages_11_2.saxpy
  • tests.cuda.cudaPackages_11_3.saxpy
9 packages built:
  • tests.cuda.cudaPackages.saxpy (tests.cuda.cudaPackagesGoogle.saxpy ,tests.cuda.cudaPackages_11.saxpy ,tests.cuda.cudaPackages_11_8.saxpy)
  • tests.cuda.cudaPackages_11_4.saxpy
  • tests.cuda.cudaPackages_11_5.saxpy
  • tests.cuda.cudaPackages_11_6.saxpy
  • tests.cuda.cudaPackages_11_7.saxpy
  • tests.cuda.cudaPackages_12.saxpy (tests.cuda.cudaPackages_12_0.saxpy)
  • tests.cuda.cudaPackages_12_1.saxpy
  • tests.cuda.cudaPackages_12_2.saxpy
  • tests.cuda.cudaPackages_12_3.saxpy

Non-CUDA

PR=280386; \
SYSTEM="aarch64-linux"; \
CUDA_SUPPORT="false"; \
CUDA_CAPABILITIES='[ ]'; \
nixpkgs-review pr "$PR" \
  --system "$SYSTEM" \
  --no-shell \
  --checkout commit \
  --allow aliases \
  --build-args "--max-jobs 1" \
  --skip-package-regex 'python3(\d){1,2}Packages\.(pytorch-pfn-extras|ffcv)' \
  --skip-package-regex 'python3(\d){1,2}Packages\.(shap|mlflow|optuna)' \
  --extra-nixpkgs-config "{
    allowUnfree = true;
    allowBroken = false;
    cudaSupport = ${CUDA_SUPPORT:-false};
    cudaCapabilities = ${CUDA_CAPABILITIES:-[]};
  }"

Result of nixpkgs-review pr 280386 --extra-nixpkgs-config '{ allowUnfree = true; allowBroken = false; cudaSupport = false; cudaCapabilities = [ ]; }' run on aarch64-linux 1

8 packages marked as broken and skipped:
  • tests.cuda.cudaPackages_10.saxpy
  • tests.cuda.cudaPackages_10_0.saxpy
  • tests.cuda.cudaPackages_10_1.saxpy
  • tests.cuda.cudaPackages_10_2.saxpy
  • tests.cuda.cudaPackages_11_0.saxpy
  • tests.cuda.cudaPackages_11_1.saxpy
  • tests.cuda.cudaPackages_11_2.saxpy
  • tests.cuda.cudaPackages_11_3.saxpy
9 packages built:
  • tests.cuda.cudaPackages.saxpy (tests.cuda.cudaPackagesGoogle.saxpy ,tests.cuda.cudaPackages_11.saxpy ,tests.cuda.cudaPackages_11_8.saxpy)
  • tests.cuda.cudaPackages_11_4.saxpy
  • tests.cuda.cudaPackages_11_5.saxpy
  • tests.cuda.cudaPackages_11_6.saxpy
  • tests.cuda.cudaPackages_11_7.saxpy
  • tests.cuda.cudaPackages_12.saxpy (tests.cuda.cudaPackages_12_0.saxpy)
  • tests.cuda.cudaPackages_12_1.saxpy
  • tests.cuda.cudaPackages_12_2.saxpy
  • tests.cuda.cudaPackages_12_3.saxpy

@ConnorBaker

ConnorBaker commented Jan 12, 2024 •

Copy link
Copy Markdown
Contributor

A few things from the build summary above:

@SomeoneSerge the only thing concerning to me is the eval error for aarch64-linux targeting Jetson. Once that's fixed I'm fine with merging this as a hot fix for tests eval. Thoughts?

EDIT:

I'm actually not sure what's causing the evaluation failure with nixpkgs-review for Jetson on aarch64-linux. I was able to build all of dev output of all supported versions of libcublas without issue with this config

{
      allowUnfree = true;
      allowBroken = false;
      cudaSupport = true;
      cudaCapabilities = [ "7.5" ];
}

using

nom build --impure .#cudaPackages_{11_{4..8},12_{0..3}}.libcublas.dev --no-link

@SomeoneSerge

Copy link
Copy Markdown
Contributor Author

I think jetson is out of scope for this PR? Has anyone previously ever built tests.cuda for jetsons or at all?

@ConnorBaker

Copy link
Copy Markdown
Contributor

I think jetson is out of scope for this PR? Has anyone previously ever built tests.cuda for jetsons or at all?

True, but I'm concerned that if we merge this as-is, nixpkgs-review won't work for aarch64-linux when targeting Jetsons. Although I suppose that could be a followup fix. What do you think?

@SomeoneSerge

This comment was marked as outdated.

@ConnorBaker

This comment was marked as outdated.

@SomeoneSerge

Copy link
Copy Markdown
Contributor Author

@ConnorBaker leftover throws:

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: autoAddCudaCompatRunpathHook: No cuda_compat for CUDA 11.4

@ofborg ofborg Bot added the 8.has: clean-up This PR removes packages or removes other cruft label Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: cuda Parallel computing platform and API 8.has: clean-up This PR removes packages or removes other cruft 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants