Commit Graph

176 Commits

Author SHA1 Message Date
Tim Dortmann
6a78d900f4 cudaPackages.nsight_systems: support new directory structure 2026-03-26 22:52:22 +01:00
Gaetan Lepage
02e32e37db cudaPackages.libnvshmem: add GaetanLepage to maintainers 2026-03-26 21:21:44 +00:00
Gaetan Lepage
8639b5c1d0 cudaPackages.libnvshmem: 3.4.5-0 -> 3.6.5-0
Diff: https://github.com/NVIDIA/nvshmem/compare/v3.4.5-0...v3.6.5-0

Changelog: https://github.com/NVIDIA/nvshmem/releases/tag/v3.6.5-0
2026-03-26 21:21:44 +00:00
Gaetan Lepage
49a82e7410 cudaPackages_12_9.cuda_cccl: patch to fix missing _CCCL_PP_SPLICE_WITH_IMPL20 in preprocessor.h
PR: https://github.com/NVIDIA/cccl/pull/4972

Issue: https://github.com/NVIDIA/cccl/issues/4967
2026-03-23 17:57:32 +00:00
Gaétan Lepage
35e9cb5e37 cudaPackages.gdrcopy: 2.5.1 -> 2.5.2 (#500610) 2026-03-23 14:23:56 +00:00
Gaétan Lepage
b6a834e180 cuda_nvcc: also patch math_functions.hpp for glibc 2.42 (#498678) 2026-03-22 09:08:27 +00:00
Gaetan Lepage
9084f40a63 cudaPackages.cuda_cccl: patch to fix torch build on cuda>=13.0
Co-authored-by: Connor Baker <ConnorBaker01@gmail.com>
2026-03-18 17:14:10 +00:00
R. Ryantm
5bac571559 cudaPackages.gdrcopy: 2.5.1 -> 2.5.2 2026-03-17 02:32:25 +00:00
R. Ryantm
f5b25da559 cudaPackages.nccl-tests: 2.17.10 -> 2.18.2 2026-03-14 22:45:03 +00:00
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
R. Ryantm
1ae2bed8e6 cudaPackages.nccl-tests: 2.17.9 -> 2.17.10 2026-03-06 22:55:32 +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
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
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
Connor Baker
3922461091 cudaPackages.cudnn: add missing nvrtc runtime dependency (#471394) 2026-01-26 23:25:40 +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
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
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
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 Walther
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
Someone
3be263012a cudaPackages.buildRedist: automatically remove runpath entries for stubs (#459416) 2025-11-26 08:20:27 +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
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 Baker
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
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
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
Marcin Serwin
eeb6dc0081 maintainers: drop orivej
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2025-11-21 17:56:40 +01:00
Connor Baker
2b4578f6e2 cuda-modules: avoid unnecessary re-evaluations
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-11-17 21:41:45 -05:00
Connor Baker
55efb5bb67 cuda-samples: Add driver runpath to samples (#460987) 2025-11-12 19:09:15 +00:00
Elliot Berman
19cfbce3d5 cuda-modules: cudatoolkit: Add cuda_crt to symlinkJoin
cuda_crt was previously bundled in cuda_cudart but has moved into its
own redistributable starting with CUDA 13. Add it into the cudatoolkit
so packages depending on the symlinkJoin can still build.
2025-11-12 09:45:00 -08:00
Elliot Berman
cb1f7a1afa cuda-samples: Add driver runpath to samples
Some CUDA samples dlopen the userspace drivers instead of going through
libcuda (as part of being a sample/demo). Ensure these samples run by
patchelf'ing in the driver runpath.
2025-11-12 09:18:17 -08:00
Elliot Berman
f147c87570 cudaPackages.cuda-samples: Build cuda-samples 13.0 for CUDA 13
Add fixups for the 13.0 release of cuda-samples and build it when
targeting CUDA 13.
2025-11-07 13:11:09 -08:00
Connor Baker
c81871f789 {cudaPackages.nccl, onnxruntime}: remove reference to nvcc in binary (#457803) 2025-11-05 02:05:39 +00:00
Gaetan Lepage
4a807ebfd7 cudaPackages.nccl: remove reference to nvcc in binary 2025-11-04 23:13:02 +00:00