Skip to content

Commit

Permalink
Removed tf-io dependency (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aman-Surkar authored Jul 4, 2024
1 parent 26ed0b5 commit db2c5a3
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
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

0 comments on commit db2c5a3

Please sign in to comment.