3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

98 commits

Author SHA1 Message Date
Claudio Bley 6d8c431eb0 bazel: 3.7.1 -> 3.7.2
* update sha256 for gvisor, tensorflow{,WithCuda}, bazel-watcher, bazel-remote
  and envoy
2021-02-03 10:44:07 +01:00
Claudio Bley 71cda4f111 bazel: 3.3.1 -> 3.7.1
* remove python-shebang patch since it was integrated upstream[1]

[1]: https://github.com/bazelbuild/bazel/pull/11535/files
2021-01-29 21:53:25 +01:00
Pavol Rusnak a4bbfba80d
pkgs/development/python-modules: stdenv.lib -> lib 2021-01-24 01:29:22 +01:00
Markus Kowalewski 6dba41fbcb
mpi: use mpi attribute consistently as the default MPI implementations
Use the attribute mpi to provide a system wide default MPI
implementation. The default is openmpi (as before).
This now allows for overriding the MPI implentation by using
the overlay mechanism. Build all packages with mpich instead
of the default openmpi can now be achived like this:
self: super:
 {
   mpi = super.mpich;
 }

All derivations that have been using "mpi ? null" to provide optional
building with MPI have been change in the following way to allow for
optional builds with MPI:
{ ...
, mpi
, useMpi ? false
}
2021-01-23 12:15:13 +01:00
Jörg Thalheim 1ac4c06c08
Merge pull request #108923 from ndl/master 2021-01-11 17:47:28 +00: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
Alexander Tsvyashchenko 69d1e62b36 python3Packages.tensorflow_2: 2.3.2 -> 2.4.0
Also the following related changes:
* Removed Python 2 support because it's not supported by TF and related packages for a long time.
* Upgraded tensorboard and estimator packages to the required versions.
* Added extra plugins for tensorboard to support profiling.
* In the previous derivation versions, TF_SYSTEM_LIBS didn't have any effect because it was reset at repo fetching stage, so TF always used its own dependencies. Made TF_SYSTEM_LIBS actually work and fixed the errors caused by enabling it.
* Enabled tensorboard by default (but still keeping an option to disable it if needed).
2021-01-11 00:30:43 +01:00
Jörg Thalheim 370ffaaca7
tensorflow: 2.3.1 -> 2.3.2 2021-01-07 18:52:44 +01:00
Jörg Thalheim 1976d79627
tensorflow: drop 1.x
it no longer works without our default python version and needs
many patches to compile.
2021-01-07 18:52:44 +01:00
Matthew Bauer a9ecac2538 tensorflow1: disable sysctl.h in hwloc
We need to override tensorflow's hwloc configuration, since it forces
sysctl.h usage which is removed since glibc 2.31. This does not appear
to effect tensorflow2.

See also https://github.com/tensorflow/tensorflow/issues/45861

Fixes #104801
2020-12-30 00:23:21 -06:00
Martin Weinelt bc65777671
python3Packages.tensorflow_2: relax h5py dependency 2020-12-12 18:51:11 +01:00
Frederik Rietdijk 3eb6d01fa4
Merge pull request #103360 from jonringer/python39
[staging] python39Packages: recurseintoAttrs for package set
2020-11-21 13:57:13 +01:00
Michael Reilly 5c9e2ff989 python3Packages.tensorflow_2: 2.3.0 -> 2.3.1 2020-11-20 14:31:42 -08:00
Jonathan Ringer b61df8cd97
python39Packages.tensorflow_2-bin: fix disable logic 2020-11-10 17:53:48 -08:00
Jonathan Ringer a7871cb54c
python39Packages.tensorflow_1-bin: fix disable logic 2020-11-10 15:29:48 -08:00
Jonathan Ringer b8f45c32f8 python3Packages.tensorflow: break if gast not correct 2020-10-30 23:11:03 -07:00
Daniël de Kok 7fb2cc1725 python3Packages.tensorflow_2: update CUDA capabilities
Sync CUDA capabilities with upstream:

b0c3b5bdd7/.bazelrc (L584)
2020-09-30 13:56:05 +02:00
Daniël de Kok b751c120ce
Merge pull request #95824 from obsidiansystems/python3.tensorflow_2-update-to-2.3.0
tensorflow: update to 2.3.0
2020-09-30 11:37:42 +02:00
Daniël de Kok ce9b73c281 python37Packages.tensorflow: 1.15.2 -> 1.15.4
Changes:

https://github.com/tensorflow/tensorflow/releases/tag/v1.15.4
2020-09-27 11:23:27 -07:00
Claudio Bley 8f5bfd6af1 tensorflow: Fix compilation with numpy 1.19.x
Numpy introduced a breaking API change in version 1.19.x, see [1].

There is a simple fix [2] available in the master branch.

[1]: https://github.com/tensorflow/tensorflow/issues/40688
[2]: 75ea0b3147
2020-09-16 10:22:18 +02:00
Matthew Bauer 59eecacd2d python3Packages.tensorflow: use cudatoolkit 11 2020-09-10 23:36:23 -05:00
Arnout Engelen 1e19d446bf python3Packages.tensorflow_2: 2.1.0 -> 2.3.0
Also:
- patch to remove scipy requirement
- add cuda to RPATH
- don’t include nvidia_x11 (This isn’t needed, we can get it from
/run/opengl-driver being in the RPATH.)

Co-authored-by: Arnout Engelen <arnout@bzzt.net>
Co-authored-by: Daniël de Kok <me@github.danieldk.eu>
2020-09-10 23:34:10 -05:00
volth cf7b63df5b gcc.arch: refactor, move tables under lib/ 2020-08-05 11:18:26 +00:00
volth 463db72e63 platform.gcc.arch: support for AMD CPUs 2020-08-05 02:32:48 +00:00
Benjamin Hipple 5ef3bb9c4a tensorflow: passthru deps from bazel build
This is done by default by the go/rust/bazel builders and allows scripts/tools/users
to inspect the dependencies; since tensorflow is wrapped as a python package, we
should pass this through for consistency.
2020-05-15 12:03:23 -04:00
Matthew Bauer 2a8d05627b build-bazel-package: switch hash mode to “flat”
flat hashes can be substituted through hashed-mirrors, while recursive
hashes can’t. This is especially important for Bazel since the bazel
fetch dependencies can come from multiple different methods (git,
http, ftp, etc.). To do this, we create tar archives from the
output/external directory, which is then extracted to build. All of
the Bazel hashes are all updated.
2020-05-09 13:33:26 -05:00
Constantine Glen Evans dfbee5e556
tensorflow-bin_2: fix tensorboard pip-hack collision 2020-04-16 12:44:06 -07:00
Constantine Glen Evans efa52177ff
tensorflow-bin_2: change tensorflow-tensorboard to _2 2020-04-16 12:25:50 -07:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jason Miller 4a4b44803c tensorflow: bugfix for bazel settings (intel mkl, dnnl) 2020-03-31 12:01:22 -04:00
Timo Kaufmann a730888ce0 python.pkgs.tensorflow{,-bin,-estimator,-tensorboard}-2: Init at 2.1.0
Major breaking change from 1.x, so treating keeping both versions for now.

(adapted from 33f11be707)
(adapted from 9e8dea7986)
2020-03-30 13:58:28 +00:00
John Ericson d4de62dedd bazel_0_29: init at 0.29.1
Needed for Tensorflow 2.1
2020-03-30 04:30:40 +00:00
Andreas Rammhold 6c7b2ac58e pythonPackages.tensorflow-estimator_1_15_1: init at 1.15.1
TF 1.15 still needs an older version of the tensorflow-estimator
package.

(cherry picked from commit c539f937c5)
2020-03-28 03:05:54 +00:00
Jonathan Ringer ca6ccd4f4c pythonPackages.tensorflow: disable for python2.7 and 3.8
(cherry picked from commit b7bdf48e3f)
2020-03-25 16:43:28 +00:00
Dylan Simon 436a4bace6 tensorflow: 1.15.1 -> 1.15.2
(cherry picked from commit 0a5ec494b5)
(cherry picked from commit 1e769bdd2a)
2020-03-25 16:43:10 +00:00
Andreas Rammhold 08f2ed7b02 pythonPackages.tensorflow: use bazel_0
This allows us to get rid of the compatibility hacks that we had to add
(tf-1.15-bazel-1.0.patch) and also fixes #77626.

(cherry picked from commit c7adb4ee72)
2020-03-25 16:43:02 +00:00
Andreas Rammhold 4e7dac0a56 tensorflow: update fixed output hashes
(cherry picked from commit 642bea6cec)
2020-03-25 16:42:53 +00:00
Michael Lingelbach a0b992fdf8 tensorflow: 1.15.0 -> 1.15.1
* Apply glibc 2.3 patch
* build tensorflow with bazel_1
* Bump openssl version to 1.1

(cherry picked from commit 34296980d1)
2020-03-25 16:42:27 +00:00
Pavol Rusnak 9a982d3540
python.pkgs.tensorflow: fix build with cudatoolkit 10.2 2020-01-06 13:46:00 +01:00
Robin Gloster 313da176d3
treewide: NIX_*_FLAGS -> string 2019-12-31 00:16:46 +01:00
Dmitry Kalinkin 9c42df8d3e
python3Packages.tensorflow-build: enable on darwin 2019-11-27 08:34:25 -05:00
Timo Kaufmann 8e382a7ca7 python.pkgs.tensorflow: mark as broken for python2 2019-11-13 16:18:04 +01:00
Timo Kaufmann e4378d4641 python.pkgs.tensorflow: add more sanity checks 2019-11-13 16:18:01 +01:00
Timo Kaufmann 6832f1da6a python.pkgs.tensorflow: add functools32 dependency
Now needed at runtime with the python2 build.
2019-11-13 15:25:19 +01:00
Timo Kaufmann 4fb7831cb4 python.pkgs.tensorflow: fix build with newer gast 2019-11-12 23:43:10 +01:00
Timo Kaufmann 1fbd307880 python.pkgs.tensorflow: fix build with bazel 1.0
The tensorflow build was broken by the bazel 1.0 update in
73eb01bde0.
2019-11-12 23:43:07 +01:00
Timo Kaufmann 152d2fd22c python.pkgs.{tensorflow,tensorflow-estimator,tensorflow-tensorboard}: 1.14.0 -> 1.15.0 2019-11-12 23:42:47 +01:00
Frederik Rietdijk cc9505aab1 pythonPackages.tensorflow-bin: disable for python 3.8 2019-10-16 11:32:31 +02:00
Nikolay Amiantov 1c429acbff tensorflow: add OpenGL path to find libcudart 2019-10-02 10:33:31 +03:00
Nikolay Amiantov 4947ddf347 libtensorflow: add meta 2019-10-02 10:33:31 +03:00