mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #130] [CLOSED] Fix Vulkan and CPU support for local llama.cpp #4476
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#4476
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/130
Author: @underslunghero
Created: 4/20/2026
Status: ❌ Closed
Base:
main← Head:fix/upstream-129📝 Commits (1)
eb98c41Fix Vulkan and CPU support for local llama.cpp📊 Changes
2 files changed (+19 additions, -7 deletions)
View changed files
📝
Dockerfile(+7 -0)📝
packages/server/src/services/sidecar/sidecar-process.service.ts(+12 -7)📄 Description
This pull request resolves issues in which the sidecar would not come up in the Docker container. Fixes #129
⚠️ First contribution ⚠️
Tests Performed
Tests Not Performed, and Mitigations
Add required dependencies for sidecar to Dockerfile
I hesitated to add dependencies to your remarkably clean Dockerfile, but CPU and Vulkan support cover a lot of ground. Hopefully you feel it's worthwhile.
libssl3preventedllama-serverfrom launching.libgomp1is required to runllama-serverin CPU mode.libvulkan1is the minimum needed to get Vulkan support working in the container.Fix crashes in CPU mode
-sm nonefix for Gemma 4 on multi-GPUs was forcing GPU detection even in llama.cpp builds that didn't support it, causing the server to exit immediately. Limited to CUDA runtimes.Interactions with other PRs
https://github.com/Pasta-Devs/Marinara-Engine/pull/122 is a more comprehensive rework of this area. However, I think the "Windows Gemma fix" it preserves is a CUDA fix (since the llama.cpp CUDA binary is only available for Windows). Therefore I think the
-sm nonefix here needs to be applied there if this request is not merged.The container dependency fixes would still apply.
If you want to apply both 122 and this, I'd suggest applying this either to
mainfirst, or rebasing MuniMuni's change on top of this and preserving the-sm nonechange in the result.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.