Skip to content

Commit

Permalink
Update excluded //tflite/experimental targets to specific failing tar…
Browse files Browse the repository at this point in the history
…gets

LITERT_OSS_REV_ID: 708066969
  • Loading branch information
ecalubaquib authored and copybara-github committed Dec 20, 2024
1 parent 02813ef commit e1f201d
Showing 1 changed file with 187 additions and 22 deletions.
209 changes: 187 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 @@ -222,14 +205,196 @@ UBUNTU_EXCLUDED_TARGETS=(
"-//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/c:litert_compiler_plugin"
"-//tflite/experimental/litert/vendors/c:litert_compiler_plugin_api"
"-//tflite/experimental/litert/vendors/c:litert_dispatch_c_api"
"-//tflite/experimental/litert/vendors/c:litert_vendor_c_api_common_test"
"-//tflite/experimental/litert/vendors/cc:litert_compiler_plugin"
"-//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/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/dispatch:dispatch_api"
"-//tflite/experimental/litert/vendors/mediatek/dispatch:dispatch_api_mediatek_test"
"-//tflite/experimental/litert/vendors/mediatek/dispatch:dispatch_api_so"
"-//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_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_compose_graph"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/IR:qnn_op"
"-//tflite/experimental/litert/vendors/qualcomm/compiler/IR:qnn_tensor"
"-//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_so"
"-//tflite/experimental/litert/vendors/qualcomm/tools:dump"
# 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

0 comments on commit e1f201d

Please sign in to comment.