Commit Graph

10 Commits

Author SHA1 Message Date
Gaetan Lepage
43b6335d96 cudaPackages.cudnn-frontend: 1.25.0 -> 1.27.0
Diff: https://github.com/NVIDIA/cudnn-frontend/compare/v1.25.0...v1.27.0

Changelog: https://github.com/NVIDIA/cudnn-frontend/releases/tag/v1.27.0
2026-08-14 21:59:51 +00:00
Connor Baker
d7b4eb14e9 cudaPackages: stop leaking build-time paths into runtime closures
Build systems bake absolute paths into installed artifacts: nvcc
records its own location in the linker command lines it embeds, and
CMake freezes whatever it resolved at configure time into exported
targets. Nix counts any store hash as a reference, so a compiler that
is only ever a nativeBuildInput ends up a runtime dependency.

- gdrcopy: gdrcopy_pplat is the only test built with relocatable
  device code, and nvlink embeds its command line, naming both
  cuda_nvcc and the cudart that supplied cudadevrt. Neither is needed
  at runtime: no binary here has libcudart in DT_NEEDED, and
  libcuda.so.1 comes from the driver. CUDA 13 only; on 13.3 the
  closure drops from 688,439,736 to 61,081,560 bytes, and all seven
  releases now have identical reference sets.

- cudnn-frontend: upstream passes CUDAToolkit_INCLUDE_DIRS to
  target_include_directories as a bare absolute path and never
  forwards the dependency, so consumers inherit a build-machine path
  instead of resolving the toolkit themselves. Confine the path to the
  build and export the dependency, so find_package(CUDAToolkit) runs
  in the consumer's environment. Closure drops from 1,360,621,552 to
  171,758,136 bytes. This is load-bearing rather than cosmetic: on
  CUDA 12 crt/ ships in cuda_nvcc and cuda_runtime_api.h includes it,
  so a consumer using only find_package(cudnn_frontend) previously
  relied on that exported path to compile at all.

- libnvshmem: NVSHMEMEnv.cmake bakes every -D*_HOME into
  NVSHMEM_BUILD_VARS, a diagnostic banner that nvshmem-info and
  init.cu only ever print, and substitutes it into an installed header
  so consumers inherit it too. Strip the dev outputs and nvcc; gdrcopy
  and mpi appear in the same string but are genuine runtime
  dependencies. References drop from 16 to 12.

gdrcopy also gains a disallowedRequisites guard so the leak cannot
return unnoticed. libnvshmem deliberately does not: ucx and openmpi
pull nvcc into its closure independently of the banner, so the guard
would fail for reasons unrelated to this change.

Assisted-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-04 14:55:40 -07:00
R. Ryantm
b26384ff1f cudaPackages.cudnn-frontend: 1.24.0 -> 1.25.0 2026-06-17 04:38:21 +00:00
Sizhe Zhao
916a743067 cudaPackages.cudnn-frontend: 1.16.0 -> 1.24.0 2026-06-01 15:18:04 +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
48eda7fc1f cudaPackages.cudnn-frontend: clean up expression
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-10-22 13:14:49 -07:00
Connor Baker
29ce053617 cudaPackages: build redists from manifests
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-10-22 13:14:45 -07:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
SomeoneSerge
eec8903639 cudaPackages_11_0.cudnn-frontend: mark unsupported, prevent eval error
With https://github.com/NixOS/nixpkgs/pull/404686 we add packages/ unconditionally
2025-05-08 20:25:43 +00:00
Connor Baker
56be58429a cudaPackages: introduce and use lib.packagesFromDirectoryRecursive
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-05-06 09:43:39 -07:00