hex/android/app
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax Raad 5fa244b631 android: keep dictation's whisper threads ready, on the fast cores
ggml starts and joins a thread pool for every graph it computes, so a
dictation paid for that at every encoder pass and every decoded token, and
those short-lived threads often landed on little cores. The model now opens
with a pool of its own threads and keeps it for its lifetime, created
paused; a decode keeps the pool's workers on the cores the kernel rates
fast (at least half the strongest core's cpu_capacity, the same rule the
thread count uses) and restores the decoding thread's own affinity when it
ends, so model loads and Parakeet's graphs keep theirs. A core Hex can't
rate, a phone where every core counts as fast, and a mask with fewer usable
cores than the pool has threads all leave ggml's default placement.

Labs › Diagnostics' speed test now runs it as "as now", beside "threads
kept ready, any core" and "new threads every graph", and measure() puts
dictation's pool back afterwards.

fixes #2744
2026-11-24 15:11:09 -05:00
..
src android: keep dictation's whisper threads ready, on the fast cores 2026-11-24 15:11:09 -05:00
build.gradle.kts Android: faster English dictation (Labs) (#2704) 2026-11-24 13:36:38 -05:00
proguard-rules.pro Android: faster English dictation (Labs) (#2704) 2026-11-24 13:36:38 -05:00