Android: Tesseract mobile app on the fork (CPU arm64, HF model selector) - priority 1 #10
Labels
No labels
NaNs
area/android
area/backup
area/build
area/docs
area/dsh
area/forgejo
area/gguf
area/host
area/kernel
area/runtime
area/security
bootcamp
needs-operator
note
priority/later
priority/next
priority/now
type/bug
type/experiment
type/task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ml-lab/llama.cpp#10
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Priority change (2026-11-18): Tesseract gets its own small Android inference app on this fork; WhaleDroid moves to second place. Plan is in
AGENTS.d/mobile-tesseract.md(private notes).Goal. A focused phone app: pick one of several Tesseract models from HuggingFace, prompt/chat, stream tokens. No agent toolset. Runs CPU-only arm64 first, using this fork's llama.cpp + the
tesseractarch.Why. A real application is the strongest argument for upstreaming the arch (users, phones, model cards), and it forces us to keep the CPU path fast and the GGUF/quant contract honest. It is not a review shortcut.
Engine. NDK
arm64-v8aCPU-only first (customtarditsscan ops are CPU kernels; GPU backends later per device, with CPU fallback). Thin JNI wrapper around the llama API; app repo separate from the fork, syncingupstream/master+ our arch commits.Model selector (no bundled weights). Fetch a JSON manifest (pinned HF raw URL) with entries like
{id, display_name, size, quant, arch, sha256, url, context, notes}; download on first run, verifygeneral.architecture == tesseract+ hash, cache. New models ship by updating the manifest, not the app. Default Q8_0 (~109 MB), Q4_0 (~73 MB) for low-end, F16 (~203 MB) high-end;attn_gammastays F32.Milestones
llama-cli/llama-completioncross-compiled for arm64, Q8_0 runs on a real phone (parity/mem check)Open questions for operator
ml-lab/tesseract-android), Play Store identity