r/LocalAIStack • • 18m ago

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

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.

1 Upvotes

0 comments sorted by