Commit Graph

84 Commits

Author SHA1 Message Date
Michael Reilly
5c9e2ff989 python3Packages.tensorflow_2: 2.3.0 -> 2.3.1 2020-11-20 14:31:42 -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 0a5ec494b574ccd3db3b234c7d6637d127bd16da)
(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
73eb01bde000c34b54764f6f2b9fd1d89a54ccfa.
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
Nikolay Amiantov
46b7933d9a tensorflow: fix CUDA build using wrong GCC 2019-10-02 10:33:31 +03:00
volth
7b8fb5c06c treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
Vladimír Čunát
f21211ebfe
Merge branch 'master' into staging 2019-09-02 23:25:24 +02:00
Nikolay Amiantov
e0795aa5e8 tensorflow: fix python2 build
Avoid using PYTHONPATH, switch to python envs instead.
2019-08-31 21:02:55 +03:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Nikolay Amiantov
71095460b9 tensorflow: fix build
You know, Tensorflow.
2019-08-27 02:43:48 +03:00
Nikolay Amiantov
3b3618ea3c buildBazelPackage: remove top-level symlinks
They always can be regenerated during the actual build, and they are sometimes
random, e.g in Tensorflow;

platforms -> NIX_BUILD_TOP/tmp/install/35282f5123611afa742331368e9ae529/_embedded_binaries/platforms
2019-08-19 11:23:17 +03:00
Nikolay Amiantov
19cdfe87f9 python.pkgs.tensorflow: update dependencies hash 2019-07-31 13:28:44 +03:00
Timo Kaufmann
d30ec1a0ef python.pkgs.tensorflow: fix optimization flags
Now need to be passed in the configure phase.

abbradar: Don't change CUDA build hash.
2019-07-31 13:28:44 +03:00
Nikolay Amiantov
019c13616b tensorflow: cleanup and merge with libtensorflow
This merges work done by yorickvP and timokau in #63208 and #63616 respectively.
Now the derivation builds both libtensorflow and the Python package and puts them into
different outputs.

Quite a bit of improvements were done on the top, including:

* Use official tag revision as source, not a branch;
* Use all system libraries possible (before only one was actually used);
* Move various environment variables to the derivation itself from hooks;
* Use source Python build instead of wheel build to ensure fixup hooks do their important jobs on libraries;
* And more that I forgot!
2019-07-31 13:28:44 +03:00
Nikolay Amiantov
170dd558df python.pkgs.tensorflow: cleanup binary build 2019-07-31 13:28:44 +03:00
Timo Kaufmann
3df4e2df95 tensorflow: re-enable build from source [WIP] 2019-07-31 13:28:15 +03:00
Colin
f634a929d4 pythonPackages.tensorflow: Hardcode a second search class. (#65584)
It appears without this, libcuda.so.1 is not picked up and nvidia
graphics are broken
2019-07-31 13:00:12 +03:00
Timo Kaufmann
377a60f902 python: tensorflow: 1.13.1 -> 1.14.0, tensorflow-tensorboard: 1.13.0 -> 1.14.0, tensorflow-estimator: 1.13.0 -> 1.14.0
All in one commit because the packages are all interdependent and have
to be upgraded together.
2019-06-27 22:37:20 +02:00