r/LocalAIStack • • 2d ago

Beyond VRAM limits: Running 30B MoE coding agents and 22B audio/video diffusion on consumer GPUs

2 Upvotes

I shared some of my local AI experiments earlier today. The post received over 8,000 views and some genuinely useful feedback, including offers to test on older NVIDIA GPUs, before it was removed by Reddit's filters.

Since then, I've added real UI screenshots, improved hardware detection, and continued working on compatibility.

The original motivation was simple: how far can we push local AI on hardware we already own?

My primary test machine:

  • AMD RX 5600 XT — 6 GB VRAM
  • Ryzen 5 5500
  • 32 GB DDR4 RAM
  • Windows 11
  • Vulkan, no ROCm, no manual C++ builds

I've also tested on NVIDIA hardware. The benchmark results below are specifically from my RX 5600 XT.

I ended up building three Apache-2.0 projects:

  • PicoCode: Local coding LLMs, hardware-aware inference, and a terminal-based coding agent.
  • PicoStudio: A pure Python stdlib web IDE with multi-file editing, split diff, multi-tab terminal, vision support, and a GPU arbiter.
  • localVid: Local image, video, and audio generation with low-VRAM optimizations.

The GPU arbiter allows the coding and diffusion engines to share the same GPU by unloading one before starting the other.

What actually made a difference

The biggest performance gains came from reducing Windows WDDM shared-memory spills and tuning inference configurations.

Qwen3-Coder-30B-A3B — IQ4_XS, 32K context, Q8_0 KV cache

  • Adaptive MoE offloading based on available VRAM
  • --load-mode none
  • ngram-mod speculative decoding
  • --cache-reuse 256

Results:

  • Prompt processing: 58.8 → 71.8–97.5 tok/s
  • Token generation: 16.9 → up to 30.2 tok/s
  • Up to 79% faster generation in tested file-refactoring workloads

Inkling 2 Mini — 26.4B/3.4B MoE + Vision + DSpark

Using --no-op-offload --no-host:

  • Shared VRAM spill: 9.04 → 1.2–2.1 GiB
  • Prompt evaluation: 0.7 → 15.5 tok/s
  • Total execution time: 136.8 → 34.7 seconds

LTX-2.3 22B — Text/Image-to-Video + 48 kHz stereo audio

  • Reduced WDDM memory spills using VRAM budgeting and disabled prefetching
  • Tiled VAE decoding delivered 4.3–11.6x faster video decoding in tested configurations
  • One 25-frame decode went from 149s to 12.8s
  • Two-stage native x2 upscaling reduced total rendering time by approximately 2.1x in my tests

Wan 2.2 14B

  • Addressed Windows TDR crashes on RDNA 1 Vulkan
  • 5–9.3x faster single-step DiT processing in tested configurations
  • 356s → 38.4s at 480×320, 17 frames

These are workload-specific results from my own testing, not universal performance guarantees.

Obviously, these larger models don't fit entirely inside 6 GB VRAM. System RAM, quantization, selective GPU offloading and memory management are essential parts of the setup.

I'm not trying to reinvent llama.cpp or replace frontier cloud models. I'm interested in making local AI more accessible on ordinary hardware.

All three projects are free and open source. Real UI screenshots, benchmark results and installation instructions are available here:

https://github.com/ffalcon3098-droid

I'd be particularly interested in comparing results with people using older AMD cards, Pascal GPUs, budget RTX cards or multi-GPU setups.

Technical feedback, criticism and benchmarks are welcome.


r/LocalAIStack • • 2d ago

Perplexity Computer Comet Browser Local Alternative

1 Upvotes

Looking for a local alternative to Perplexity Computer's browser control assistant.

For those who do not know Perplexity has a browser called "Comet". Inside comet there is a tab called "assistant" that can control your browser and do tasks for you like navigate webpages, make email drafts on outlook accounts that do not allow AI plugins (by the admin).

Basically I am looking for the best local alternative to this solution, I am spending a few hundred dollars on tokens a month here.

I already have LM studio Bionic that is working quite well using Gemma 4 E4B although I could run a slightly larger model if necessary. ANY help is appreciated, I really like the browser functionality but I do not want to keep spending this much on tokens, would rather buy more hardware if necessary.


r/LocalAIStack • • 2d ago Mindblown Bravo

LexiSuite d484004: my all-Rust local AI stack (own kernel, OS, engine, panel) - 206 changes in two days, Inkling-2-Mini at 131 tok/s on one 7900 XTX

Thumbnail
github.com
3 Upvotes

AIO USB/VM/Drive image with Inkling 2 Mini baked here: https://huggingface.co/Wa1k3r/Inkling-2-Mini-NVFP4exp-Q8-draft-LexiSuite-AIO-for-AMD-RDNA

I'm building a local AI platform from scratch in Rust: an inference engine (LexiEngine), a browser control panel (LexiPanel), an appliance OS (LexiOS) and a kernel designed around inference (LexiKernel). It boots from one USB image. It is not a wrapper around llama.cpp, and there is no third-party code in the product.

A new development image went out today. Here is what changed since the last one two days ago, and what the work actually was.

The Panel was rebuilt, page by page (66 changes)

The old Panel worked but read like an engineering console: raw JSON on screen, fields with no labels, boxes inside boxes, internal jargon everywhere. I went through it by hand.

- One header and one navigation instead of five stacked bars

- 12 themes

- A file and folder picker on every path field, so nothing has to be typed

- Right-click menus on instances, files and table cells

- Parameters grouped in the order you set them, with a device chooser for the instance's cards

- Switch an instance between LexiEngine and llama.cpp from one page

- Hardware, Diagnostics, Power, GPU tuning and Models rewritten in plain words (temperatures in degrees, problems listed first)

- An abliteration lab where you pick models with toggles and pick the drive to write to; the original is never touched

- A layout choice: top tabs, or a side tree like a hypervisor console

LexiKernel went from one core to all of them (99 changes)

Until now my kernel ran all threads of a program on a single CPU. That was the biggest gap between it and Linux. Three rounds of work went into closing it: per-CPU timers and scheduling, threads that move between cores with their full vector state, memory handled per NUMA node, huge pages, and TLB shootdowns that a core answers even in the middle of a long system call. It now boots with every core in use and served the Panel to 8 clients at 2, 4 and 8 CPUs in a VM with no failed requests.

The kernel's own GPU drivers for AMD, NVIDIA and Intel are compiled into this build too. They have not run on a real card in this version yet. That is the next milestone, and until then GPU work under LexiKernel goes through a Linux guest. The image also boots LexiOS on Linux 7.4, which is what you want for daily use today.

LexiEngine (27 changes)

- Groundwork for splitting one model across several cards (serving across cards is not in this build)

- New draft options for Inkling 2, off by default until they are measured

- A quantizer that trains with the rounding in the loop instead of rounding afterwards

- The whole tree moved to Rust 1.100.1

Speed, measured on this version

Inkling-2-Mini (the looped mixture-of-experts model released Nov 20), one Radeon RX 7900 XTX, 4-bit KV cache, greedy, one run each, measured Nov 27-28.

After a 16,384-token prompt:

- LexiEngine: prompt 2,244 tok/s, generation 64.6 tok/s, 131.1 tok/s with the model's own draft head

- llama.cpp b12722: prompt 1,060 tok/s, generation 42.9 tok/s

- Strata 0.2.23 (8-bit cache, it refuses 4-bit on this card): prompt 2,075 tok/s, generation 53.9 tok/s

Long context on LexiEngine:

- 261,632-token prompt: 1,157 tok/s reading, then 48.7 tok/s (63.2 with the draft head)

- 523,264-token prompt: 766 tok/s reading, then 39.5 tok/s (46.8 with the draft head)

- 10 of 10 planted facts recalled at both depths

Drafted output was identical to plain output in every run.

Two notes so nobody says I hid them. The llama.cpp number is from the Nov 25 build: the build I fetched today ran this model at 7.6 tok/s on this card, which looks like a bug on their side, so I did not use it. And llama.cpp needs a 26-line loader change to open my file, because the file also carries the draft head and image tower.

What it is not, yet

- A development build, not a production release

- Developed and measured on one card (7900 XTX, Vulkan). Other cards are less tested

- The kernel's own GPU drivers have not run on a card in this version

- The Windows installer is on the stick but has not been run on a Windows PC; no macOS installer yet

- Installing to an internal disk is not in this image

- Only Inkling has been benchmarked on this exact version; my 27B numbers are from a build nine days older and are being re-run

Tested

Every test in the tree ran on this version: 17,932 tests, none failed. Both images passed their Secure Boot checks in a VM.

Links

Download (381 MB USB image, boots to the Panel):

https://lexipanel.com/download/

All-in-one image with Inkling-2-Mini inside (18.1 GB, needs a 32 GB stick):

https://huggingface.co/Wa1k3r/Inkling-2-Mini-NVFP4exp-Q8-draft-LexiSuite-AIO-for-AMD-RDNA

Every one of the 206 changes, one line each:

https://github.com/W61k3r/LexiSuite-Releases/wiki/Changes-d484004

Benchmarks and method:

https://github.com/W61k3r/LexiSuite-Releases/wiki/Benchmarks

Happy to answer questions about the kernel work or the engine.


r/LocalAIStack • • 2d ago

Tips on setting up and training a local LLM

Thumbnail reddit.com
0 Upvotes

Hi guys, I have a PC with 64GB DDR5 RAM, I have 5 TB of storage which is expandible. I have a Nvidia RTX 5070ti 26GB VRAM, and a Ryzen 7 9800x3d

I’m looking into running a local AI on this PC for a business of mine. It’s a sort of pilot project. Nothing else has been run on the PC so it’s purely dedicated to running an LLM. I’ve tried installing things through using the web panel. Hasn’t given me the best results I’ve tried claudeing, ChatGPT and so if you could you know give me some tips, point me in the right direction or send some articles things to read upon et cetera. That would be appreciated or if anyone wants to you know work together by chance and test out setting up an LLM since I have hardware and that some people may not have.


r/LocalAIStack • • 2d ago

My German 5-machine home LLM cluster: RTX 3090 + MI50 (Vulkan) main model at IQ3_S, 40G InfiniBand chain, full voice stack – hardware, quants, tok/s, latency

Thumbnail reddit.com
1 Upvotes

r/LocalAIStack • • 2d ago

I got a 30B coding model running on an 8 GB GPU, faster than llama.cpp, and Claude Code works with it too - eomoe

Thumbnail
reddit.com
1 Upvotes

r/LocalAIStack • • 2d ago

[Benchmark / Call for Testing] Does directing an LLM via small reviewed text paths beat prompting it directly? Help run an empirical test on your local GPU (tawjih 0.18.0 — Python stdlib only)

1 Upvotes

Hi everyone,I’ve been building tawjih (0.18.0), a zero-dependency (Python standard library only) CLI and desktop tool for engineers who want to direct LLMs through small, version-controlled plain-text files (human, machine, and science faces) joined into explicit execution paths—with JSON contracts, deterministic retries, fallbacks, and full provenance tracing.

The honest catch: So far, the entire test suite and architecture lab have been verified on CPU and against mock/stand-in servers.

No real GPU or live model benchmark has been published yet.

Rather than making unverified claims, I built a self-contained experiment in the repo and am asking folks with local GPUs (Ollama, vLLM, SGLang, llama.cpp, etc.) to run it and share the raw report. What the experiment tests (experiments/path-vs-direct)It evaluates 60 quadratic equations (20 base + 40 harder generated variants, in both English and Arabic) across 3 runs each, comparing three setups: path: The structured cross-tree path (extracting coefficients $\\rightarrow$ JSON contract validation $\\rightarrow$ deterministic/stepwise solving).direct: Asking the model directly in one shot.steps: Asking the model to reason step-by-step in a single prompt.The script outputs accuracy, 95% confidence intervals, McNemar's test ($p$-value for paired statistical significance), latency, and token usage. How to run it in 3 commands (Zero extra Python packages needed)If you already have Ollama running locally:Bashgit clone https://github.com/AlmodinyMk/LLM-tawjih-Model-building.git

cd LLM-tawjih-Model-building

ollama pull qwen2.5:3b # or test with your own local model (Llama-3.2, Qwen3, Mistral, etc.)

python experiments/path-vs-direct/run.py --models qwen2.5:3b

(You can also point it to any OpenAI-compatible local server like vLLM/llama.cpp via TAWJIH_BASE_URL). Additional GPU tests (Optional, for multi-GPU / vLLM / PEFT users)If you want to stress-test the inference server wrapper or training bridge on real hardware: Inference & KV-cache benchmark: python tawjih.py server bench <name> --from-file 1.1.1 --requests 16 --concurrency 4Neural bridge (17 PEFT methods / QLoRA / SFT / DPO): python plugins/neural_bridge.py envShare your resultsWhether the structured path wins, ties, or loses to direct prompting on your model, please paste the generated report in the comments or open a GitHub issue. Whatever the numbers say goes straight into the README.md and the accompanying technical paper.

GitHub: https://github.com/AlmodinyMk/LLM-tawjih-Model-buildingPyPI: pip install tawjih (v0.18.0)License: CC BY-NC-SA 4.0


r/LocalAIStack • • 2d ago

Experimenting with local AI on AMD: Ollama, Open WebUI, SearXNG and OpenCode

Post image
1 Upvotes

r/LocalAIStack • • 2d ago

Trained Qwen 3 4b for legel statute identification

Thumbnail
huggingface.co
1 Upvotes

r/LocalAIStack • • 2d ago

Pithos CORE: inferenza LiquidAI LFM3-1.7B e LFM2.5-350M in linguaggio assembly NASM x86-64, su Linux e come sistema operativo autonomo che si avvia da BIOS o UEFI in una console di chat Unicode. Nessuna libreria libc.

Post image
1 Upvotes

r/LocalAIStack • • 2d ago

Ernie 5.5 flash preview can be run localy now via basalt

Thumbnail
reddit.com
1 Upvotes

r/LocalAIStack • • 3d ago

Need help on making LocalLLM work for my purpose.

1 Upvotes

Hello,

I am getting used to using AI using gemini and chatgpt instead of googling stuff is very convenient and comparing stuff searching for product specs works fine as long as i am checking sometimes i find weird things but you know that.

My issue is a video files that are encrypted. I have bought paid for and have perpetual ownership of some language course. But the videos are sfv format no player reads it. Only its shitty player plays it and it doesn't even have correct aspect ratio on Virtualmachine since it doesn't have a way to activate licencing again. They went monthly subscription route like every company. But i want to access to the videos and play it on my pc and phone. I think this is completely fair nothing unethical or shady. I have bought this years ago and didn't use it because it was inconvenient but i really want to.

Video player uses very old k lite codec pack LAV splitter and lav video and i can switch to ffdshow which are open source.

I read everywhere about vibecoding or AI coding so I asked ChatGPT (paid membership) i knew it wouldn't decrypt videos so I asked for it to make lav video or ffdshow build that would be able to save raw videos. They are open source software. And we worked for half a day and done bunch of shit and after stealing my time it said I cant help you decrypt something...

It did make me install visual studio and compile a lot of things that were to take video stream and encode it real time but it doesn't do the one thing it needs to that i asked for in the beginning.

I installed lmstudio and downloaded qwen 3.8 27b (gemini told me my pc could make it work rest of the model will be on ram and it will work) but it took 5 hours to check video file. and it said headers are not matching video but it has video start codes . So it runs very bad.

Which local llm i could use for this purpose ?

Thank you.

I thought I have very good gaming PC but its so slow

Windows 10

9800x3d

48gb 6000mhz ram

rtx 5080

wd sn750 nvme ssd


r/LocalAIStack • • 3d ago

SulphurAI/Sulphur-3 · Hugging Face

Thumbnail
huggingface.co
2 Upvotes

Sulphur 3

An uncensored video generation model based on MiniMax H3.


r/LocalAIStack • • 3d ago

Hive beta: Pool the memory of your Apple devices to run a larger local model

Thumbnail
reddit.com
1 Upvotes

Hi, I'm the developer. I've been building Hive, a free app, soon to be open source, that lets the Apple devices you already own work together on one LLM.

The problem: the best local models are bigger than the memory of most single devices. A model that doesn't fit gets read from SSD, which is slow. Hive splits the model layers across devices optimally. Allowing your Mac to borrow 4GB from your iPhone offers some pretty large performance benefits.

What it does for you:
- Decides which device holds which layers, and keeps a cache on each one.
- Encrypts the links between devices. Everything stays on your own network.
- Reorganizes automatically when a device sleeps, disconnects or leaves, and when a new one joins.

Requirements:
- Apple silicon and iOS 26 / macOS 26. It's built to work with any mix of Mac, iPhone and iPad, and works best with a Mac + two other devices.

What it doesn't do (yet): x86 Windows machines, NVIDIA GPUs, Intel Macs.
Linux/Android ARM support will be worked on after release.

It's an early beta with rough edges. I'd love feedback on:
- Is it easy to add custom models from hugging face? Which models do and don’t work?
- What happens when a device sleeps or drops off?
- Crashes, stalls or confusing screens.

I don’t want to promise any performance numbers I plan to do thorough benchmarking after the launch of Qwen 4 but from my proof of concept a 32GB Mac + M4 iPad Pro on a 5Ghz WiFi runs Qwen 3.8 over 10x quicker than the Mac alone.

https://testflight.apple.com/join/pgavaTZy


r/LocalAIStack • • 3d ago

Lossless compression for Nvme streamed MoE models (WEX/WNR4)

16 Upvotes

Streaming 100B+ Mixture-of-Experts models on a single consumer GPU shouldn't mean fighting checkpoint formats built for something else.

WEX4 + WNR4 Codecs are lossless, 4 KiB-aligned NVMe expert containers with 32-lane warp-parallel GPU codecs (like ZIP for 4-bit weights, zero quantization in act):

• 12–22% smaller than raw safetensors/INT4 — beats other compressions zstd-19 & brotli-11 (up to 2× savings on MXFP4) • 347.2 GB/s CUDA kernel decode & 0.027 ms (27 µs) 1-record latency on RTX 5090 (0 register spills) • 70.3–72.0 GB/s end-to-end PCIe 5.0 x16 async2 — saturating the wire • Zero-trust SHA-256 hash tree, 139 conformance vectors, 14 CI jobs across 4 OS/arches, and independent C/CUDA, Python, Go & Rust readers!

Open-source! (Apache-2.0): https://github.com/KairaCode/Wex-WRN2


r/LocalAIStack • • 3d ago

Introducing Waddle – an open-source local AI sandbox

Thumbnail
reddit.com
1 Upvotes

r/LocalAIStack • • 3d ago

LOCAL LLM SUGGESTION

1 Upvotes

CPU: core ultra 7 155U

GPU / iGPU: igpu

VRAM: shared

System RAM: 16Gb

Shared / Unified Memory (if applicable): shared

OS: Fedora 45

Runtime / backend: currently llama cpp

Models already tried (if any): qwen 2.5 (3b, 7b), qwen 2.5 coder 8b, llama 3 3b, qwen 3.5 1b... all with Q4_K_M

Use case: agentic workflow, Coding assistant... like generation and completion etc

Desired context size: not sure

Priority: quality / speed / context / balanced: balanced

Other requirements or constraints:nil


r/LocalAIStack • • 3d ago

I built easy way for online Gpu to run your coding tasks -> copy past link

Thumbnail
reddit.com
1 Upvotes

r/LocalAIStack • • 3d ago

Best local LLM for coding and autonomous agents on an RX 7900 XTX (24GB)?

Thumbnail reddit.com
1 Upvotes

r/LocalAIStack • • 3d ago

Something better then Qwen3.8 Flash Next Gyro S?

Thumbnail reddit.com
1 Upvotes

r/LocalAIStack • • 4d ago

I fine-tuned a 1.5B model into an offline Linux command helper that runs on CPU and checks its own answers against the man pages and tldr

5 Upvotes

lxask turns plain English into a shell command, entirely on your own machine:

$ lxask "show disk usage of each folder here, biggest first"

$ du -h --max-depth=1 . | sort -hr

Setup:

- Fine-tuned Qwen2.5-Coder-1.5B, Q4_K_M GGUF

- llama.cpp inside one Rust binary. No Ollama, no Python, no API key

- ~1.1 GB on disk, ~1 GB RAM, ~2 s per answer on a laptop CPU

- No GPU, no network after install

How it keeps a 1.5B model honest:

- Retrieves relevant tldr pages and your own man pages before answering

- Checks every program and option in the answer against the man pages

- Retries if a check fails. Anything it still can't confirm is marked `unverified:`

- Asks back on vague requests ("add a proxy": for git? apt? docker?) instead of guessing

Bonus

- `lxask --explain "tar -xzvf logs.tar.gz"` breaks down a command you already have

- Ctrl+G in bash, zsh or fish turns what you typed into the command

Code, weights, data and evals are all open.

GitHub: https://github.com/arxhr007/lxask

Hope someone finds it useful! If you do, consider leaving a ⭐ on GitHub. Feedback and contributions are welcome

Model: https://huggingface.co/arxhr007/lxask


r/LocalAIStack • • 4d ago

Inkling 2 Mini on a 16GB RTX 4080 vs a 32GB MacBook M5: the PC was 2x faster in chat but built nothing in a coding agent

Thumbnail
gallery
4 Upvotes

I tested Inkling 2 Mini (26B total, 3.4B active, looped middle layers) on two machines normal people own, in GGUF and MLX, then gave it a real coding job.

**PC: RTX 4080 SUPER 16GB + 32GB RAM, LM Studio (GGUF)**

- Default settings: ~8 tok/s

- After 3 changes: ~38 tok/s

  1. GPU offload to max
  2. MoE experts of only 6 of 24 layers forced onto CPU (everything else on the card)
  3. mmap on

- After a day of uptime it fell to 3 tok/s. A reboot fixed it, so reboot before you benchmark.

**Mac: MacBook Pro M5 32GB**

- GGUF in LM Studio: 21 tok/s, but 31/32 GB used + 5 GB swap. 64K context loaded, then "Compute error" on the first message. 48K worked; Parallel 4 → 1 is what let bigger context load.

- MLX in oMLX (needs 0.8.1+, older says "model type not supported"): 22 tok/s, 36% RAM free at start, no swap, 64K works. The memory guard stopped my first long job, and RAM climbs to ~24 GB by the end of a coding run.

**Real test: my paper sketch → an app, in OpenCode (reasoning Low)**

- Mac GGUF: 23 min, 3 files, looks like my sketch, 0 errors

- Mac MLX: 13 min, 3 files, messier layout

- PC: 38 tok/s in chat but ~7 tok/s inside OpenCode. ~11K words of agent instructions + the image fill 16 GB. 3 tries, 0 files.

- Both Mac apps got the bill split wrong the same way: ₹760 charged on a ₹270 bill. On High reasoning it got the maths right in its thinking, then ran out of memory. So the format changes speed and memory, not the brain.

**My take:** 16GB card = great for chat, not enough for a coding agent. 32GB Mac = use MLX. The model itself: let it think, and check its maths.

Anyone know why the PC drops from 38 tok/s in chat to 7 in OpenCode? Prompt processing of the big system prompt with experts on CPU?


r/LocalAIStack • • 3d ago

Qwen Flash Next on an 8GB Card ~50-70tkps at 512k CTX!!

Thumbnail
github.com
0 Upvotes

r/LocalAIStack • • 3d ago

Qwen3.8-Flash-Next IQ3_S, 78 GB, 32 GB RAM, 16 GB VRAM: 51 tok/s vs 15 tok/s on the same box

Thumbnail
reddit.com
1 Upvotes

r/LocalAIStack • • 4d ago

Text Orb: Real-time 3D semantic space running MiniLM entirely client-side in the browser (with live trajectory trails and vector math)

Thumbnail gallery
3 Upvotes