Commit Graph

72 Commits

Author SHA1 Message Date
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
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
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
volth
5ad79dc4bb compilation for particular x86_64 architecture 2019-04-30 14:28:04 +00:00
Timo Kaufmann
af7455b1c8 pythonPackages.tensorflow: fix python<3.4 build
This was already added for the source build, but missing for the binary
build.
2019-03-04 14:11:27 +01:00
Averell Dalton
9dd81f9389 python: tensorflow: remove python3.7 restriction 2019-03-02 09:05:38 +01:00
Jean-Philippe Bernardy
1c350dc99e pythonPackages.tensorflow: 1.11 -> 1.13.1 2019-03-02 09:05:38 +01:00
Frederik Rietdijk
0a2caa41fe Python: drop python.majorVersion
Drop `python.majorVersion`. For Python language version, use `python.pythonVersion`.
For implementation version, use `python.sourceVersion`.

Some expressions were broken. Those that were identified were fixed.

fixup major
2019-01-04 10:45:22 +01:00
Jean-Philippe Bernardy
a8a3928a34 python.packages.tensorflow: 1.9.0 -> 1.11.0 2018-10-15 14:49:52 +02:00
Herman Fries
69af83b202 tensorflow: Add contrib/tensor_forest to rpath 2018-10-13 10:20:42 +02:00
Jean-Philippe Bernardy
8162378401 python.pkgs.tensorflow 1.7.0 -> 1.9.0 2018-08-07 11:42:36 +02:00
Tyson Whitehead
fd0c467f96
tensorflow: workaround tensorboard collision from upstream pip hack
Upstream lists tensorboard as a utility from tensorflow despite it
being provided by tensorboard to stop pip for deleting it.  This
causes python.withPackages collisions between the two.
2018-08-03 14:28:46 -04:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Frederik Rietdijk
ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00