mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6555] [Feature]: Install and manage a purpose-built decision model #3674
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#3674
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 @kolacheee on GitHub (Sep 23, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6555
Originally assigned to: @kolacheee on GitHub.
What problem does this solve?
Issue #6530 scoped three phases. #6539 shipped the second one: an existing local chat model can now answer an activation question. This is the third and last, the managed Open-Jev installation that #6530 named as needing its own capability and hardware validation.
A general local chat model answers these questions well, but it only exists as an option for people who already run one. Someone whose chat model is a hosted connection has to load a several-gigabyte GGUF purely to gate an agent. A purpose-built decision model is a smaller process that answers in one forward pass, so it is the right shape for that case and for anyone who wants gating to cost less time per turn.
There is also no way to try a decision model that is not in Marinara's catalog. Open-Jev is the only one I could find today, and a hard-coded list of one ages badly.
Proposed solution
A managed installer for a purpose-built decision model, built to the same shape as the Local Model section's installer so there is one thing to learn rather than two.
Open-Jev 2B is the first catalog entry. Roughly 10 GB of disk and 5 GB of GPU memory, Linux with an NVIDIA card, MIT source and Apache-2.0 adapter. Off by default and behind a warning, a confirmation that carries this machine's own verdict, and a separate step naming the size and the licences.
A preflight that checks compute capability and driver version, not just whether an NVIDIA card is present. Pascal and older cannot run the runtime whatever memory they have, so without that check the download is offered and then fails at load, after 10 GB.
A box for pasting a model's repository, installed only when that repository's own manifest declares a runtime this build ships. That keeps the catalog open without turning the installer into an arbitrary code runner.
Per-model calibration, because probabilities from two models are not comparable. A general local model answers a clear scene change at 0.99 while Open-Jev answers the same turn at 0.2. One fixed threshold of 0.5 makes the second kind skip every relevant turn while looking like it works.
Alternatives considered
Shipping only the catalog entry and no paste box was the proposal's position. Rejected because one entry is not a catalog, and a manifest check is a smaller thing to maintain than a review queue for every new decision model.
Presenting the decision model as the better option was rejected on measurement. On eight roleplay cases it is worse than a general local model at the same job. It is faster and smaller, and the UI has to say that and nothing more.
Reusing the main sidecar's Python runtime was rejected: this runtime is pinned to different dependency versions and a different process lifecycle, and sharing would couple two things that are upgraded on different schedules.
Additional context
Implementation owner: @kolacheee. Measured on Linux with an NVIDIA RTX 5090 Laptop.
Template check