LettuceAI 2.2.0 and 2.2.1 both crash when opening Settings → Models
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- tauri, typescript
Direzione di ricerca
Start by tracing the Settings → Models setup flow and identify which native or bundled dependency is invoked when the model picker opens; the report points to an Oniguruma function and a BMI2 instruction on unsupported CPUs. Check the Windows CPU and CUDA builds on a machine without BMI2, then verify they no longer crash or at least show an error. The issue does not name specific files or tests.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
Hello, I never used Lettuce AI before. Today I did a fresh install of the 2.2.1 windows, cpu version on windows 10 and tried to follow the setup process. When I opened the setting page for choosing a local LLM model as part of the setup process, the whole app closed after a few seconds, regardless of what I do. There is no error message and this problem persists after restarts, fresh installs and repeated attempts.
I've tried to debug via Chat-GPT and it describes the problem as follows:
Windows 10/11, CPU Intel Xeon E5-2670 v2 (Ivy Bridge, AVX but no BMI2). LettuceAI 2.2.0 and 2.2.1 both crash when opening Settings → Models, before selecting a model. Event Viewer reports exception 0xc000001d. WinDbg identifies the faulting instruction as shlx edx,r8d,edx at lettuceai!onig_builtin_fail+0x1157bb. SHLX is a BMI2 instruction unsupported by Ivy Bridge. The Windows CPU build appears to have been compiled with BMI2 instructions enabled.
That onig_... naming is from Oniguruma, a regular-expression library. onig_builtin_fail is indeed an Oniguruma function.
To Reproduce
Steps to reproduce the behavior, as they have happend on my machine:
- Have windows 10 with an Intel Xeon E5-2670 v2 CPU or any other cpu that doesn't support BMI2 instructions.
- Install LettuceAI 2.2.1 fresh.
- Open LettuceAI.
- Click 'Get Started'.
- Click 'Yes, I know how this works'.
- Click 'I want to use local LLMs'.
- Click 'use my own gguf files'.
- Wait a few seconds and LettuceAI should close on its own.
Expected behavior
For everything to keep working or at least an error message.
Additional context
- The CUDA version has the same problem.
- Lingua principale
- TypeScript
- Stelle
- 141
- Fork
- 37
- Merge medio
- 3h 40m
- PR unite (30g)
- 4
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 LettuceAI/app
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 4/5 1-2 giorni Idoneità per principianti 30/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
-
Need light themeApertaenhancement good first issue
Difficoltà 4/5 3-5 giorni Idoneità per principianti 53/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
Tutte le issue di LettuceAI/app
Issue simili
-
frontend
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
ranxianglei/billion-context#4172 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
awslabs/threat-composer#362 ·
I maintainer di solito rispondono entro 1 giorno
-
Area/Cloud Needs Triage Type/Bug
Difficoltà 1/5 1-3 ore Idoneità per principianti 86/100
wso2/product-integrator#2847 ·
I maintainer di solito rispondono entro 1 giorno