[GH-ISSUE #6675] [Issue]: Add local GGUF loading and VRAM management options #3735

Closed
opened 2026-10-21 06:06:38 +07:00 by bsakaguchi · 1 comment
Owner

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

  1. Use the local sidecar model loading flow.
  2. Attempt to load an existing GGUF model from local disk.
  3. Check for options to select the KV cache type and view estimated VRAM usage after loading.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

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)
[2026-09-25T16:06:04.442Z] Kneurotic: Hi! A few things that would really help local sidecar users:

1. **Load a .gguf from disk.** Right now I can only pull from Hugging Face, so I end up re-downloading models I already have.

2. **KV cache type option** (f16 / q8_0 / q4_0). It would save a lot of VRAM for people running TTS alongside.

3. **Show estimated VRAM use** after load (weights + KV + buffers), so we know if we have room for other stuff.
[Discord message: https://discord.com/channels/1417099416812392641/1553075124586942515/1553075124586942515]

[2026-09-25T16:06:05.351Z] Professor Mari [bot]: Howdy!

Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.**

**Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab:

`Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.`

If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here:

`Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version`

Thank you, this will help tremendously.

This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case.

Cheers!
[Discord message: https://discord.com/channels/1417099416812392641/1553075124586942515/1553075128399560725]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
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 1. Use the local sidecar model loading flow. 2. Attempt to load an existing GGUF model from local disk. 3. Check for options to select the KV cache type and view estimated VRAM usage after loading. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## 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) <details> <summary>Discord thread transcript (2 messages)</summary> ```text [2026-09-25T16:06:04.442Z] Kneurotic: Hi! A few things that would really help local sidecar users: 1. **Load a .gguf from disk.** Right now I can only pull from Hugging Face, so I end up re-downloading models I already have. 2. **KV cache type option** (f16 / q8_0 / q4_0). It would save a lot of VRAM for people running TTS alongside. 3. **Show estimated VRAM use** after load (weights + KV + buffers), so we know if we have room for other stuff. [Discord message: https://discord.com/channels/1417099416812392641/1553075124586942515/1553075124586942515] [2026-09-25T16:06:05.351Z] Professor Mari [bot]: Howdy! Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.** **Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab: `Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.` If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here: `Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version` Thank you, this will help tremendously. This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case. Cheers! [Discord message: https://discord.com/channels/1417099416812392641/1553075124586942515/1553075128399560725] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:06:38 +07:00
Author
Owner

@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.

<!-- gh-comment-id:5845583434 --> @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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3735
No description provided.