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

Update excluded //tflite/experimental targets to specific failing targets #338

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
182 changes: 160 additions & 22 deletions ci/run_bazel_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,23 +173,6 @@ UBUNTU_EXCLUDED_TARGETS=(
"-//tflite/delegates/hexagon/java:tensorflowlite_hexagon"
"-//tflite/delegates/hexagon/java:tensorflowlite_java_hexagon"
"-//tflite/delegates/xnnpack:reduce_test"
"-//tflite/experimental/shlo/ops:abs_test"
"-//tflite/experimental/shlo/ops:binary_elementwise_test"
"-//tflite/experimental/shlo/ops:cbrt_test"
"-//tflite/experimental/shlo/ops:ceil_test"
"-//tflite/experimental/shlo/ops:cosine_test"
"-//tflite/experimental/shlo/ops:exponential_minus_one_test"
"-//tflite/experimental/shlo/ops:exponential_test"
"-//tflite/experimental/shlo/ops:floor_test"
"-//tflite/experimental/shlo/ops:log_plus_one_test"
"-//tflite/experimental/shlo/ops:log_test"
"-//tflite/experimental/shlo/ops:logistic_test"
"-//tflite/experimental/shlo/ops:negate_test"
"-//tflite/experimental/shlo/ops:sign_test"
"-//tflite/experimental/shlo/ops:sine_test"
"-//tflite/experimental/shlo/ops:sqrt_test"
"-//tflite/experimental/shlo/ops:tanh_test"
"-//tflite/experimental/shlo/ops:unary_elementwise_test"
"-//tflite/kernels:pywrap_variable_ops"
"-//tflite/kernels:pywrap_variable_ops.so"
"-//tflite/kernels:pywrap_variable_ops_filegroup"
Expand Down Expand Up @@ -219,17 +202,172 @@ UBUNTU_EXCLUDED_TARGETS=(
"-//tflite/testing:customized_tflite_for_add_ops_jni"
"-//tflite/testing:libtensorflowlite_jni.so"
"-//tflite/testing:tflite_tflite_model_example_test_model"
"-//tflite/c:common__test_self_contained_c__tflite/c__builtin_op_data.h_lib"
"-//tflite/core/async/testing:mock_async_kernel"
"-//tflite/core/async:backend_async_kernel_interface"
"-//tflite/tools/evaluation/proto/..."
# The following are failing due to :flatbuffer_tools
"-//tflite/c/..."
"-//tflite/core/..."
"-//tflite/tools/optimize:modify_model_interface_main"
# For now remove unstable experimental code.
"-//tflite/experimental/..."
# TODO(b/384562428): tflite/experimental/litert/core/util:flatbuffer_tools failing need c++20
# Each failures in subdirectory below are failing due to b/384562428
# "-//tflite/experimental/litert/compiler/"
"-//tflite/experimental/litert/compiler/plugin:algo"
"-//tflite/experimental/litert/compiler/plugin:algo_test"
"-//tflite/experimental/litert/compiler/plugin:compiler_plugin"
# "-//tflite/experimental/litert/c/..."
"-//tflite/experimental/litert/c:litert_c_api_common_test"
"-//tflite/experimental/litert/c:litert_compiled_model"
"-//tflite/experimental/litert/c:litert_compiled_model_test"
"-//tflite/experimental/litert/c:litert_dispatch_delegate"
"-//tflite/experimental/litert/c:litert_model"
"-//tflite/experimental/litert/c:litert_model_test"
"-//tflite/experimental/litert/c:litert_options"
"-//tflite/experimental/litert/c:litert_tensor_buffer"
"-//tflite/experimental/litert/c:litert_tensor_buffer_requirements_test"
"-//tflite/experimental/litert/c:litert_tensor_buffer_test"
# "-//tflite/experimental/litert/cc/..."
"-//tflite/experimental/litert/cc:litert_buffer_ref_test"
"-//tflite/experimental/litert/cc:litert_compiled_model"
"-//tflite/experimental/litert/cc:litert_compiled_model_test"
"-//tflite/experimental/litert/cc:litert_element_type"
"-//tflite/experimental/litert/cc:litert_element_type_test"
"-//tflite/experimental/litert/cc:litert_model"
"-//tflite/experimental/litert/cc:litert_model_predicates"
"-//tflite/experimental/litert/cc:litert_model_predicates_test"
"-//tflite/experimental/litert/cc:litert_model_test"
"-//tflite/experimental/litert/cc:litert_tensor_buffer"
"-//tflite/experimental/litert/cc:litert_tensor_buffer_requirements"
"-//tflite/experimental/litert/cc:litert_tensor_buffer_requirements_test"
"-//tflite/experimental/litert/cc:litert_tensor_buffer_test"
# "-//tflite/experimental/litert/core/..."
"-//tflite/experimental/litert/core:byte_code_util_test"
"-//tflite/experimental/litert/core/model:flatbuffer_to_litert"
"-//tflite/experimental/litert/core/model:flatbuffer_to_litert_test"
"-//tflite/experimental/litert/core/model:graph_validation"
"-//tflite/experimental/litert/core/model:ir_allocator_test"
"-//tflite/experimental/litert/core/model:litert_to_flatbuffer"
"-//tflite/experimental/litert/core/model:litert_to_flatbuffer_test"
"-//tflite/experimental/litert/core/model:model"
"-//tflite/experimental/litert/core/model:model_buffer"
"-//tflite/experimental/litert/core/model:model_buffer_test"
"-//tflite/experimental/litert/core/model:model_file_test"
"-//tflite/experimental/litert/core/model:model_file_test_util"
"-//tflite/experimental/litert/core/model:model_graph"
"-//tflite/experimental/litert/core/model:model_graph_test"
"-//tflite/experimental/litert/core/model:model_load"
"-//tflite/experimental/litert/core/model:model_serialize"
"-//tflite/experimental/litert/core/model:model_test"
"-//tflite/experimental/litert/core/util:flatbuffer_tools"
"-//tflite/experimental/litert/core/util:flatbuffer_tools_test"
"-//tflite/experimental/litert/core/util:tensor_type_util"
"-//tflite/experimental/litert/core/util:tensor_type_util_test"
# all targets under /runtime is failing
"-//tflite/experimental/litert/runtime/..."
#"-//tflite/experimental/litert/test/..."
"-//tflite/experimental/litert/test:common"
"-//tflite/experimental/litert/test:simple_model"
"-//tflite/experimental/litert/test:simple_model_npu"
# "-//tflite/experimental/litert/tools/..."
"-//tflite/experimental/litert/tools:apply_plugin"
"-//tflite/experimental/litert/tools:apply_plugin_main"
"-//tflite/experimental/litert/tools:apply_plugin_main_for_test"
"-//tflite/experimental/litert/tools:apply_plugin_test"
"-//tflite/experimental/litert/tools:dump"
"-//tflite/experimental/litert/tools:dump_test"
"-//tflite/experimental/litert/tools:tool_display_test"
# "-//tflite/experimental/litert/vendors/..."
"-//tflite/experimental/litert/vendors/cc:conversion"
"-//tflite/experimental/litert/vendors/cc:convert_graph"
"-//tflite/experimental/litert/vendors/cc:convert_graph_test"
"-//tflite/experimental/litert/vendors/cc:ir_types"
"-//tflite/experimental/litert/vendors/cc:partition_with_capabilities"
"-//tflite/experimental/litert/vendors/cc:partition_with_capabilities_test"
"-//tflite/experimental/litert/vendors/examples:example_conversion_impl"
"-//tflite/experimental/litert/vendors/examples:example_conversion_impl_test"
"-//tflite/experimental/litert/vendors/examples:example_ir"
"-//tflite/experimental/litert/vendors/examples:example_plugin"
"-//tflite/experimental/litert/vendors/examples:example_plugin_so"
"-//tflite/experimental/litert/vendors/examples:example_plugin_test"
"-//tflite/experimental/litert/vendors/examples:example_plugin_with_conversions"
"-//tflite/experimental/litert/vendors/examples:example_plugin_with_conversions_test"
"-//tflite/experimental/litert/vendors/google_tensor/dispatch:dispatch_api"
"-//tflite/experimental/litert/vendors/google_tensor/dispatch:dispatch_api_google_tensor_test"
"-//tflite/experimental/litert/vendors/google_tensor/dispatch:dispatch_api_so"
"-//tflite/experimental/litert/vendors/mediatek/compiler:compile_model"
"-//tflite/experimental/litert/vendors/mediatek/compiler:compiler_plugin"
"-//tflite/experimental/litert/vendors/mediatek/compiler:compiler_plugin_so"
"-//tflite/experimental/litert/vendors/mediatek/compiler:create_model"
"-//tflite/experimental/litert/vendors/mediatek/compiler/legalizations:add_op_legalization"
"-//tflite/experimental/litert/vendors/mediatek/compiler/legalizations:operand_map"
"-//tflite/experimental/litert/vendors/mediatek/dispatch:dispatch_api"
"-//tflite/experimental/litert/vendors/mediatek/dispatch:dispatch_api_mediatek_test"
"-//tflite/experimental/litert/vendors/mediatek/dispatch:dispatch_api_so"
# Qualcommn: Don't build/test in OS until qnn is available.
"-//tflite/experimental/litert/vendors/qualcomm:common"
"-//tflite/experimental/litert/vendors/qualcomm:context_binary_info"
"-//tflite/experimental/litert/vendors/qualcomm:qnn_log"
"-//tflite/experimental/litert/vendors/qualcomm:qnn_manager"
"-//tflite/experimental/litert/vendors/qualcomm:qnn_manager_hdr"
"-//tflite/experimental/litert/vendors/qualcomm:qnn_manager_test"
"-//tflite/experimental/litert/vendors/qualcomm:qnn_tensor"
"-//tflite/experimental/litert/vendors/qualcomm/compiler:graph_mapper"
"-//tflite/experimental/litert/vendors/qualcomm/compiler:qnn_compiler_plugin"
"-//tflite/experimental/litert/vendors/qualcomm/compiler:qnn_compiler_plugin_so"
"-//tflite/experimental/litert/vendors/qualcomm/compiler:qnn_compiler_plugin_test"
"-//tflite/experimental/litert/vendors/qualcomm/compiler:qnn_compose_graph"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/IR:op_compatibility_test"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/IR:qnn_op"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/IR:qnn_op_test"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/IR:qnn_tensor"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/IR:qnn_tensor_test"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/legalizations:add_op_legalization"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/legalizations:batch_matmul_op_legalization"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/legalizations:cast_op_legalization"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/legalizations:concatenation_op_legalization"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/legalizations:cos_op_legalization"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/legalizations:div_op_legalization"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/legalizations:embedding_lookup_op_legalization"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/legalizations:fully_connected_op_legalization"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/legalizations:gelu_op_legalization"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/legalizations:greater_op_legalization"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/legalizations:legalization"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/legalizations:less_op_legalization"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/legalizations:logical_and_op_legalization"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/legalizations:mul_op_legalization"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/legalizations:reshape_op_legalization"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/legalizations:rsqrt_op_legalization"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/legalizations:select_op_legalization"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/legalizations:sin_op_legalization"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/legalizations:slice_op_legalization"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/legalizations:softmax_op_legalization"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/legalizations:sub_op_legalization"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/legalizations:sum_op_legalization"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/legalizations:tanh_op_legalization"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/legalizations:transpose_op_legalization"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/legalizations:util"
"-//tflite/experimental/litert/vendors/qualcomm/dispatch:dispatch_api"
"-//tflite/experimental/litert/vendors/qualcomm/dispatch:dispatch_api_qualcomm_test"
"-//tflite/experimental/litert/vendors/qualcomm/dispatch:dispatch_api_so"
"-//tflite/experimental/litert/vendors/qualcomm/tools:dump"
"-//tflite/experimental/shlo/ops:abs_test"
"-//tflite/experimental/shlo/ops:binary_elementwise_test"
"-//tflite/experimental/shlo/ops:cbrt_test"
"-//tflite/experimental/shlo/ops:ceil_test"
"-//tflite/experimental/shlo/ops:cosine_test"
"-//tflite/experimental/shlo/ops:exponential_minus_one_test"
"-//tflite/experimental/shlo/ops:exponential_test"
"-//tflite/experimental/shlo/ops:floor_test"
"-//tflite/experimental/shlo/ops:log_plus_one_test"
"-//tflite/experimental/shlo/ops:log_test"
"-//tflite/experimental/shlo/ops:logistic_test"
"-//tflite/experimental/shlo/ops:negate_test"
"-//tflite/experimental/shlo/ops:sign_test"
"-//tflite/experimental/shlo/ops:sine_test"
"-//tflite/experimental/shlo/ops:sqrt_test"
"-//tflite/experimental/shlo/ops:tanh_test"
"-//tflite/experimental/shlo/ops:unary_elementwise_test"
# The following below are android exclusive targets
"-//tflite/acceleration/..."
"-//tflite/experimental/acceleration/..."
"-//tflite/delegates/gpu/gl:android_sync"
"-//tflite/delegates/gpu/java/src/main/native/..."
"-//tflite/delegates/hexagon/hexagon_nn:hexagon_interface_android"
Expand Down