Skip to content

Commit ad45c9e

Browse files
lu-wang-gxunkai55
authored andcommitted
Prevent using Flatbuffer 2.0 in tflite-support
PiperOrigin-RevId: 373601383
1 parent 2cf77ae commit ad45c9e

File tree

1 file changed

+3
-1
lines changed
  • tensorflow_lite_support/tools/pip_package

1 file changed

+3
-1
lines changed

tensorflow_lite_support/tools/pip_package/setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@
5252
REQUIRED_PACKAGES = [
5353
'absl-py >= 0.7.0',
5454
'numpy >= 1.16.0',
55-
'flatbuffers >= 1.12',
55+
# TODO(b/187981032): remove the constraint for 2.0 once the incompatibile
56+
# issue is resolved.
57+
'flatbuffers >= 1.12, <2',
5658
] + SETUP_PACKAGES
5759

5860
project_name = 'tflite-support'

0 commit comments

Comments
 (0)