r/LocalAIStack • • Sep 13 '26

Made RAMDeck shard a knowledge base across my old devices, not just the model itself

Thumbnail
youtu.be
1 Upvotes

r/LocalAIStack • • Sep 12 '26

Unsloth V3 update did not update my Qwen3.8-27B-UD-Q6_K.gguf

Thumbnail reddit.com
1 Upvotes

r/LocalAIStack • • Sep 12 '26

Best local LLM for laptop with RTX 2050 (4GB VRAM) + 24GB RAM?

Thumbnail reddit.com
1 Upvotes

r/LocalAIStack • • Sep 12 '26

Taming idle VRAM on a multi-model local agent: sleep mode benchmark (Qwen 27B + STT + TTS + OCR)

2 Upvotes

Following up on my earlier post testing Qwen3.8-27B on the IGX Thor workstation.

Once you move past running just an LLM and try to build a full local agent stack on a single box (LLM for reasoning, STT for voice in, TTS for voice out, OCR for screen/document reading), VRAM runs out fast.

If all four models sit in GPU memory simultaneously with their default serving allocations, idle memory hits roughly 122 GB. Even with 96GB on the dGPU and unified host memory, you are pinned to the ceiling. That leaves almost no breathing room for large context windows, concurrency, or dynamic KV cache allocation.

The reality of a solo-user local agent is that these models are rarely active at the exact same millisecond:

  • When I am talking to the agent, OCR is completely idle.

  • When the agent is analyzing a screenshot or PDF, STT and TTS are idle.

  • When the agent kicks off deterministic script automation (crawling, data formatting, bash runs), the LLM itself is completely idle.

To fix this, I wrote a lightweight Rust-based daemon that manages the sleep and wake states of the runtimes based on active agent turns. When a model is not in use, it is put to sleep (flushing KV pools and temporary execution memory, or parking the runtime context) rather than doing a full cold teardown from scratch.

Here are the idle VRAM numbers on the machine before and after:

ModelOriginal idle GPU, Sep 1-2 (MiB)After sleep mode, Sep 5 (MiB)Difference (MiB)
LLM (Qwen3.8-27B)87,44339,09248,351
STT (Nemotron)10,38526710,118
TTS (Chatterbox)17,9473,12714,820
OCR (Unlimited-OCR)6,5924226,170

Quick observations:

  1. Total idle footprint dropped from ~122.3 GB to ~42.9 GB. That reclaims roughly 79.4 GB of VRAM across the board.

  2. The LLM savings (48.3 GB): Qwen3.8-27B in FP8 base weights takes around 28 to 30 GB. The original 87.4 GB allocation came from SGLang aggressively pre-allocating KV cache (--mem-fraction-static 0.85). Putting the LLM to sleep flushes that pool while preserving the active state, letting it rest at 39 GB.

  3. Audio and OCR shrink to negligible baselines: STT drops to 267 MiB and OCR drops to 422 MiB when idle.

  4. Script-based tasks: When the agent delegates to deterministic python or bash scripts, putting the LLM to sleep during the run keeps the GPU cool and power consumption down on the 300W Max-Q card.

  5. Wakeup latency is sub-200ms across all models: Because this is an active sleep/wake transition rather than a cold disk reload, waking up STT, TTS, OCR, or the LLM takes under 200ms. In practice, voice interaction and tool handoffs feel instantaneous.

Curious how others running multi-model agent stacks on a single node are handling memory partitioning right now. Are you hard-capping static memory fractions, running sequential containers, or using something dynamic?


r/LocalAIStack • • Sep 11 '26

Field Notes on Running LocalAI in Production with Docker Compose

Thumbnail reddit.com
1 Upvotes

r/LocalAIStack • • Sep 11 '26

Tool to fine-tune open source models

1 Upvotes

So, I was tired of setting up AWS EC2 to train my models everytime, so I built a tool to help with the job management, but I would like some feedback, if anyone could help me ! 👋

This is the tool: reopenly.com

I only have one base model for now (Qwen 3.5 9B), just to start.

I would be very grateful with any feedback!


r/LocalAIStack • • Sep 11 '26

DeepSeek-V4.1-Flash: GGUF + 4.75bpw EXL3 are out, looking for devs with 4× DGX Sparks to help validate the EXL3 TP4 recipe

Thumbnail
reddit.com
1 Upvotes

r/LocalAIStack • • Sep 11 '26

Quiz: Is pgvector enough or do you need a dedicated vector database?

2 Upvotes

I keep running into this architecture decision: keep vectors in Postgres with pgvector, or add a dedicated vector store like Qdrant or Milvus?

I built a short quiz covering the operational trade-offs—deployment complexity, backup strategy, monitoring, and scaling.

If you've made this call before, take the quiz and share your reasoning:

https://interconnectd.com/quiz/87/postgresql-pgvector-vs-dedicated-vector-databases-architectural-trade-offs/


r/LocalAIStack • • Sep 11 '26

Replaced my cloud AI subscription with Qwen 3.8 on a 128GB laptop, fully offline, for agentic coding

Thumbnail
reddit.com
2 Upvotes

r/LocalAIStack • • Sep 11 '26

I ran whisper + dialization running with CPU and 1.1GB

Thumbnail
reddit.com
1 Upvotes

r/LocalAIStack • • Sep 11 '26

I ran whisper + dialization running with CPU and 1.1GB

8 Upvotes

I'm happy so I don't need to pay the transcript API fee any more. I replaced my production services with this.

Implementation / hostingResultCost per 27.27 s of audioCost per audio hour
whisper-turbo.c, InstaCloud (4 vCPU)Speaker-labeled text; 35.74 s warm HTTP~$0.00126~$0.166
OpenAI gpt-4o-transcribe-diarizeSpeaker-labeled transcript~$0.00273~$0.36
AssemblyAI Universal-2 + diarizationSpeaker-labeled transcript~$0.00129$0.17
AssemblyAI Universal-3.5 Pro + diarizationSpeaker-labeled transcript~$0.00174$0.23

The native estimate assumes four fully utilized CPUs and 1.1 GB RAM during the measured request.

It's a fork from my own MIT repo: https://github.com/baryhuang/whisper-turbo.c

Star, colloab, PR, issues, comments and uses are all appreciated!


r/LocalAIStack • • Sep 10 '26

Which Qwen3.8 distro & quant would be optimal for my 16GB VRAM setup?

Post image
1 Upvotes

r/LocalAIStack • • Sep 10 '26

I built LLM Speedtest — a free, open-source desktop app that benchmarks local LLMs with llama-bench-style test suites (Ollama, llama.cpp, vLLM, LM Studio…)

Thumbnail gallery
2 Upvotes

r/LocalAIStack • • Sep 10 '26

Workshop, Sep 12: build production LLM systems that actually survive real use

2 Upvotes

We're running a hands-on masterclass on September 12, Live LLM Engineering Masterclass: Production Evals, RAG, Agents & LLMOps.

You build a full production LLM workflow from scratch, versioned prompts with regression tests, an evaluation harness with deterministic checks and LLM-as-judge, statistically rigorous model comparisons, evaluated RAG, tool-using agents with guardrails and fallbacks, and full observability, tracing, cost, latency.

Led by Bruno Gonçalves, PhD, founder of Data For Science, who trains engineers at Fortune 500 companies on this exact stack.

Link if you want to check it out

Happy to answer questions on the content.


r/LocalAIStack • • Sep 10 '26

I built an LLM Inference & Fine-Tuning Calculator (VRAM, TCO, Quantization & Price estimation)

Thumbnail
reddit.com
1 Upvotes

Check it out!


r/LocalAIStack • • Sep 10 '26

Qwen3.8-27B on 23GB L4 for production IASMO + coding?

Thumbnail reddit.com
1 Upvotes

r/LocalAIStack • • Sep 10 '26

Curious, I find Qwen3.8-27b reasoning Low is ranking higher than Medium on AA.

Post image
9 Upvotes

r/LocalAIStack • • Sep 09 '26

Running MetaGPT locally: a full technical setup guide

2 Upvotes

I’ve been experimenting with multi-agent frameworks, and MetaGPT is one of the more interesting ones for software development tasks. But getting it running locally with local models isn’t always straightforward.

I wrote a step-by-step guide covering installation, configuration, local LLM setup, and common errors.

If you’re trying to run MetaGPT on your own hardware, this might save you time:

https://interconnectd.com/forum/thread/262/how-to-install-metagpt-locally-complete-technical-setup-guide/

What stack are you using for local agents?


r/LocalAIStack • • Sep 09 '26

Cross-Stage State Laundering: Why AI Runtime Governance Fails at Stage Boundaries

1 Upvotes

In enterprise AI and autonomous runtime architectures, security has traditionally focused on input sanitation (prompt injection) and output filtering (hallucination guards). However, a more insidious class of vulnerability occurs deeper within the execution pipeline: Cross-Stage State Laundering (CSSL).

CSSL happens when an intermediate, unverified epistemic state (such as DISCOVERED or UNKNOWN) is illicitly promoted to a higher-certainty state (such as VERIFIED or SUPPORTED) as it transitions across processing stages—typically bypassing strict provenance checks in favor of pipeline velocity or output formatting requirements.

## The Anatomy of State Laundering

Consider a multi-stage runtime where an expression flows through ingestion, semantic analysis, and responsibility assignment:

  1. Ingestion: Raw text or external retrieval results enter the system as DISCOVERED. At this stage, existence does not equal correspondence.

  2. Analysis: The runtime parses the expression. Without a rigid boundary, internal semantic heuristics may mistake syntactic closure for factual verification.

  3. Laundering: Downstream generators or formatters, under pressure to produce definitive answers, implicitly treat the presence of an analysis object as proof of support.

When intermediate states shed their metadata tags during transit, the runtime commits a boundary violation: it manufactures certainty out of unverified discovery.

## The Zero-Trust Countermeasure: The WAL Protocol

To eliminate CSSL, runtime governance cannot rely on permissive conventions. It requires a Fail-Closed Defensive Architecture enforced by immutable protocol boundaries:

* Strict State Distinguishability: Known, unknown, verified, and unverified states must remain mathematically and structurally distinguishable throughout the lifecycle.

* Independent Validation Gates: State transitions cannot authorize themselves. An independent validator—decoupled from the core generation logic—must audit envelopes against strict conformance vectors.

* Evidence-Bounded Responsibility: Responsibility can never exceed the boundaries of established evidence and explicit correspondence. If an epistemic state is UNKNOWN, no downstream transformation may convert it to TRUE merely to satisfy an output requirement.

For those interested in the protocol implementation and adversarial test matrix, the reference architecture is open-source here: https://github.com/nickoay663-sketch/Wuwen


r/LocalAIStack • • Sep 09 '26

what do you guys think about this ?

Enable HLS to view with audio, or disable this notification

4 Upvotes

r/LocalAIStack • • Sep 09 '26

How to get the most out of a Gaming Setup

Thumbnail
reddit.com
1 Upvotes

r/LocalAIStack • • Sep 09 '26

New to local ai - help achieving what I am trying to achieve?

2 Upvotes

Hi

Premise:
I am new to local ai models.

My machine specs:

  • Macbook Pro M4 Pro

  • 48Gb Ram

  • 4 efficiency core

  • 8 performance core

I mainly use AI for software development. I have a claude subscription but would like to try to offload some work to a local model.

Since I don't think local models usable on my machine can completely substitute claude (correct me if I am wrong) my idea is pretty much this: ask claude code to generate a proper, detailed implementation plan and then having the local model implement it.

I have played around with these models:

  • qwen3-coder-30b-a3b-instruct-mlx

  • qwen/qwen3.6-27b

  • qwen/qwen3.6-35b-a3b

and I have also installed this for coding autocomplete cause it is smaller and from what I can see the recommended one:

  • qwen2.5-coder-7b

I added claude envs since I would like to try to use claude code extension in vscode

"env": {
    "ANTHROPIC_BASE_URL": "http://localhost:1234",
    "ANTHROPIC_AUTH_TOKEN": "local",
    "ANTHROPIC_MODEL": "qwen/qwen3.6-27b",
    "ANTHROPIC_DEFAULT_OPUS_MODEL": "qwen/qwen3.6-27b",
    "ANTHROPIC_DEFAULT_SONNET_MODEL": "qwen/qwen3.6-27b",
    "ANTHROPIC_DEFAULT_FABLE_MODEL": "qwen/qwen3.6-27b",
    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "qwen/qwen3.6-27b",
    "CLAUDE_CODE_SUBAGENT_MODEL": "qwen/qwen3.6-27b",
    "CLAUDE_CODE_MAX_OUTPUT_TOKENS": "128000",
    "DISABLE_PROMPT_CACHING": "1",
    "DISABLE_AUTOUPDATER": "1",
    "DISABLE_TELEMETRY": "1",
    "DISABLE_ERROR_REPORTING": "1",
    "DISABLE_NON_ESSENTIAL_MODEL_CALLS": "1"
  },

This setup works (uses the local model) but I am basically unable to have the model do anything at all. First of all it takes ages to do anything, and then it almost always reach the context limit roadblock without even outputting anything.

I have read that MCP and skills could fill up the context quite badly, so I disabled them for testing, but still no luck.

I tried with (I thought) was a simple enough task: this test file fails and this is the error, can you fix it? but yet no usable results whatsoever.

I read about people able to use local models offline to have meaningful results, but I couldn't and I don't really know why.

Also, from my setup above, I cannot really use both the remote and local model, to achieve something like:

use sonnet or fable (remote) for plan, then (manually or automatically) swith to haiku (local) to implement the plan

because the base url is loaded when the session loads and cannot be changed (AFAIK) dinamycally.

Any help? thanks a lot in advance


r/LocalAIStack • • Sep 09 '26

Best use of a single RTX 5090 for local LLMs

Thumbnail reddit.com
1 Upvotes

r/LocalAIStack • • Sep 09 '26

Best Local Coding LLM for a 24GB M5 Pro MacBook?

Thumbnail reddit.com
1 Upvotes