README in English, listing every fork change
build / build (push) Successful in 16m0s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-10-23 10:19:41 +02:00
1 parent b16314cf39
commit 44634d6b7e
2 files changed
+78 -28

No files matched your search

+11 -10
View File
@@ -1,13 +1,14 @@
# Stuby nativních ML balíčků (fork tth)
# Stubs of the native ML packages (tth fork)
`pubspec.yaml` je přes `dependency_overrides` podstrčí místo
`llamadart`, `flutter_onnxruntime` a `flutter_langdetect`. Mají jen to API,
které aplikace volá, a každé volání vyhodí `UnsupportedError`. Do APK se tak
nedostanou nativní knihovny llama.cpp / LiteRT-LM / ONNX Runtime (~200 MB)
a `lib/` zůstává shodné s upstreamem.
`pubspec.yaml` substitutes them through `dependency_overrides` for
`llamadart`, `flutter_onnxruntime` and `flutter_langdetect`. They carry only
the API the app calls, and every call throws `UnsupportedError`. The native
llama.cpp / LiteRT-LM / ONNX Runtime libraries (~200 MB) therefore never get
into the APK, and the ML code in `lib/` stays as it is upstream.
Důsledek: překlad zpráv a neuronový obrázkový kodek nefungují. Obě funkce jsou
v upstreamu ve výchozím stavu vypnuté a aplikace chybu zachytí a zaloguje.
Consequence: message translation and the neural image codec do not work.
Both are off by default upstream, the app catches and logs the error, and the
fork hides their settings (`kOnDeviceMl` in `lib/tth_fork.dart`).
Když upstream začne volat další symbol, build spadne na chybějícím
identifikátoru — doplň ho sem.
When upstream starts calling another symbol, the build fails on the missing
identifier — add it here.