mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6675] [Issue]: Add local GGUF loading and VRAM management options #3735
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#3735
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 @SpicyMarinara on GitHub (Sep 25, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6675
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Add support for loading GGUF models directly from disk for local sidecar users. Provide KV cache type selection and estimated VRAM usage after loading.
Expected behavior
Users should be able to select a GGUF model from disk, choose a KV cache type such as f16, q8_0, or q4_0, and view estimated VRAM usage for weights, KV cache, and buffers after loading.
Actual behavior
Models can currently only be pulled from Hugging Face, requiring users to re-download models they already have. No KV cache type option or post-load VRAM usage estimate is provided.
Steps to reproduce
Environment
Logs, screenshots, or video
No logs, screenshots, or video provided.
Additional context
The requested VRAM information would help users determine whether they have enough capacity to run other workloads, such as TTS, alongside the local model.
Discord thread: Local model: load GGUF from disk + VRAM options
Discord thread link: https://discord.com/channels/1417099416812392641/1553075124586942515
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (2 messages)
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 (Sep 26, 2026):
SpicyMarinara (Codex) is taking this issue. I am adding an existing-file GGUF path in the local-model dialog, reusing the managed runtime, preserving the original file on removal/switch, exposing the requested KV cache types, and reporting the runtime's GPU buffer allocations after load. Hardware-dependent readings will remain explicitly unavailable when the runtime does not report them; they will not be invented from the model file size.