Commit Graph

34 Commits

Author SHA1 Message Date
Someone Serge
2c51064b0b treewide: remove cudatoolkit.cc references 2024-04-13 14:24:39 +00:00
Connor Baker
9bebd9e72d tree-wide: cudaPackages should not break default eval
cudaPackages: guard expressions against null values
2024-01-10 01:15:01 +00:00
Connor Baker
855a7ba029 caffe: fix eval when CUDNN is not available 2023-12-07 21:02:12 +00:00
Ben Darwin
935338d123 caffe: opencv3 -> opencv4 2023-10-10 17:31:32 -04:00
Ben Darwin
2a2ba3dc3f caffeWithCuda: mark broken
> CMake Error at cuda_compile_1_generated_math_functions.cu.o.Release.cmake:280 (message):
>   Error generating file
>   /build/source/build/src/caffe/CMakeFiles/cuda_compile_1.dir/util/./cuda_compile_1_generated_math_functions.cu.o
2023-10-10 17:31:32 -04:00
Someone Serge
471dbe9bcf
treewide: consume config.cudaSupport as required
Eliminate uses of `config.cudaSupport or false` and alike, since the
option is now declared in config.nix with a default value

fd .nix -t f -x sed 's/config\.cudaSupport or false, cudaPackages [?] [{][}]/config.cudaSupport, cudaPackages ? { }/' '{}' -i
fd .nix -t f -x sed 's/config\.cudaSupport or false/config.cudaSupport/' '{}' -i
fd .nix -t f -x sed 's/cudaSupport = pkgs.config.cudaSupport/inherit (pkgs.config) cudaSupport/' '{}' -i
fd .nix -t f -x sed 's/cudaSupport = config.cudaSupport/inherit (config) cudaSupport/' '{}' -i
2023-07-20 18:08:19 +03:00
Connor Baker
222d966273 cudaPackages.cudnn: remove patch version from name to conform with cudaPackages standard 2023-05-24 12:56:22 -04:00
Martin Weinelt
cddb66d655
python310Packages.scikit-image: rename from scikitimage
to match the pname and create an alias for the former name.
2023-05-14 13:04:10 +02:00
Connor Baker
291db05669 caffe: use pre-CUDNN 8.x 2023-02-21 20:33:46 -05: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
Someone Serge
1b74f75b59
python310Packages.caffe: mark as broken 2022-04-06 00:44:37 +03:00
William Casarin
a1390787c3 remove jb55 as maintainer from some packages
I no longer use these and don't have much incentive to maintain them :(
2022-04-04 08:10:42 -07:00
Ryan Burns
e12802213e caffe: fix build with protobuf 3.18+ 2021-09-22 21:57:13 -07:00
Robert Schütz
1ec5651913 treewide: use pythonPackages.python-dateutil instead of pythonPackages.dateutil 2021-07-03 13:45:57 +02:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Ben Siraphob
3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
Matthew Bauer
1c8aba8334 treewide: use blas and lapack
This makes packages use lapack and blas, which can wrap different
BLAS/LAPACK implementations.

treewide: cleanup from blas/lapack changes

A few issues in the original treewide:

- can’t assume blas64 is a bool
- unused commented code
2020-04-17 16:24:09 -05:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Orivej Desh
b5d1d50aa9 google-gflags: move to aliases.nix
google-gflags were renamed to gflags in 2012:
https://github.com/gflags/gflags/#25-january-2012

gflags.name will be updated in staging.
2019-07-25 09:18:32 +00:00
avitex
44324bdd7c caffe: add python package requirements 2019-07-20 13:17:17 +02:00
avitex
955ed925e5 caffe: fix python build 2019-07-20 13:17:17 +02:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Michael Raskin
446520bb9b
Merge pull request #56026 from oxij/tree/move-defaults-to-package-files-half-cuda
all-packages.nix: move defaults to package files continues^2
2019-02-19 21:54:02 +00:00
Frederik Rietdijk
4b2336ea28 python.pkgs.caffe: fix build, closes #8749 2019-02-17 10:13:22 +01:00
Jan Malakhovski
31aa884b7f caffe: move defaults to package file 2019-02-03 15:32:15 +00:00
zimbatm
b7e50d52f0
caffe: add darwin support (#44616) 2018-08-16 12:46:51 +01:00
Nikolay Amiantov
6f96122d5b caffe: add nccl support 2018-02-25 22:24:09 +03:00
Nikolay Amiantov
25079ad238 caffe: depend on opencv3
openblas is used since it's propagated from OpenCV and ATLAS compiled without
architecture-specific optimizations is generally slower than OpenBLAS as I
heard.
2018-02-25 22:24:09 +03:00
Nikolay Amiantov
57f82de364 caffe: 1.0-rc5 -> 1.0
Fix build with cudatoolkit9.
2017-10-19 12:47:30 +03:00
Tuomas Tynkkynen
9824ca6975 caffe: Make 'bin' the first output
So ${caffe}/bin/foo always works in scripts.
2017-09-27 00:39:55 +03:00
Nikolay Amiantov
c4bed3043d caffe: add Python support
Move to CMake in the process.
2017-09-07 17:04:29 +03:00
Nikolay Amiantov
88641353d6 caffe: 2015-07-02 -> 1.0-rc5 2017-09-07 17:04:29 +03:00
William Casarin
8ead9cf0c5 caffe: init at rev 77d66dfc
Initial version of the Caffe deep learning framework from Berkeley
2015-07-08 10:07:10 -07:00