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).
This commit is contained in:
18
pkgs/development/python-modules/tensorflow/workspace.patch
Normal file
18
pkgs/development/python-modules/tensorflow/workspace.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
diff --git a/WORKSPACE b/WORKSPACE
|
||||
index 9db1d9b80eb..c46f13f4ca4 100644
|
||||
--- a/WORKSPACE
|
||||
+++ b/WORKSPACE
|
||||
@@ -12,6 +12,13 @@ http_archive(
|
||||
],
|
||||
)
|
||||
|
||||
+http_archive(
|
||||
+ name = "io_bazel_rules_docker",
|
||||
+ sha256 = "1698624e878b0607052ae6131aa216d45ebb63871ec497f26c67455b34119c80",
|
||||
+ strip_prefix = "rules_docker-0.15.0",
|
||||
+ urls = ["https://github.com/bazelbuild/rules_docker/releases/download/v0.15.0/rules_docker-v0.15.0.tar.gz"],
|
||||
+)
|
||||
+
|
||||
# Load tf_repositories() before loading dependencies for other repository so
|
||||
# that dependencies like com_google_protobuf won't be overridden.
|
||||
load("//tensorflow:workspace.bzl", "tf_repositories")
|
||||
Reference in New Issue
Block a user