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

Removed tf-io dependency for s390x #137

Merged
merged 1 commit into from
Jul 4, 2024
Merged
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
24 changes: 24 additions & 0 deletions recipe/0001-Removed-tf-io-dependency.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
From 9b57785a0acb2bdf9e2e43162323a730e6f84447 Mon Sep 17 00:00:00 2001
From: Aman Surkar <Aman.Surkar@ibm.com>
Date: Thu, 4 Jul 2024 06:32:48 +0000
Subject: [PATCH] Removed tf-io dependency

---
tensorflow/tools/pip_package/setup.py | 1 -
1 file changed, 1 deletion(-)

diff --git a/tensorflow/tools/pip_package/setup.py b/tensorflow/tools/pip_package/setup.py
index fdb718d1628..1af77e63925 100644
--- a/tensorflow/tools/pip_package/setup.py
+++ b/tensorflow/tools/pip_package/setup.py
@@ -102,7 +102,6 @@ REQUIRED_PACKAGES = [
'termcolor >= 1.1.0',
'typing_extensions >= 3.6.6',
'wrapt >= 1.11.0, < 1.15',
- 'tensorflow-io-gcs-filesystem >= 0.23.1',
# grpcio does not build correctly on big-endian machines due to lack of
# BoringSSL support.
# See https://github.com/tensorflow/tensorflow/issues/17882.
--
2.40.1

3 changes: 2 additions & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ source:
- 0325-update-rules-python.patch #[ppc64le]
- 0326-fix-build-for-ppc.patch #[ppc64le or s390x]
- 0327-Revert-Add-host-triple-option.-Previously-the-tool-w.patch #[ppc64le and build_type == "cuda"]
- 0001-Removed-tf-io-dependency.patch #[s390x]

build:
number: 4
number: 5
entry_points:
- toco_from_protos = tensorflow.lite.toco.python.toco_from_protos:main
- tflite_convert = tensorflow.lite.python.tflite_convert:main
Expand Down