Commit graph

16 commits

Author SHA1 Message Date
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
807c35d6a9
Bazel Module (#3364)
* Work

* Review update

* Enabled tests

* Bazel: Suppress warnings from external repositories

* Fixed whl_test

* Formatted

* More format
2026-02-11 14:11:47 -08:00
Esun Kim
718c5d21a7
[CI] Windows 2 (#3337)
* Harden script

* More
2026-01-24 12:12:48 -08:00
Esun Kim
55e836378a
More fix (#3335) 2026-01-24 11:36:17 -08:00
Esun Kim
966bda66a6
Added UINT4 support (Sync from github.com/tensorflow/tensorflow) (#3283)
* Added UINT4 support

* Sync from upstream TF.

---------

Co-authored-by: TFLM-bot <tflm-github-bot@google.com>
2026-01-16 10:05:13 -08:00
TFLM-bot
9b9b1e32e0
Sync from upstream TF. (#3249) 2025-11-07 09:43:05 -08: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
Pedro Gonnet
f50d917a19
Switch to LiteRT repo (#3199)
* Switch from the github.com/tensorflow/tensorflow repository to the new github.com/google-ai-edge/LiteRT repository for TFLite sources.

* Fix up include paths.

* More fixes.

* Fix more paths.

* Re-add missing python fixes.

* Re-add missing python fixes.

* Re-run `bazel run //third_party:python_requirements.update -- --upgrade` with Python 3.12.

* Revert third_party/python_requirements.txt.

---------

Co-authored-by: Esun Kim <veblush@google.com>
2025-10-06 14:52:15 +02: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
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
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
suleshahid
39ba5a848d
Fix upstream sync (again) (#2763)
* sync from upstream with new files

* formatting
2024-12-11 11:43:49 -08: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
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
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