Skip to content

Commit

Permalink
dist: disable tflite2-custom
Browse files Browse the repository at this point in the history
tflite2-custom (using custom tflite2 binary per pipeline)
is not stable and not maintained.

Disable it from the default builds until it gets stable.

Signed-off-by: MyungJoo Ham <[email protected]>
  • Loading branch information
myungjoo authored and jaeyun-jung committed Nov 20, 2024
1 parent 85e7e6b commit 258858d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion debian/nnstreamer-tensorflow2-lite.install
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
/usr/lib/nnstreamer/filters/libnnstreamer_filter_tensorflow2-lite.so
/usr/lib/nnstreamer/filters/libnnstreamer_filter_tensorflow2-lite-custom.so
2 changes: 1 addition & 1 deletion meson_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ option('audio-support', type: 'feature', value: 'enabled')
option('tf-support', type: 'feature', value: 'auto')
option('tflite-support', type: 'feature', value: 'auto')
option('tflite2-support', type: 'feature', value: 'auto')
option('tflite2-custom-support', type: 'feature', value: 'auto') # requires tflite2-support!
option('tflite2-custom-support', type: 'feature', value: 'disabled') # requires tflite2-support. disabled due to incompleteness.
option('pytorch-support', type: 'feature', value: 'auto')
option('caffe2-support', type: 'feature', value: 'auto')
option('deepview-rt-support', type: 'feature', value: 'auto')
Expand Down
3 changes: 1 addition & 2 deletions packaging/nnstreamer.spec
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ NNStreamer's datareposrc/sink plugins for reading and writing files in MLOps Dat

# Support tensorflow2-lite
%if 0%{?tensorflow2_lite_support}
%define enable_tf2_lite -Dtflite2-support=enabled -Dtflite2-custom-support=enabled
%define enable_tf2_lite -Dtflite2-support=enabled -Dtflite2-custom-support=disabled
%else
%define enable_tf2_lite -Dtflite2-support=disabled -Dtflite2-custom-support=disabled
%endif
Expand Down Expand Up @@ -1148,7 +1148,6 @@ cp -r result %{buildroot}%{_datadir}/nnstreamer/unittest/
%manifest nnstreamer.manifest
%defattr(-,root,root,-)
%{_prefix}/lib/nnstreamer/filters/libnnstreamer_filter_tensorflow2-lite.so
%{_prefix}/lib/nnstreamer/filters/libnnstreamer_filter_tensorflow2-lite-custom.so
%endif

%if 0%{?python3_support}
Expand Down

0 comments on commit 258858d

Please sign in to comment.