Commit Graph

5 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
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 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 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 35e19d22c1 libtorch-bin: init at 1.6.0 2020-08-30 13:22:09 +02:00