!eWOErHSaiddIbsUNsJ:nixos.org

NixOS CUDA

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

You have reached the beginning of time (for this room).


SenderMessageTime
6 Mar 2026
@h4k:matrix.orgmike

ATTEMPTS.md - Chronicles all 8 attempts with re-evaluation using current knowledge:

  1. Nixpkgs torch (no CUDA)
  2. Build from source (OOM)
  3. Nix Python + pip (glibc conflicts)
  4. System Python + pip (works but not reproducible)
  5. fetchurl wheels (incomplete)
  6. Copy venv (incomplete) 7. buildPythonPackage test (learning)
  7. Hybrid solution (SUCCESS)

EXPLANATION.md - Explains WHY the solution works:

  • The glibc problem and how we solved it
  • Why Nix Python + pip wheels is the right approach
  • How makeLibraryPath simplifies library management
  • The trade-off between purity and practicality
19:20:23
@glepage:matrix.orgGaétan Lepage Well, if you are on Ubuntu, and using a nix shell for python development, just use uv (either through uv2nix or directly) 19:44:51
@glepage:matrix.orgGaétan Lepage Here is an example of a flake.nix which relies on uv for the python stuff: https://github.com/GaetanLepage/acoustix/blob/master/flake.nix 19:45:36
@h4k:matrix.orgmike https://github.com/SPUTNIKAI/sovereign-lila-e8/pull/4 this is what i ahve running let me check your code 19:56:45
@ctheune:matrix.flyingcircus.ioTheuni changed their display name from Christian Theune to Theuni.19:59:09

Show newer messages


Back to Room ListRoom Version: 9