Commit Graph

20 Commits

Author SHA1 Message Date
Someone Serge
bfb24acbd0
cudaPackages_10.cudatoolkit: fix infinite recursion in setupCudaHook 2023-07-20 02:17:56 +03:00
Someone Serge
9f46beb6a7
cudaPackages.setupCudaHook: init 2023-07-19 23:01:50 +03:00
Dessix
532a7d3f1d cudaPackages_12_2.cudatoolkit: init at 12.2.0
Fixed #239557 via autoPatchelf to `qt6.(...)` packages.
2023-07-03 14:35:09 -07:00
Felix Buehler
6672dde558 treewide: use optionalAttrs instead of 'else {}' 2023-06-25 11:01:34 -03:00
Ryan Lahfa
588058a0af
Merge pull request #224358 from SomeoneSerge/team-list-cuda
team-list: add cuda team
2023-05-05 16:44:05 +02:00
Connor Baker
9d27bdd3b5
Merge pull request #227962 from ConnorBaker/feat/cuda-12_1_1
cudaPackages_12_1: init at 12.1.1; cudnn: don't break cudaPackages
2023-04-30 12:43:45 -07:00
Connor Baker
3b143e37e7 cudaPackages_12_1: init at 12.1.1; cudnn: don't break cudaPackages when unsupported
The `throwIf` expression in CUDNN was evaluated eagerly and essentially prevented the use of cudaPackages without a supported version of CUDNN (even when CUDNN was not requested).
2023-04-25 14:07:39 -04:00
Someone Serge
97870fb60c
cudaPackages: append $ORIGIN to runtime paths 2023-04-13 19:12:37 +03:00
Someone Serge
bd62420fd3
cudaPackages: use same libstdc++ as the rest of nixpkgs 2023-04-07 00:28:02 +03:00
Someone Serge
c690aac0c6
cudaPackages: add teams.cuda to maintainers 2023-04-03 18:28:06 +03:00
Connor Baker
bdfb61e117 cudaPackages: use -Xfatbin=-compress-all; prune default cudaCapabilities 2023-03-10 23:10:57 -05:00
Someone Serge
5f4bdbe6c3
python3Packages.tensorflow: fix `GLIBCXX_3.4.30' not found
Make tensorflow (and a bunch of ther things) use CUDA-compatible
toolchain. Introduces cudaPackages.backendStdenv
2023-03-04 01:03:51 +02:00
Someone Serge
94bbbb0471
cudaPackages: point nvcc at a compatible -ccbin
This is a hot-fix to un-break cuda-enabled packages (like tensorflow,
jaxlib, faiss, opencv, ...) after the gcc11->gcc12 bump. We should
probably build the whole downstream packages with a compatible stdenv
(such as gcc11Stdenv for cudaPackages_11), but just pointing nvcc at the
right compiler seems to do the trick

We already used this hack for non-redist cudatoolkit. Now we use it more
consistently.

This commit also re-links cuda packages against libstdc++ from the same
"compatible" gcc, rather than the current stdenv. We didn't test if this
is necessary -> need to revise in further PRs.

NOTE: long-term we should make it possible to override -ccbin and use
e.g. clang
2023-03-04 00:59:20 +02:00
Connor Baker
c181273423 cudaPackages_12: 12.0.0 -> 12.0.1 2023-02-22 13:19:49 -05:00
Samuel Ainsworth
035e7d3d75 cudaPackages_12: init at 12.0.0 2023-01-11 00:36:36 +00:00
Someone Serge
27f703b1f8
cudaPackages_11_8: fix missing manifest
...fixes missing attributes, like cudaPackages_11_8.libcublas
2022-11-09 21:56:00 +02:00
David Guibert
3eae0cc072 cudatookit: 11.8 + redistrib manifest 2022-10-14 12:10:21 +02:00
David Guibert
a0e9973e64 cudatoolkit: use if instead of versionOlder+versionAtLeast 2022-10-05 08:06:39 +02:00
David Guibert
df956cf4c1 Revert "Revert "cudatoolkit_11_7: init at 11.7.0""
This reverts commit 90c505790c.
2022-10-04 08:26:28 +02:00
Frederik Rietdijk
1d63f89caa cudaPackages: overhaul of how we package cuda packages
There are many different versions of the `cudatoolkit` and related
cuda packages, and it can be tricky to ensure they remain compatible.

- `cudaPackages` is now a package set with `cudatoolkit`, `cudnn`, `cutensor`, `nccl`, as well as `cudatoolkit` split into smaller packages ("redist");
- expressions should now use `cudaPackages` as parameter instead of the individual cuda packages;
- `makeScope` is now used, so it is possible to use `.overrideScope'` to set e.g. a different `cudnn` version;
- `release-cuda.nix` is introduced to easily evaluate cuda packages using hydra.
2022-04-09 08:50:22 +02:00