mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-27 07:58:01 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
What: - SpeechModel.measure makes a fresh pool for every speed-test run on the test's own thread and frees it afterwards (Whisper.threadPool(handle, 0, 0) before and after). Before, its finally put dictation's pool back from the test's thread: that pool's worker inherited the "Hex speed test" name and stayed pinned to the fast cores (the thread the gate emulator found on cpu 2-3 after the app speed test), and later rows could reuse a pool made elsewhere, whose workers the core sampler can't see. - Dictation makes its pool again on the transcription thread when it next starts (ensurePool in prepare and before a standard decode; a no-op when the pool is there). dictationCores falls back to the cores a new pool would use when the model has none. - The Processor line ends "(debug core ratings: ...)" under the debug override, so an emulator report can't pass for a phone's. Checked, unchanged: the measuring thread itself (and the keyboard test's, the same worker), a decode stopped with ✕ and a dictation's decode all get their affinity back in hexspeech.cpp's decode, after the pool is paused; freeing or replacing a pool (unload, release, another size or mask) joins its workers, and ggml applies no affinity to the freeing thread; a paused pool's creation applies none to its creator. Removed: measure() no longer restores dictation's pool itself. Verified on basebook: ./gradlew testDebugUnitTest assembleDebug green (237 tests; StripTextTest covers the Processor line with and without debug ratings). The thread-affinity behaviour needs the emulator check. |
||
| .. | ||
| src | ||
| build.gradle.kts | ||
| proguard-rules.pro | ||