mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2863] [Feature]: Enhanced parameter control for sidecar llama-server deployment to support lorebook semantic search. #1451
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#1451
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?
Originally created by @hendrix2222 on GitHub (Jun 24, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2863
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Out of the box, you cannot use the Gemma 4 sidecar for lorebook embedding/vectorization. Two issues arise:
This error can occur when entries being vectorized exceed a certain size.
Both of these issues can be resolve by adjusting the command line parameters passed to llama-server that is backing the sidecar model.
--pooling mean --ubatch 1024However, these parameters are currently passed as hardcoded values in the sidecar launch plan:
args.push("--embeddings", "--pooling", "none");Proposed solution
Provide additional configuration items that can override the default values above when starting the sidecar llama-server
Alternatives considered
Provide ability to select overrides in the sidecar configuration window.
Additional context
Errors above can be triggered by:
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Jun 27, 2026):
I'll see if Gemma supports this stuff.
https://ai.google.dev/gemma/docs/core/model_card_4
@SpicyMarinara commented on GitHub (Jun 27, 2026):
Implemented configurable llama.cpp embedding launch parameters for the local sidecar.
What changed:
For Gemma lorebook semantic search, set:
Notes checked:
Validation: