Commit Graph

19 Commits

Author SHA1 Message Date
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
Junji Hashimoto
14c30c8521 libtorch-bin: 1.9.0 -> 1.10.0 2021-11-10 00:24:51 +00:00
Daniël de Kok
6f2ce2a65e treewide: remove danieldk as maintainer from a set of packages
I currently do not have much time to work on nixpkgs. Remove
myself as a maintainer from a bunch of packages to avoid that
people are waiting on me for a review.
2021-09-12 14:42:12 +00:00
Daniël de Kok
085055fc2b libtorch-bin: 1.8.1 -> 1.9.0
Changelog:

https://github.com/pytorch/pytorch/releases/tag/v1.9.0
2021-06-18 06:58:48 +02:00
Daniël de Kok
303977634c libtorch-bin: fix false CUDA dependency in passthru test
The passthru test used the CUDA toolkit for the CUDA stub
unconditionally, also requiring the cudatoolkit derivation when
cudaSupport = false.
2021-05-01 11:43:52 -07:00
Daniël de Kok
039101ad94 libtorch-bin: 1.8.0 -> 1.8.1
Changelog:

https://github.com/pytorch/pytorch/releases/tag/v1.8.1
2021-05-01 11:43:52 -07:00
Daniël de Kok
e8e5d07cdd libtorch-bin: do not install static libraries 2021-03-08 09:33:16 +01:00
Daniël de Kok
70f5fe4223 libtorch-bin: switch from CUDA 10.2 to 11.1 build 2021-03-08 09:30:36 +01:00
Daniël de Kok
11d2596963 libtorch-bin: 1.7.1 -> 1.8.0
Changelog:

https://github.com/pytorch/pytorch/releases/tag/v1.8.0
2021-03-05 07:53:17 +01:00
Daniël de Kok
67e6eba6ca libtorch-bin: add danieldk as maintainer 2021-02-15 19:53:57 +01:00
Daniël de Kok
d5b676eb34 libtorch-bin: fix passthru.tests for CUDA
- Provide the CUDA toolkit and CuDNN dependencies.
- Expose libcuda.so stub to run the test in the sandbox.
2021-02-15 18:58:01 +01:00
Daniël de Kok
c4482a0c2a libtorch-bin: do not depend on nvidia_x11
libcuda.so should be provided through /run/opengl-driver/lib to use
the system's version. This also avoids rebuilds when linuxPackages is
updated.
2021-02-15 17:08:20 +01:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Daniël de Kok
0be441df8b libtorch-bin: 1.7.0 -> 1.7.1
Changelog:
https://github.com/pytorch/pytorch/releases/tag/v1.7.1
2020-12-11 07:36:36 +01:00
Daniël de Kok
2802a021e3 libtorch-bin: modify passthru test to capture CMake misconfiguration 2020-11-09 07:49:54 +01:00
Daniël de Kok
e8721af065 libtorch-bin: fix CMake library paths for split outputs
The libtorch CMake files are in the `dev` output and used relative
paths to locate the shared libraries. This fails, because the
libraries are in the `out` output. This change patches the CMake files
to use library paths from `out`.

See #102146.
2020-11-09 07:49:54 +01:00
Daniël de Kok
a71f07694c libtorch-bin: cleanup passthru test
- Make passthru.tests an attrset.
- Remove CMake VERBOSE option.
- Remove spurious `cat CMakeLists.txt`.
- Run the test as well.
- Actually test some functionality.
2020-11-07 13:50:23 +01:00
Daniël de Kok
442ba6668f libtorch-bin: 1.6.0 -> 1.7.0
Changelog:

https://github.com/pytorch/pytorch/releases/tag/v1.7.0
2020-10-28 13:23:35 +01:00
Daniël de Kok
35e19d22c1 libtorch-bin: init at 1.6.0 2020-08-30 13:22:09 +02:00