- Upgraded the Bazel BuildTool to the latest version (8.2.1).
- Updated the `tflm-ci` Docker image and pushed the new tag (0.6.1) to the `ghcr.io/tflm-bot/tflm-ci registry`.
- Updated the WORKSPACE to load `rules_cc` and `rules_shell` explicitly
- Ran `buildifier` to ensure all BUILD files to have all the fixes.
BUG=Clean-up
* Sync from upstream TF.
* Fix upstream TF Sync
The CI sync from the upstream TF has been failing for the last month
due to the relocation of certain TFLite files. In particular, the
error_reporter sources were moved to the compiler subdirectory.
This PR also includes a full sync to get us caught up again.
BUG=b/369123029
---------
Co-authored-by: TFLM-bot <tflm-github-bot@google.com>
The CI sync from the upstream TF has been failing for the last month due
to the relocation of certain TFLite files. In particular, some schema
files were relocated to tensorflow/compiler/mlir/lite subfolder. This PR
mirrors the migration and adds a few redirection headers to ensure
source compatibility for now.
This PR also includes a TF sync as well to get us caught up again. While
that could have been done separately, this is done together to ensure
everything continues to build with the relocations.
BUG=b/351824449
Update the third_party flatbuffers library to v23.5.26, the
current version in upstream TF. Synchronize the override BUILD
and build_defs.bzl files with those from upstream TF at
e4485c98eae.
Also update the Makefile build, which downloads flatbuffers
separately. Rebase the patch applied to the download.
Regenerate the generated-and-checked-in schemas (see
ci/sync_from_upstream_tf.sh and codegen/preprocessor/
update_schema.sh), because they are stamped with the version of
the flatbuffers library, and fail a static_assert if they are
built with a different version of flatbuffers than they were
generated with.
BUG=unsuccessful attempt to fix warning in #2183
Steps:
* modified ci/tflite_files.txt
* ```./ci/sync_from_upstream_tf.sh```
* additional changes needed to fix the build
There are some assumptions that we had been making that have been
somewhat broken by the changes from http://cl/539690111
More details to follow. This PR is currently to test that all the TFLM
builds are green.
BUG=http://b/287269351
NO_CHECK_TFLITE_FILES=manual sync + fixes
Changes in strided slice from http://cl/536336953 required updates to the kernel test.
Note that the TFLM strided\_slice kernel does not support the new offset parameter from http://cl/536336953. See http://b/285340415 for additional context.
NO_CHECK_TFLITE_FILES=manual sync from upstream.
BUG=http://b/285340415
With this change, the sync between TF and TFLM should be fixed. However, the new test cases from http://cl/493746273 still need to be ported to TFLM.
BUG=http://b/260374880
NO_CHECK_TFLITE_FILES=manual sync from upstream
* Sync from upstream TF.
* Generate C++ bindings for schema as part of the import.
Co-authored-by: Advait Jain <advaitjain@users.noreply.github.com>
Co-authored-by: Advait Jain <advaitjain@google.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>