Commit graph

145 commits

Author SHA1 Message Date
TFLM-bot
35b20c5c74
Sync from upstream TF. (#3625) 2026-07-13 11:31:17 -07:00
Esun Kim
e142972d4f
Manual sync from sync from github.com/tensorflow/tensorflow (#3616)
* Synced

* Added FLOAT8_* types
2026-07-01 18:13:01 -07:00
Esun Kim
fbda8b8d6b
Manual sync from sync from github.com/tensorflow/tensorflow (#3601)
* Synced

* No abseil
2026-07-01 14:46:41 -07:00
TFLM-bot
f97216c244
Sync from upstream TF. (#3488) 2026-03-31 14:00:31 +00:00
Esun Kim
183da3e302
Typo in code (#3447)
* Typo in code

* Format
2026-02-11 20:34:42 +00:00
TFLM-bot
47f8b8ed87
Sync from upstream TF. (#3365) 2026-01-29 17:22:34 +00:00
TFLM-bot
7ff5cb833b
Sync from upstream TF. (#3353) 2026-01-26 21:48:16 +00:00
TFLM-bot
d9ea1138e7
Sync from upstream TF. (#3317) 2026-01-22 23:00:56 +00:00
TFLM-bot
aedf9291ee
Sync from upstream TF. (#3247) 2025-10-31 17:22:49 +00:00
TFLM-bot
37fb41f371
Automated sync from github.com/tensorflow/tensorflow (#3214)
* Sync from upstream TF.

* Manual change from cl/819821231

* Fix

* Copyright

---------

Co-authored-by: Esun Kim <veblush@google.com>
2025-10-16 14:33:56 -07:00
Esun Kim
ba753cef3e
[CI] Fix build (#3194)
- 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
2025-09-19 20:48:22 +00:00
TFLM-bot
a0cb185fa5
Automated sync from github.com/tensorflow/tensorflow (#3146)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2025-08-01 21:20:49 +00:00
TFLM-bot
3200ccd182
Automated sync from github.com/tensorflow/tensorflow (#3122)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2025-06-17 16:12:57 +00:00
TFLM-bot
0bf295625b
Automated sync from github.com/tensorflow/tensorflow (#3111)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2025-06-03 23:53:59 +00:00
TFLM-bot
9d35a74b03
Automated sync from github.com/tensorflow/tensorflow (#3100)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2025-05-13 18:15:33 +00:00
TFLM-bot
5f0db3464d
Automated sync from github.com/tensorflow/tensorflow (#3060)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2025-04-16 17:56:33 +00:00
TFLM-bot
6fc405dd65
Automated sync from github.com/tensorflow/tensorflow (#3033)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2025-03-07 18:05:46 +00:00
TFLM-bot
10ebaab9fc
Automated sync from github.com/tensorflow/tensorflow (#3031)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2025-01-07 19:10:40 +00:00
TFLM-bot
2baa918da7
Automated sync from github.com/tensorflow/tensorflow (#3010)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2024-12-13 20:18:22 +00:00
TFLM-bot
c4979643f3
Automated sync from github.com/tensorflow/tensorflow (#2723)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2024-12-12 23:03:52 +00:00
Ryan Kuester
11b15b3a81
build(bazel): introduce tflm_cc_* macros, refactoring away micro_copts (#2765)
Remove micro_copts() by replacing every cc_* target that used
them with a tflm_cc_* equivalent, and setting those common copts
in one place, inside the tflm_cc_* macro.

This is the first of several commits introducing tflm_cc_* macros
in place of cc_binary, cc_library, and cc_test. Motivated by the
upcoming need to support conditional compilation, the objective
is to centralize build configuration rather than requiring (and
remembering that) each cc_* target in the project add the same
common attributes such as compiler options and select()ed

Alternatives such as setting global options on the command line
or in .bazelrc, even if simplified with a --config option, fail
to preserve flags and hooks for configuration in the case TFLM is
used as an external repository by an application project. Nor is
it easy in that case for individual targets to override an
otherwise global setting.

BUG=#2636
2024-11-14 23:16:28 +00:00
suleshahid
389e775e88
Fix upstream sync (#2728)
* .

* nl add

* Sync from upstream TF.

* fix include

---------

Co-authored-by: TFLM-bot <tflm-github-bot@google.com>
2024-10-29 13:57:29 -07:00
TFLM-bot
68d83a684d
Automated sync from github.com/tensorflow/tensorflow (#2699)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2024-09-25 22:28:44 +00:00
RJ Ascani
011a68423a
Fix upstream TF sync (#2694)
* 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>
2024-09-24 10:47:58 -07:00
TFLM-bot
8f9a923ad3
Automated sync from github.com/tensorflow/tensorflow (#2656) 2024-08-06 10:36:14 -07:00
TFLM-bot
91fc719fc8
Automated sync from github.com/tensorflow/tensorflow (#2649) 2024-08-01 08:47:53 -07:00
TFLM-bot
f7d989eb89
Automated sync from github.com/tensorflow/tensorflow (#2634)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2024-07-24 16:44:30 +00:00
RJ Ascani
ff5c090eca
Fix upstream TF sync (#2625)
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
2024-07-15 13:04:01 -07:00
TFLM-bot
8e22946b3f
Automated sync from github.com/tensorflow/tensorflow (#2585)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2024-05-20 17:56:45 +00:00
TFLM-bot
b281a0df5f
Automated sync from github.com/tensorflow/tensorflow (#2571)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2024-05-15 14:30:20 +00:00
Shlomi Regev
b991e726b0
Fix a linker error: undefined kMaxSmallSize (#2476)
When building with a recent version of xt-clang and -std=c++11, the linker errs on missing definition of a static constexpr class member. In C++11, static class members still had to be defined in a C++11 file and TFLM code is expected to be compatible with C++11.

BUG=323856831
2024-02-27 14:35:14 +00:00
TFLM-bot
42f4bb836a
Automated sync from github.com/tensorflow/tensorflow (#2445)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2024-02-06 16:29:07 +00:00
TFLM-bot
13de409ade
Automated sync from github.com/tensorflow/tensorflow (#2414)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2024-01-31 18:03:55 +00:00
TFLM-bot
21d72039cc
Automated sync from github.com/tensorflow/tensorflow (#2395)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2024-01-19 00:52:33 +00:00
TFLM-bot
49ab008118
Automated sync from github.com/tensorflow/tensorflow (#2280)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2023-10-18 15:00:24 +00:00
TFLM-bot
f2f53c1ade
Automated sync from github.com/tensorflow/tensorflow (#2269)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2023-10-13 03:24:44 +00:00
TFLM-bot
6b43adca37
Automated sync from github.com/tensorflow/tensorflow (#2242)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2023-09-25 21:25:22 +00:00
TFLM-bot
87b99b2feb
Automated sync from github.com/tensorflow/tensorflow (#2205)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2023-09-05 18:38:22 +00:00
TFLM-bot
a72c0554bc
Automated sync from github.com/tensorflow/tensorflow (#2198)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2023-09-01 20:13:01 +00:00
TFLM-bot
a73eb10945
Automated sync from github.com/tensorflow/tensorflow (#2185)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2023-08-24 19:12:27 +00:00
TFLM-bot
33b54b3b6b
Automated sync from github.com/tensorflow/tensorflow (#2110)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2023-07-12 16:07:19 +00:00
David Davis
ef0a7b025a
DebugLog changes (#2073)
@tensorflow/micro

Change DebugLog to allow stdio style formatted output using either <cstdio> or a third party printf library.

Remove micro_string code.

bug=fixes #2083
2023-07-06 20:21:19 +00:00
TFLM-bot
c6e758b3ac
Automated sync from github.com/tensorflow/tensorflow (#2049)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2023-06-20 22:33:01 +00:00
Advait Jain
e63dc4cbcd
Sync from upstream TF. (#2053)
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
2023-06-14 23:27:57 +00:00
TFLM-bot
5b7374fac4
Automated sync from github.com/tensorflow/tensorflow (#2036)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2023-06-12 17:31:19 +00:00
TFLM-bot
e0240194c1
Automated sync from github.com/tensorflow/tensorflow (#2021)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2023-06-06 17:41:56 +00:00
Advait Jain
982aaef60a
Manual sync from upstream (and additional changes) (#2018)
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
2023-06-01 22:41:30 +00:00
TFLM-bot
bf9dcad83d
Automated sync from github.com/tensorflow/tensorflow (#1963)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2023-05-16 22:51:18 +00:00
TFLM-bot
48a07c14d5
Automated sync from github.com/tensorflow/tensorflow (#1945)
BUG=automated sync from upstream
NO_CHECK_TFLITE_FILES=automated sync from upstream
2023-05-02 20:08:05 +00:00
TANMAY DAS
869e70bfbd
Manually ran sync_from_upstream_tf to add tensorflow/lite/core/macros.h. (#1921)
BUG=http://b/279053959
NO_CHECK_TFLITE_FILES=manual sync from upstream
2023-04-25 01:12:50 +00:00