!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

282 Members
CUDA packages maintenance and support in nixpkgs | https://github.com/orgs/NixOS/projects/27/ | https://nixos.org/manual/nixpkgs/unstable/#cuda58 Servers

Load older messages


SenderMessageTime
13 Jan 2025
@ruroruro:matrix.orgruro *

On a related note does anybody know, what's up with the Eval Errors on the nix-community cuda job?

Looking at this tab, it seems that most eval errors are caused by the fact that release-cuda.nix just tries to indiscriminately build everything in cudaPackages.

  • 119 of those errors are caused by the fact that TensorRT has an "unfree" license (and it can't be built in CI anyway, because you need to manually download the tarballs)
  • 101 errors are due to some of the cudnn_* packages being marked as broken (I think that for most of them, its because "CUDA version is too new" or "CUDA version is too old").
  • 15 errors are due to cuda-samples, colmap and deepin.image-editor packages depending on freeimage-unstable-2021-11-01 which is marked as insecure
  • 13 errors are due to some of the nvidia_driver packages being marked as broken (because "Package is not supported; use drivers from linuxPackages")
  • 4 errors are due to some of the nsight_systems packages being marked as broken (because "CUDA too old (<11.8)")
  • 4 errors are due to CUDA 10 being removed from nixpkgs, but still being accessible via cudaPackages_10{,_0,_1,_2}
  • 2 errors are due to boxx and bpycv depending on fn which doesn't work with python>=3.11

And the following individual packages are also failing to eval:

  • pixinsight because it is "unfree"
  • mxnet because it was marked as broken in #173463
  • truecrack-cuda because it was marked as broken in #167250
  • pymc because it depends on pytensor which is marked as broken (0 clues, why nix-community hydra thinks so, it seemed to work for me locally)
  • Theano because it was removed from nixpkgs, but is still accessible (and listed in release-cuda.nix)
  • tts because it depends on a -bin version of pytorch for some reason, which is "unfree" (bsd3 issl unfreeRedistributable)

Interestingly, the "Evaluation Errors" tabs of individual job runs are empty for some reason

15:23:52
@ruroruro:matrix.orgruro *

On a related note does anybody know, what's up with the Eval Errors on the nix-community cuda job?

Looking at this tab, it seems that most eval errors are caused by the fact that release-cuda.nix just tries to indiscriminately build everything in cudaPackages.

  • 119 of those errors are caused by the fact that TensorRT has an "unfree" license (and it can't be built in CI anyway, because you need to manually download the tarballs)
  • 101 errors are due to some of the cudnn_* packages being marked as broken (I think that for most of them, its because "CUDA version is too new" or "CUDA version is too old").
  • 15 errors are due to cuda-samples, colmap and deepin.image-editor packages depending on freeimage-unstable-2021-11-01 which is marked as insecure
  • 13 errors are due to some of the nvidia_driver packages being marked as broken (because "Package is not supported; use drivers from linuxPackages")
  • 4 errors are due to some of the nsight_systems packages being marked as broken (because "CUDA too old (<11.8)")
  • 4 errors are due to CUDA 10 being removed from nixpkgs, but still being accessible via cudaPackages_10{,_0,_1,_2}
  • 2 errors are due to boxx and bpycv depending on fn which doesn't work with python>=3.11

And the following individual packages are also failing to eval:

  • pixinsight because it is "unfree"
  • mxnet because it was marked as broken in #173463
  • truecrack-cuda because it was marked as broken in #167250
  • pymc because it depends on pytensor which was marked as broken in #373239
  • Theano because it was removed from nixpkgs, but is still accessible (and listed in release-cuda.nix)
  • tts because it depends on a -bin version of pytorch for some reason, which is "unfree" (bsd3 issl unfreeRedistributable)

Interestingly, the "Evaluation Errors" tabs of individual job runs are empty for some reason

15:26:04
@connorbaker:matrix.orgconnor (he/him)

Excellent questions and ideas!

You’re correct that CUDA packages are broken more often than other packages — we don’t get the benefit of any of the tooling Nixpkgs CI provides.

I’m all for Hydra integrations to make that information more visible, but I fear it won’t prevent breakages since those are usually caught when maintainers run Nixpkgs-review, and they don’t typically enable CUDA support from what I can tell.

I think evaluation only checks are very reasonable for upstream.

I’m not sure what would be involved in getting the community builders to build CUDA packages (especially given some of their licenses and the fact that CUDA packages tend to be resource intensive to build).

We do have a CUDA project board on GitHub, but nothing solely for build failures IIRC.

I haven’t had the chance to follow what’s happening with the Nix community Hydra :(

15:50:21
@ruroruro:matrix.orgruro I am honestly not too familiar with the internals of nixpkgs-review and other CI/automation tooling. The nixpkgs-review README states that it uses ofborg evaluation results do determine, what needs to be built. I wonder if release-cuda.nix could be included in ofborg (and consequently nixpkgs-review) without making hydra.nixos.org build it& 16:03:37
@ruroruro:matrix.orgruro * I am honestly not too familiar with the internals of nixpkgs-review and other CI/automation tooling. The nixpkgs-review README states that it uses ofborg evaluation results do determine, what needs to be built. I wonder if release-cuda.nix could be included in ofborg (and consequently nixpkgs-review) without making hydra.nixos.org build it? 16:03:40
@ruroruro:matrix.orgruro * I am honestly not too familiar with the internals of nixpkgs-review and other CI/automation tooling. The nixpkgs-review README states that it uses ofborg evaluation results to determine, what needs to be built. I wonder if release-cuda.nix could be included in ofborg (and consequently nixpkgs-review) without making hydra.nixos.org build it? 16:05:22
14 Jan 2025
@connorbaker:matrix.orgconnor (he/him) When doing review for CUDA that hasn’t been my experience; eval happens locally, consumes a bunch of memory, and then builds stuff
On the other hand, I haven’t run Nixpkgs-review for CUDA stuff since I split it out into a separate repository
04:14:00
@msanft:matrix.orgMoritz SanftDoes anyone of you have some spare time to review https://github.com/NixOS/nixpkgs/pull/372320? It fixes a silly mistake I made in another PR when writing a patch for libnvidia-container, which unfortunately causes libnvidia-container to segfault under certain conditions. Could possibly mark this as security too, as it's memory corruption :/08:14:41
@connorbaker:matrix.orgconnor (he/him) I’m assuming you kept the if expression to minimize the diff in the patch? Otherwise I’d recommend removing it entirely since the condition will always be false. 16:51:02
@connorbaker:matrix.orgconnor (he/him)Merged16:58:29
@maxwell325:matrix.org@maxwell325:matrix.org left the room.22:41:36
15 Jan 2025
@msanft:matrix.orgMoritz Sanft
In reply to@connorbaker:matrix.org
I’m assuming you kept the if expression to minimize the diff in the patch? Otherwise I’d recommend removing it entirely since the condition will always be false.
exactly. Minimizes the room for human error here imo.
07:23:03
@ss:someonex.netSomeoneSerge (back on matrix) changed their display name from SomeoneSerge (utc+3) to SomeoneSerge.19:02:40
16 Jan 2025
@connorbaker:matrix.orgconnor (he/him)if anyone enjoys the process of bumping opencv looks like 4.11 is out now (master is still using 4.9)07:51:29
@glepage:matrix.orgGaétan LepageHas to happen on staging right ?07:52:29
@connorbaker:matrix.orgconnor (he/him)I think so due to the number of rebuilds07:54:12
@connorbaker:matrix.orgconnor (he/him)Good news is that 4.10 fixes compilation with CUDA 12.3+07:54:34
18 Jan 2025
@connorbaker:matrix.orgconnor (he/him) just updated https://github.com/connorbaker/nix-cuda-test to use the latest changes in https://github.com/ConnorBaker/cuda-packages, which include getting rid of the need for a custom CUDA stdenv 08:51:19
@connorbaker:matrix.orgconnor (he/him)At least, I’m fairly certain I’ve implemented it that way. I’ve also got a setup hook which checks for RPATHs in produced libraries that match library directories from NVCC’s host compiler09:35:02
@glepage:matrix.orgGaétan Lepage
In reply to @connorbaker:matrix.org
if anyone enjoys the process of bumping opencv looks like 4.11 is out now (master is still using 4.9)
I'm looking for some reviewers ;)
https://github.com/NixOS/nixpkgs/pull/374246
09:45:39
@connorbaker:matrix.orgconnor (he/him)I’ll try to take a look this weekend to see if I can help with the tests/fill the missing hashes09:53:14
@hexa:lossy.networkhexa connor (he/him) (UTC-7): can you respond to the commonts on the onnxruntime PR? https://github.com/NixOS/nixpkgs/pull/364362 14:49:05
@hexa:lossy.networkhexaI think it is only blocked on those, and I'd like to build upon the PR14:49:22
@connorbaker:matrix.orgconnor (he/him)How are there so many rebuilds for that PR? Is it taking the number of rebuilds against master?18:38:30
@hexa:lossy.networkhexaeigen18:49:16
@hexa:lossy.networkhexa* that is due to the eigen bump18:49:22
@hexa:lossy.networkhexa* that is due to the eigen bump, I believe18:52:05
@glepage:matrix.orgGaétan LepageOn which infra are the cuda derivations (which since a few months, are cached on the nix-community cachix) built ?22:57:27
19 Jan 2025
@swordofthemorning:matrix.orgSword joined the room.04:21:18
@hexa:lossy.networkhexahttps://hydra.nix-community.org/project/nixpkgs16:10:02

Show newer messages


Back to Room ListRoom Version: 9