Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libtensorflow: 2.15.0 -> 2.16.2 #347807

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/keras/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ buildPythonPackage rec {
dm-tree
h5py
markdown-it-py
ml-dtypes
({ ml-dtypesTF = ml-dtypes; } // tensorflow).ml-dtypesTF
namex
numpy
optree
Expand Down

This file was deleted.

389 changes: 0 additions & 389 deletions pkgs/development/python-modules/tensorflow/absl_to_std.patch

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
diff -Naurd x/third_party/absl/system.absl.base.BUILD y/third_party/absl/system.absl.base.BUILD
--- x/third_party/absl/system.absl.base.BUILD 2023-09-17 09:12:05.499753364 +0000
+++ y/third_party/absl/system.absl.base.BUILD 2023-09-17 09:16:01.200082822 +0000
@@ -22,7 +22,12 @@
@@ -12,6 +12,8 @@
"atomic_hook",
"errno_saver",
"fast_type_id",
+ "nullability",
+ "prefetch",
"pretty_function",
]]

@@ -22,7 +24,13 @@

cc_library(
name = "raw_logging_internal",
Expand All @@ -11,14 +20,40 @@ diff -Naurd x/third_party/absl/system.absl.base.BUILD y/third_party/absl/system.
+ "-labsl_log_internal_conditions",
+ "-labsl_log_internal_message",
+ "-labsl_log_internal_nullguard",
+ "-labsl_log_internal_check_op",
+ ],
visibility = [
"//absl:__subpackages__",
],
diff -Naurd x/third_party/absl/system.absl.crc.BUILD y/third_party/absl/system.absl.crc.BUILD
--- x/third_party/absl/system.absl.crc.BUILD 1970-01-01 00:00:00.000000000 +0000
+++ y/third_party/absl/system.absl.crc.BUILD 2024-10-10 20:08:56.809477492 +0000
@@ -0,0 +1,7 @@
+load("@rules_cc//cc:defs.bzl", "cc_library")
+
+cc_library(
+ name = "crc32c",
+ linkopts = ["-labsl_crc32c"],
+ visibility = ["//visibility:public"],
+)
diff -Naurd x/third_party/absl/system.absl.functional.BUILD y/third_party/absl/system.absl.functional.BUILD
--- x/third_party/absl/system.absl.functional.BUILD 2024-10-10 10:15:40.640185040 +0000
+++ y/third_party/absl/system.absl.functional.BUILD 2024-10-10 10:17:59.221375986 +0000
@@ -4,10 +4,6 @@

cc_library(
name = "any_invocable",
-)
-
-cc_library(
- name = "any_invocable",
deps = [
"//absl/base:base_internal",
"//absl/base:config",
diff -Naurd x/third_party/absl/system.absl.log.BUILD y/third_party/absl/system.absl.log.BUILD
--- x/third_party/absl/system.absl.log.BUILD 1970-01-01 00:00:00.000000000 +0000
+++ y/third_party/absl/system.absl.log.BUILD 2023-09-17 09:12:11.795762177 +0000
@@ -0,0 +1,134 @@
@@ -0,0 +1,135 @@
+load("@rules_cc//cc:defs.bzl", "cc_library")
+
+package(default_visibility = ["//visibility:public"])
Expand All @@ -43,6 +78,7 @@ diff -Naurd x/third_party/absl/system.absl.log.BUILD y/third_party/absl/system.a
+
+cc_library(
+ name = "die_if_null",
+ linkopts = ["-labsl_die_if_null"],
+ deps = [
+ ":log",
+ "//absl/base:config",
Expand Down Expand Up @@ -153,10 +189,29 @@ diff -Naurd x/third_party/absl/system.absl.log.BUILD y/third_party/absl/system.a
+ "//absl/strings",
+ ],
+)
diff -Naurd x/third_party/absl/system.absl.strings.BUILD y/third_party/absl/system.absl.strings.BUILD
--- x/third_party/absl/system.absl.strings.BUILD 2024-10-10 10:15:40.644185074 +0000
+++ y/third_party/absl/system.absl.strings.BUILD 2024-10-10 18:52:37.648334488 +0000
@@ -3,6 +3,10 @@
package(default_visibility = ["//visibility:public"])

cc_library(
+ name = "string_view",
+)
+
+cc_library(
name = "strings",
linkopts = ["-labsl_strings"],
deps = [
diff -Naurd x/third_party/absl/workspace.bzl y/third_party/absl/workspace.bzl
--- x/third_party/absl/workspace.bzl 2023-09-17 09:12:05.499753364 +0000
+++ y/third_party/absl/workspace.bzl 2023-09-17 09:12:11.795762177 +0000
@@ -20,6 +20,7 @@
--- x/third_party/absl/workspace.bzl 2024-10-10 10:16:56.508840929 +0000
+++ y/third_party/absl/workspace.bzl 2024-10-10 20:09:16.685514935 +0000
@@ -16,10 +16,12 @@
"base",
"cleanup",
"container",
+ "crc",
"debugging",
"flags",
"functional",
"hash",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
diff -Naurd x/tensorflow/workspace2.bzl y/tensorflow/workspace2.bzl
--- x/tensorflow/workspace2.bzl 2023-12-07 09:42:06.557980143 +0000
+++ y/tensorflow/workspace2.bzl 2023-12-07 09:43:50.613924139 +0000
@@ -862,6 +862,7 @@
tf_http_archive(
name = "riegeli",
sha256 = "870ca080cdfc5eba696a72ccc3a54cbf0f2271befc0d459eafa8f065edfaadb2",
+ patch_file = ["//third_party:riegeli-proto.patch"],
strip_prefix = "riegeli-264ef7b4a1314d97265b37544b27cd3923ea72d2",
urls = tf_mirror_urls("https://github.com/google/riegeli/archive/264ef7b4a1314d97265b37544b27cd3923ea72d2.zip"),
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff -Naurd x/WORKSPACE y/WORKSPACE
--- x/WORKSPACE 2023-11-16 08:55:37.370373002 +0000
+++ y/WORKSPACE 2023-11-20 01:55:57.812931627 +0000
@@ -17,6 +17,9 @@
sha256 = "9d04041ac92a0985e344235f5d946f71ac543f1b1565f2cdbc9a2aaee8adf55b",
strip_prefix = "rules_python-0.26.0",
url = "https://github.com/bazelbuild/rules_python/releases/download/0.26.0/rules_python-0.26.0.tar.gz",
+ patches = [
+ "//tensorflow:rules-python-use-nix.patch"
+ ],
)

load("@rules_python//python:repositories.bzl", "python_register_toolchains")
Loading