From 895af6f7bc942d7817a6b8a2564c5b9e8625ed42 Mon Sep 17 00:00:00 2001 From: Nirvedh Date: Tue, 12 Nov 2024 16:48:51 -0600 Subject: [PATCH 1/2] XFAIL failining tflite test --- .../tensorflow/test/iree_tfl_tests/README.md | 26 +++++++++---------- .../iree_tfl_tests/llvmcpu_mobilenet_v1.run | 1 + 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/integrations/tensorflow/test/iree_tfl_tests/README.md b/integrations/tensorflow/test/iree_tfl_tests/README.md index 999c1ffde516..59e28810df75 100644 --- a/integrations/tensorflow/test/iree_tfl_tests/README.md +++ b/integrations/tensorflow/test/iree_tfl_tests/README.md @@ -6,22 +6,22 @@ update_tflite_model_documentation.py to update this table. | Model | Status | | ------------------ | ------------------ | +vulkan_mobilenet_v1 | PASS ✓ +llvmcpu_mobilenet_v3-large_uint8 | FAIL ✗ +vmvx_mobilebert_tf2_quant | PASS ✓ +llvmcpu_mobilebert_tf2_quant | PASS ✓ +vulkan_mobilenet_v3-large_uint8 | FAIL ✗ +person_detect | PASS ✓ cartoon_gan | PASS ✓ -east_text_detector | PASS ✓ +vulkan_resnet_50_int8 | FAIL ✗ +east_text_detector | FAIL ✗ +vmvx_person_detect | PASS ✓ gpt2 | PASS ✓ -llvmcpu_mobilebert_tf2_quant | PASS ✓ -llvmcpu_mobilenet_v1 | PASS ✓ -llvmcpu_mobilenet_v3-large_uint8 | FAIL ✗ -llvmcpu_posenet_i8 | FAIL ✗ +mobilenet_v3 | PASS ✓ llvmcpu_resnet_50_int8 | PASS ✓ +llvmcpu_posenet_i8 | FAIL ✗ mnasnet | PASS ✓ -mobilenet_v3 | PASS ✓ -person_detect | PASS ✓ -vmvx_mobilebert_tf2_quant | PASS ✓ +vulkan_posenet_i8 | FAIL ✗ vmvx_mobilenet_v3-large_uint8 | FAIL ✗ -vmvx_person_detect | PASS ✓ vulkan_mobilebert_tf2_quant | FAIL ✗ -vulkan_mobilenet_v1 | PASS ✓ -vulkan_mobilenet_v3-large_uint8 | FAIL ✗ -vulkan_posenet_i8 | FAIL ✗ -vulkan_resnet_50_int8 | FAIL ✗ +llvmcpu_mobilenet_v1 | FAIL ✗ \ No newline at end of file diff --git a/integrations/tensorflow/test/iree_tfl_tests/llvmcpu_mobilenet_v1.run b/integrations/tensorflow/test/iree_tfl_tests/llvmcpu_mobilenet_v1.run index 37a05c7ea9f2..2f5f4742670c 100644 --- a/integrations/tensorflow/test/iree_tfl_tests/llvmcpu_mobilenet_v1.run +++ b/integrations/tensorflow/test/iree_tfl_tests/llvmcpu_mobilenet_v1.run @@ -1,2 +1,3 @@ # REQUIRES: llvmcpu # RUN: %PYTHON -m iree_tfl_tests.mobilenet_v1_test --target_backend=llvmcpu --artifacts_dir=%t +# XFAIL: * From 88ea1569cb99bc5b9fbb6eaf322d01f6f11d4477 Mon Sep 17 00:00:00 2001 From: Nirvedh Date: Tue, 12 Nov 2024 16:57:59 -0600 Subject: [PATCH 2/2] add new line Signed-off-by: Nirvedh --- integrations/tensorflow/test/iree_tfl_tests/README.md | 2 +- .../test/iree_tfl_tests/update_tflite_model_documentation.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/integrations/tensorflow/test/iree_tfl_tests/README.md b/integrations/tensorflow/test/iree_tfl_tests/README.md index 59e28810df75..fa4d83616f06 100644 --- a/integrations/tensorflow/test/iree_tfl_tests/README.md +++ b/integrations/tensorflow/test/iree_tfl_tests/README.md @@ -24,4 +24,4 @@ mnasnet | PASS ✓ vulkan_posenet_i8 | FAIL ✗ vmvx_mobilenet_v3-large_uint8 | FAIL ✗ vulkan_mobilebert_tf2_quant | FAIL ✗ -llvmcpu_mobilenet_v1 | FAIL ✗ \ No newline at end of file +llvmcpu_mobilenet_v1 | FAIL ✗ diff --git a/integrations/tensorflow/test/iree_tfl_tests/update_tflite_model_documentation.py b/integrations/tensorflow/test/iree_tfl_tests/update_tflite_model_documentation.py index 2be5ab5dc8aa..15ede20fb8b5 100755 --- a/integrations/tensorflow/test/iree_tfl_tests/update_tflite_model_documentation.py +++ b/integrations/tensorflow/test/iree_tfl_tests/update_tflite_model_documentation.py @@ -48,7 +48,7 @@ def main(): "| Model | Status |\n" "| ------------------ | ------------------ |\n" ) - tflite_model_documentation.write(create_markdown_table(models)) + tflite_model_documentation.write(create_markdown_table(models) + "\n") new_lines = read_file(readme_file_path) if new_lines == old_lines: