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.
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:
To Reproduce
Steps to reproduce the behavior, as they have happend on my machine:
Expected behavior
For everything to keep working or at least an error message.
Additional context