Repository navigation
fix(lemonade): start Lemonade with the Vulkan coopmat workaround and say why memory failed - #4487
Merged
kovtcharov-amd merged 1 commit intoSep 29, 2026
Conversation
…say why memory failed On AMD Radeon iGPUs (8060S / gfx1151) llama.cpp's Vulkan cooperative-matrix path crashes llama-server as it loads an embedding model, so memory and document search were silently dead. Every Lemonade GAIA starts now gets GGML_VK_DISABLE_COOPMAT=1 (not on macOS, which uses Metal), and a model that downloaded but won't load is reported as exactly that, with the fix, instead of a generic "service unreachable". Refs amd#1831, amd#2831.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On a Strix Halo (Radeon 8060S) the embedding model crashed Lemonade's llama.cpp every time it loaded, so memory and document search were dead, and GAIA said only that the service was unreachable. The cause is a llama.cpp Vulkan cooperative-matrix bug on this GPU. Every Lemonade GAIA starts now sets
GGML_VK_DISABLE_COOPMAT=1, and when a model is downloaded but won't load, GAIA says exactly that and how to fix it.Refs #1831, #2831
GGML_VK_DISABLE_COOPMAT=1goes into the environment of every Lemonade GAIA starts (embedded, modern install, systemd hint for self-run servers). Skipped on macOS, which runs Metal.nomic. Removing the remainingnomicreferences is a separate task.Test plan
nomic-embed-text-v2-moe-GGUFfailed to load on every attempt without the flag (0 successes in two Lemonade instances), and withGGML_VK_DISABLE_COOPMAT=1returns a 768-dimension embedding.pytest tests/unit/test_lemonade_launcher.py tests/unit/test_memory_mixin.py tests/unit/test_ui_gpu_detection.py tests/test_lemonade_client.py: no failures beyond those already onmain(integration tests that need a live Lemonade on :13305).go test ./internal/ui/preflight/;python util/lint.py --black --isort.