Repository navigation
Add ml-tflite component (TensorFlow Lite runtime) - #83
Merged
Merged
Conversation
组件审计报告底座 🔴 ml-tflite 2.21.0-1-r1下载 12.2 MB · 装后 38.5 MB · 962 个文件 · 4 个包 (第一次发布)
人要看的:
和别的组件共用的包:octave:libopenblas;sci-python:libopenblas, python-numpy 包清单
CI 实跑 selftest(arm64 + termux-docker)
环境同 App 里 Claude 的 Bash 工具(PREFIX / HOME / TMPDIR / termux-exec),没有 GPU、屏幕、Shizuku。通过只说明「装得上、跑得起来」,安卓特有的问题仍要真机。 |
python-tflite-runtime 2.21.0 for CPU inference. It requires sci-python and excludes numpy, and bundles a 544-byte Apache-2.0 TensorFlow test model for an offline inference selftest plus an inspect command for user models. Co-Authored-By: Claude Code <noreply@anthropic.com>
greyoak111
force-pushed
the
comp/ml-tflite
branch
from
November 11, 2026 15:28
c272f23 to
e17d1d1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
组件 / Component
ml-tfliteWhat
TensorFlow Lite CPU inference on the device:
ml-tflite info— runtime, numpy and bundled modelml-tflite inspect model.tflite— input/output tensor names, shapes and dtypestflite_runtime.interpreter.InterpreterThe component is self-contained: numpy is bundled, so it has no component dependencies. The bundled
usr/share/ml-tflite/add.binis TensorFlow's 544-byte Apache-2.0 test model, used only by the offline selftest and examples. User models are supplied separately.体积与共用包 / Size and sharing
sci-python、pandas共用python-numpy、libopenblas(同一 Termux 版本;有意做成自包含,不requiressci-python)/ sharespython-numpyandlibopenblaswithsci-pythonandpandas(same Termux version; self-contained on purpose)Tested
The selftest loads the bundled model, fills the input tensors with zeros, invokes the interpreter and checks every output. Local audit against
devkit-2026.10.28: 0 errors; 🔴 for human review because the component fetches an upstream model from GitHub (sha256 verified at build time). The model's source and Apache-2.0 notice are inusr/share/ml-tflite/NOTICE. The staged package passed locally.检查 / Checklist
node tools/check-recipes.mjs通过 / passesci-build.mjs --dry依赖都能解 / resolves (also built fordevkit-2026.10.28)needs如实填写 / filled honestly (shizuku,display,gpuall false)真机测试 / Device test
node tools/verify-device.mjs全过,记录另开 PR 进verified.json/ not run yet; can follow up🤖 Generated with Claude Code