455 Commits
Author SHA1 Message Date
Samuel Ainsworth 62cf59f29d cuda_nvcc: also patch math_functions.hpp for glibc 2.42
The existing glibc 2.42 compatibility patch fixes function signatures
in math_functions.h but misses math_functions.hpp, which has the same
rsqrt/sinpi/cospi functions wrapped in __func__() macros. Without
throw() annotations on these, C++ compilation fails when glibc 2.42
declares the same functions with throw().
2026-03-10 20:24:50 -04:00
Gaetan Lepage cfa1f3da48 cudaPackages_13_2: init at 13.2.0 2026-03-10 11:51:03 +00:00
R. Ryantm 1ae2bed8e6 cudaPackages.nccl-tests: 2.17.9 -> 2.17.10 2026-03-06 22:55:32 +00:00
Connor BakerandGitHub d6997f7145 cudaPackages_13_1: init at 13.1.1 (#486717) 2026-02-21 16:56:26 +00:00
Gaetan Lepage 71c7f2d505 cudaPackages.cuda_nvcc: do not patch crt/math_functions.h on cuda 13 2026-02-09 17:19:33 +00:00
Gaetan Lepage dedd0d1c8f cudaPackages.cuda_nvcc: optionals -> optionalString 2026-02-08 22:55:04 +00:00
Gaetan Lepage eb6a294bd8 cudaPackages.cuda_nvcc: patch math_functions.h signatures
Fix compatibility with glibc 2.42
2026-02-07 22:57:23 +00:00
Gaetan Lepage 2017d6d515 cudaPackages_13_1: init at 13.1.1 2026-02-06 12:55:06 +00:00
R. Ryantm f607495e0e cudaPackages.nccl-tests: 2.17.8 -> 2.17.9 2026-02-04 16:31:31 +00:00
jopejoe1 f21b68b3cb cudatoolkit: set pname instead of name 2026-02-03 22:19:33 +01:00
K900 520e2f27a5 treewide: remove unnecessary dependencies on mesa
None of those should be real. Things should not depend on mesa
directly for any reason ever, except llvmpipeHook.
2026-01-31 18:42:58 +03:00
Gaétan LepageandGitHub e64e0da362 cudaPackages: fix redistName for NVPL packages (#485211) 2026-01-30 13:54:49 +00:00
Connor Baker b04ad574ca cudaPackages.nvpl_sparse: remove non-existent static output
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2026-01-29 18:10:24 -08:00
Connor Baker 64e602559a cudaPackages: fix redistName for NVPL packages
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2026-01-29 17:50:25 -08:00
nixpkgs-ci[bot]andGitHub 24bf3a7395 Merge master into staging-nixos 2026-01-27 00:21:30 +00:00
Connor BakerandGitHub 3922461091 cudaPackages.cudnn: add missing nvrtc runtime dependency (#471394) 2026-01-26 23:25:40 +00:00
nixpkgs-ci[bot]andGitHub 4f189086d0 Merge master into staging-nixos 2026-01-26 18:08:53 +00:00
quantenzitrone 7d8132a92c treewide: remove references to the xorg namespace in pkgs (automated)
this creates some eval errors that will be fixed in the next commit

done with the following script:

```fish
\#!/usr/bin/env fish

set packagesjson (nix eval --impure --json --expr '
let
  lib = import ./lib;
in
import pkgs/servers/x11/xorg/default.nix (lib.mapAttrs (
  name: _:
  if name == "lib" then
    lib
  else if name == "config" then
    { allowAliases = false; }
  else
    name
) (__functionArgs (import pkgs/servers/x11/xorg/default.nix))) { }
' | jq)

set one (grep '^    [A-Za-z0-9_-]*$' pkgs/servers/x11/xorg/default.nix | string trim | string replace -r '$' Z | sort | string sub -e -1)
set two (grep '^  [A-Za-z0-9_-]* = [A-Za-z0-9_-]*;$' pkgs/servers/x11/xorg/default.nix | cut -d= -f1 | string trim | string replace -r '$' Z | sort | string sub -e -1)

for arg in $one $two
    set oname $arg
    set nname (echo $packagesjson | jq -r .$oname)

    if test $nname = null
        echo (set_color red)warn:(set_color normal) unknown package xorg.$oname >&2
        continue
    end

    echo $oname "->" $nname

    # replace basic xorg.$name references
    for file in (rg -F "xorg.$oname" --files-with-matches pkgs)
        # special cases
        sd -F "$oname = xorg.$oname;" "$nname = $nname;" $file

        # replace
        sd -F "xorg.$oname" "$nname" $file

        # fixup function arguments

        # prevent duplicate function args
        if grep -E " ($oname|$nname),\$" $file >/dev/null
            continue
        end

        if grep 'xorg\..' $file >/dev/null # case1: there is more so we can't just remove the function arg

            if grep ' xorg,$' $file >/dev/null
                sd ' xorg,$' " xorg,
                $nname," $file

            else if grep ' xorg ? .*,$' $file >/dev/null
                sd 'xorg( ? .*),$' "xorg\$1,
                $nname," $file

            else
                sd -F 'xorg,' "$nname,
                xorg," $file
            end

        else # case there is no more xorg..* so we can just replace the function arg
            sd 'xorg(| ? .*),.*$' "$nname," $file
        end
    end
end

nix fmt
```
2026-01-25 22:28:09 +01:00
Ari Lotter d893175673 cudaPackages.cudnn: add nvrtc to runpath
cudnn uses nvrtc at runtime on some hardware (e.g. H100). without this
runpath, we fail when triggering cudnn runtime compilation from pytorch
(see issue #461334)

closes #461334
2026-01-24 20:51:37 -05:00
Michael DanielsandGitHub 006ecdbdeb treewide: fix typos (#479869) 2026-01-24 21:36:44 +00:00
Dyego Aurélio 28096cc5e3 treewide: apply nixfmt 1.2.0 2026-01-22 18:37:56 -03:00
Connor Baker 37f7291c1b cudaPackages.cuda-samples: add libcudla when available to build cuDLA samples
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2026-01-15 22:40:45 +00:00
Connor Baker f01183a9d1 cudaPackages.tensorrt-samples.passthru.testers: properly guard bf16 and dla testers
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2026-01-15 20:34:10 +00:00
Connor Baker 99885ce012 cudaPackages.tensorrt-samples.passthru: tidy expression and expose mkTester
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2026-01-15 20:33:01 +00:00
Connor Baker 9d42b4687c cudaPackages.libcudla: tidy expression for pre-CUDA 12
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2026-01-15 20:32:01 +00:00
Connor Baker ddd283f373 cudaPackages.tensorrt: use 10.13.0 for linux-sbsa on CUDA 12
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2026-01-15 19:21:38 +00:00
Ben Siraphob c7e10647ea treewide: fix typos 2026-01-13 14:45:11 -05:00
Connor Baker 1f931d0673 cudaPackages.tensorrt: don't remove win libs for 10.2
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2026-01-10 22:02:50 +00:00
Connor Baker 6b45e4200a cudaPackages.tensorrt-samples: init
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2026-01-10 22:00:22 +00:00
R. Ryantm f7fa8b45e7 cudaPackages.nccl-tests: 2.17.7 -> 2.17.8 2026-01-08 14:29:44 +00:00
R. Ryantm 876a70430b cudaPackages.nccl-tests: 2.17.6 -> 2.17.7 2026-01-02 10:33:32 +00:00
Connor BakerandGitHub ed54c240ed cudaPackages.backendStdenv: use override instead of extendDerivation (#467975) 2025-12-09 04:34:56 +00:00
Connor Baker 197444bf01 cudaPackages.backendStdenv: use override instead of extendDerivation
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-12-05 01:51:57 +00:00
Wolfgang Walther 467dd395a1 maintainers: drop obsidian-systems-maintenance
There is no activity on this account and it can't be requested for
review, because its not part of the maintainer team. This renders it
useless.
2025-12-02 16:34:33 +01:00
Wolfgang WaltherandGitHub 2ee2fecfb5 maintainers: drop orivej (#463812) 2025-11-29 18:46:31 +00:00
Connor Baker 2fe0be4dab cudaPackages.cuda_nvcc: wrap binary so NVCC can always find compiler
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-11-26 20:42:49 +00:00
SomeoneandGitHub 3be263012a cudaPackages.buildRedist: automatically remove runpath entries for stubs (#459416) 2025-11-26 08:20:27 +00:00
Connor Baker 4944bbd7ae cudaPackages.buildRedist: check stubs output for removeStubsFromRunpathHook
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-11-26 01:29:45 +00:00
Connor Baker eca21ba099 cudaPackages.buildRedist: remove outdated comment and format
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-11-26 01:28:15 +00:00
Connor Baker 413abbfe75 cudaPackages.buildRedist: conditionally depend on removeStubsFromRunpathHook
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-11-26 01:26:36 +00:00
Connor Baker d2f2407e65 cudaPackages.removeStubsFromRunpathHook: make comment more terse
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-11-25 19:39:53 +00:00
Connor Baker 6d9255a8f2 cudaPackages.buildRedist: put removeStubsFromRunpathHook in propagated-build-inputs
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-11-25 19:31:58 +00:00
Connor Baker 85ff775894 cudaPackages.removeStubsFromRunpathHook: remove guard for platform offsets
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-11-25 19:27:38 +00:00
Connor BakerandGitHub a7e98dd1aa cudaPackages.tensorrt: 10.9.0 -> 10.14.1 (for non-Jetson and Thor) (#464947) 2025-11-25 15:53:24 +00:00
Connor Baker 2fa699ca66 cudaPackages.tensorrt: 10.9.0 -> 10.14.1 (for non-Jetson and Thor)
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-11-25 14:28:00 +00:00
Connor Baker d75e88de4f cudaPackages.tensorrt: use package expression from nixos-cuda/cuda-legacy
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-11-25 14:23:38 +00:00
Connor Baker a8c0e03e8b _cuda.manifests.tensorrt: use full manifests from nixos-cuda/cuda-legacy
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-11-25 13:56:28 +00:00
Connor Baker 3803d65740 cudaPackages.cudnn-frontend: 1.9.0 -> 1.16.0
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-11-25 02:25:31 +00:00
Connor Baker 9d38d180db cudaPackages.buildRedist: include removeStubsFromRunpathHook
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-11-25 01:21:09 +00:00
Connor Baker ee1f087ca2 cudaPackages.removeStubsFromRunpathHook: init
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-11-25 01:15:31 +00:00