Model loading can hang with no way out
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 50/100
Direzione di ricerca
Start with load_model in desktop/src-tauri/src/lib.rs, where Engine::load runs on the blocking pool, and trace how the engine lock is taken and held around it. Check how the recorder's "Warming up model" state is set and cleared. Done when a load that never returns produces a clear failure after a bound, the engine lock is released, and a later dictation can proceed.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
From the SpeakType 1 audit in PR #103 by @schallau, where a hung model load left the recorder saying "Warming up model" forever.
SpeakType 2 has the same shape of problem: Engine::load runs on the blocking pool with no time limit (desktop/src-tauri/src/lib.rs, load_model), so a load that never returns leaves the pill warming and the engine lock held, and every later dictation waits behind it.
Worth doing:
- Put a bound on loading, and report a clear failure when it passes.
- Make sure the engine lock isn't held forever if a load wedges.
- Say something useful the first time a large model is loaded, since that genuinely takes a while.
- Lingua principale
- Swift
- Stelle
- 540
- Fork
- 74
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di karansinghgit/speaktype
-
Dark mode: Delete confirmation button is white text on a white buttonForse già presa @Aniruth-raman l’ha presa 1 giorno fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
karansinghgit/speaktype#213 · 1 commento ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
karansinghgit/speaktype#211 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
karansinghgit/speaktype#183 · 1 commento ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 18/100
karansinghgit/speaktype#212 · 1 commento ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
karansinghgit/speaktype#209 ·
Tutte le issue di karansinghgit/speaktype
Issue simili
-
area:shell order:5 status:ready type:bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
krystianslowik/arkt#899 ·
I maintainer di solito rispondono entro 1 giorno
-
help wanted roadmap tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
🐞 bug 💠 component 🔍 triage v4 🧰 library
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
Orange-OpenSource/ouds-ios#1875 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
521xueweihan/HelloGitHub#4295 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100