!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

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

Load older messages


SenderMessageTime
10 Aug 2024
@glepage:matrix.orgGaétan Lepage

Hey connor (he/him) (UTC-5),
I have a quick question regarding the torch update.
The CUDA build of pytorch now fails because of the addition of a new cuda capability 9.0a.

Someone suggested the following solutions:
https://github.com/NixOS/nixpkgs/pull/329836#issuecomment-2279508588

What is your opinion ?

20:58:59
@glepage:matrix.orgGaétan Lepage Should we remove the rm -rf cmake/Modules_CUDA_fix/{upstream,FindCUDA.cmake} line in our torch derivation or should we patch the regex in the cmake derivation to properly parse 9.0a ? 21:00:00
@connorbaker:matrix.orgconnor (he/him) (UTC-7)That seems familiar23:08:17
@connorbaker:matrix.orgconnor (he/him) (UTC-7)Oh maybe check these out23:08:27
@connorbaker:matrix.orgconnor (he/him) (UTC-7)https://github.com/ConnorBaker/nixpkgs/commits/feat/python3Packages.torch/23:08:31
@connorbaker:matrix.orgconnor (he/him) (UTC-7)I know I was looking at fixes for the torch derivation in general (I guess two months ago at this point now) and that was one of the things I ran into23:09:08
@connorbaker:matrix.orgconnor (he/him) (UTC-7)My preference is always to patch; IMHO Nixpkgs is a really easy way to reliably build these tools for cutting edge compute capabilities and I’d like that to continue23:10:00
11 Aug 2024
@glepage:matrix.orgGaétan LepageOk, thank you very much for sharing your patch !08:48:12
12 Aug 2024
@ss:someonex.netSomeoneSerge (utc+3) Kevin Mittman any idea why the softdep trick might not work with the open driver? $ sudo nvidia-settings
ERROR: libEGL setup error : libEGL.so.1: cannot open shared object file: No such file or directory
17:16:38
@ss:someonex.netSomeoneSerge (utc+3) * Kevin Mittman any idea why the softdep trick might not work with the open driver? $ sudo nvidia-settings
https://github.com/NixOS/nixpkgs/issues/334180#issuecomment-2284535323
17:16:47
@ss:someonex.netSomeoneSerge (utc+3) * Kevin Mittman any idea why the softdep trick might not work with the open driver?
https://github.com/NixOS/nixpkgs/issues/334180#issuecomment-2284535323
17:16:51
@ss:someonex.netSomeoneSerge (utc+3) * Kevin Mittman any idea why the softdep trick might not work with the open driver?
https://github.com/NixOS/nixpkgs/issues/334180
17:16:54
@connorbaker:matrix.orgconnor (he/him) (UTC-7)
In reply to @glepage:matrix.org
Ok, thank you very much for sharing your patch !
Please feel free to use more than just the patch too; it might be a while before I’m able to revisit that particular work
18:07:32
@connorbaker:matrix.orgconnor (he/him) (UTC-7)I’m probably going to be focused fairly heavily on Jetson related stuff for a while18:07:46
@accipiterx:matrix.org@accipiterx:matrix.org joined the room.21:00:17
13 Aug 2024
@connorbaker:matrix.orgconnor (he/him) (UTC-7) SomeoneSerge (UTC+3): I haven't had a chance to follow super closely, but for the aarch64-builders, do we have anything for CI beside the Hetzner instance I have? I'm trying to cut down on cloud infra I pay for so I can pay for my electricity bill (which is an order of magnitude more than I had budgeted for) 05:25:13
@connorbaker:matrix.orgconnor (he/him) (UTC-7)I'm not sure what the status of CUDA packages on the NixOS-community hydra is05:25:30
@accipiterx:matrix.org@accipiterx:matrix.org left the room.06:03:35
@ironbound:hackerspace.pl@ironbound:hackerspace.pl set a profile picture.07:58:42
@ss:someonex.netSomeoneSerge (utc+3)
In reply to @connorbaker:matrix.org
SomeoneSerge (UTC+3): I haven't had a chance to follow super closely, but for the aarch64-builders, do we have anything for CI beside the Hetzner instance I have? I'm trying to cut down on cloud infra I pay for so I can pay for my electricity bill (which is an order of magnitude more than I had budgeted for)

I think I disabled qemu because it was going out if proportion, so no. Disable howevermany jobsets you feel is necessary. Kill all the builders if it comes to.

I saw the community Hydra was recently merged a PR recovering the jobset, I think they're now trying it with limited parallelism

08:16:21
@ss:someonex.netSomeoneSerge (utc+3)

electricity bill ... order of magnitude higher

Oof, how does that happen. I've hit a ~4x in the winter once but because I'm bad at reading contracts, not because of infra...

08:20:17
@connorbaker:matrix.orgconnor (he/him) (UTC-7)Infra is just something I pay out of pocket for (it’s in the cloud so it’s not the electricity use I’m concerned about); I just need that money for my electricity bill lmao15:25:21
@connorbaker:matrix.orgconnor (he/him) (UTC-7)
In reply to @ss:someonex.net

electricity bill ... order of magnitude higher

Oof, how does that happen. I've hit a ~4x in the winter once but because I'm bad at reading contracts, not because of infra...

My electricity provider in California has surge pricing during peak hours, a base fee per day, and higher rates than what I had in Virginia so I’m quickly learning I need to live with the windows open and AC off lmao
15:26:13
14 Aug 2024
@peddie:matrix.orgpeddie changed their profile picture.00:34:49
@caniko:matrix.orgcaniko joined the room.18:33:39
@caniko:matrix.orgcanikoHello, nix is still building cuda even though I setup cuda-maintainers.18:34:24
@caniko:matrix.orgcanikoI am on nixos, and using flakes18:34:32
@caniko:matrix.orgcaniko
  nix.settings = {
    substituters = [
      "https://cuda-maintainers.cachix.org"
    ];
    trusted-public-keys = [
      "cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
    ];
  };
  # nixpkgs.config.cudaSupport = true;
}```
18:34:52
@caniko:matrix.orgcanikoI had to comment it out...18:35:08
@ss:someonex.netSomeoneSerge (utc+3)
In reply to @caniko:matrix.org
Hello, nix is still building cuda even though I setup cuda-maintainers.
This must mean that your particular revision wasn't cached
18:37:41

Show newer messages


Back to Room ListRoom Version: 9