r/LocalAIStack • • Sep 28 '26

Is there any way to speed up prefill?

Thumbnail reddit.com
3 Upvotes

r/LocalAIStack • • Sep 18 '26

Opti 27B: Qwen3.8-27B in 11.8 GB at 3.47 bpw, within 0.5% of FP16 perplexity and matching Q4_K_M at 30% fewer bytes. Patched llama.cpp runtime, source public, reproduce with one command

Thumbnail
reddit.com
3 Upvotes

r/LocalAIStack • • Sep 07 '26

Local AI is Minecraft for adults: my 4× RTX PRO 6000 Blackwell build

Thumbnail gallery
3 Upvotes

r/LocalAIStack • • Aug 13 '26

Lightweight C++/Metal runtime for local AI on Apple Silicon

Thumbnail
github.com
3 Upvotes

Vpipe supports LLMs, VLMs, image/video generation, ASR, quantization, and multimodal pipelines, without relying on PyTorch/MLX for model execution. The runtime package itself is only \~25MB, and there’s a prebuilt Mac app if you just want to try it without compiling anything:

https://github.com/tgo-app-dev/vpipe/releases/download/v0.1.23/VpipeManager-0.1.23-with-ffmpeg.dmg

A recent milestone is MiniMax H3 video generation running on a 16GB base M5 MacBook Air (M4 works too).

On my 15” M5 Air 16GB:

960×544 · 124 frames· 6 DiT steps with Turbo Lora → \~13 min

GitHub:

https://github.com/tgo-app-dev/vpipe

Would love feedback from people working on local inference / Apple Silicon. And if you find it useful, a ⭐ would be greatly appreciated!


r/LocalAIStack • • Jul 30 '26

srt2speech: open-source, multilingual SRT narration with voice cloning and automatic duration matching - offline and lightweight

Thumbnail reddit.com
3 Upvotes

r/LocalAIStack • • Jul 01 '26

US Export control lifts Fable 5 ban again - Local AI is the future.

3 Upvotes

Trumps Executive Order held only for a bit more than a week, then his own government fully violated it.
EO here: https://www.whitehouse.gov/presidential-actions/2026/06/promoting-advanced-artificial-intelligence-innovation-and-security/

Simultaneously the EU is regulating any shimmer of european AI into quick suffocation.

There are a few potential outcomes, from middle ages to economically wrecked continents
I am convinced more than ever that local inference, local competent AI is the only future we can root for.


r/LocalAIStack • • Jun 23 '26

EU AI Act requires TEXT from models and providers to be watermarked 2nd August onwards. Everyone here is affected, regardless where you live.

Thumbnail reddit.com
3 Upvotes

r/LocalAIStack • • 1h ago

Best local models for Python & agentic coding on 4GB VRAM + 24GB RAM?

Thumbnail reddit.com
2 Upvotes

r/LocalAIStack • • 1d ago

Trained Qwen 3 4b for legel statute identification

Thumbnail
huggingface.co
2 Upvotes

r/LocalAIStack • • 1d 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

SulphurAI/Sulphur-3 · Hugging Face

Thumbnail
huggingface.co
2 Upvotes

Sulphur 3

An uncensored video generation model based on MiniMax H3.


r/LocalAIStack • • 4d ago

Looking for a STT model which works well for songs and lyrics.

2 Upvotes

I am looking for a small and good STT model under 3B parameters(thought under 2B is the sweet-spot) I can run locally which works well with songs and lyrics. Until now, I have tested Whisper Medium, and V3 Turbo, which were nice but not up to my expectations. Other models I have tested include NVIDIA Parakeet, Qwen ASR 1.7B, both of which were trash for songs. My main target languages are English and Chinese(optional but would be great if supported). Up until now, OpenAI's whisper models have performed the best as far as I have tested them.

I would appreciate any suggestions which would perform better than whisper for this purpose. Thanks!


r/LocalAIStack • • 5d ago

Kör 9 Lokala Autonoma AI-agenter på Valfri Gammal Stationär Dator (0 GPU • 100% Gratis)

Thumbnail
youtu.be
2 Upvotes

r/LocalAIStack • • 6d ago

Incognide, the AI-native local IDE for research and development, reaches 500 gh stars.

Thumbnail
github.com
2 Upvotes

r/LocalAIStack • • 6d ago

Instead of putting a 70B LLM in the request path, I distilled 8 tiny models

Thumbnail
reddit.com
2 Upvotes

r/LocalAIStack • • 6d ago

what are you actually running locally these days and for what?

2 Upvotes

always curious what models and setups people have settled on. coding, chat, rag, random experiments, whatever


r/LocalAIStack • • 8d ago

Anyone running one large LLM across Apple Silicon + NVIDIA GPUs?

Thumbnail reddit.com
2 Upvotes

r/LocalAIStack • • 9d ago

Better Local LLMs

2 Upvotes

I am working on a project to build better local LLMs (more info in the pictures below)! If you are interested in helping with compute, funding, outreach, or development please message me or comment below!


r/LocalAIStack • • 13d ago

Hierarchos-Native v0.2.0: RDNA3 WMMA, native multimodal training, and a lot of FP32 Vulkan optimization!

2 Upvotes

Hey everyone! It's been a little while since my last update, and I've been working pretty intensely on Hierarchos-Native, my Rust + Vulkan project for training, fine-tuning, and running language models without relying on Python, PyTorch, CUDA, ROCm, or oneAPI in the native runtime.

I wanted to share some of the bigger things that have landed over the past 18 days. There's been quite a bit of progress across GPU acceleration, multimodal training, numerical correctness, and general performance.

The new v0.2.0 release is now available!

GitHub: https://github.com/necat101/Hierarchos-Native
Release / Windows portable download: https://github.com/necat101/Hierarchos-Native/releases/tag/v0.2.0

1. Native RDNA3 WMMA / cooperative matrix acceleration

One of the biggest additions is an opt-in Vulkan cooperative-matrix implementation for AMD RDNA3.

The new Mixed WMMA execution arm uses:

  • FP16 matrix operands.

  • FP32 matrix accumulation.

  • FP32 master weights and gradients.

  • FP32 AdamW optimizer moments and updates.

  • FP32 normalization, softmax, and loss calculations.

The important part is that this isn't simply converting an entire model to FP16. The optimizer and master parameters retain their FP32 representation.

I also added capability detection, CLI/GUI integration, and separate counters for actual cooperative-matrix dispatches and FP32 fallbacks.

Some of the isolated GEMM results on the qualified Ryzen Z1 Extreme / AMD Radeon Graphics device (1002:15bf) are pretty interesting:

WorkloadMeasured kernel speedup
QKV projection2.17×
FFN up projection2.12×
FFN down projection2.31×
Vocabulary projection1.83×

These are individual GEMM measurements, not whole-model speedups.

There is an important caveat: WMMA has a real crossover point. Small matrices can actually run slower because conversion, staging, and dispatch overhead outweigh the matrix-core benefit. I implemented a profitability policy that keeps smaller operations on their existing FP32 kernels.

In fact, the measured end-to-end training step was slower with Mixed WMMA in the initial 512-row fixture (14.0444 ms versus 12.2911 ms for FP32). That is why Mixed remains opt-in and disabled by default. I'm much more interested in making it genuinely faster than advertising misleading kernel-level numbers.

WMMA is currently physically qualified on the specific RDNA3 device and Windows driver configuration documented in the project. Other GPUs should not assume equivalent support.

Full FP16 accumulation is also available as a separate, narrowly qualified experimental mode.

Documentation: RDNA3 WMMA guide

2. Native multimodal image and text training

Another major development area has been the image-text pipeline.

The project now has native image processing and training paths that connect image inputs to language-model outputs through Vulkan.

Some of the implemented work includes:

  • Native RGB image input and preprocessing.

  • CLIP image encoders and LLaVA projector integration.

  • SigLIP / Gemma 3 vision training.

  • Gemma 4 vision integration.

  • Joint image/text training and encoder-decoder integration.

  • A dedicated DeepSeek V4.1 image-training path.

  • Backpropagation through the image tower and projector.

  • Export, reload, and checkpoint-related validation.

This is actual training work, not simply passing precomputed image embeddings into an otherwise frozen language model.

For the CLIP/LLaVA pipeline, the tests cover image sensitivity, gradients into image inputs, changes to image-tower/projector/text parameters, multiple AdamW updates, and export/reload behavior.

The qualification work has also expanded considerably:

  • 44 previously green text profiles now have joint image-training coverage at their frozen test geometries.

  • The Gen9 qualification retains 95 image cases and 166 text regression cases.

  • A separate physical RDNA3 replay reports 44/44 profiles and 85/85 image cases passing.

  • Native DeepSeek V4.1 image qualification includes 30 executions and 1,360 word-exact logits.

The maintained strict FP32 visible-logit gate remains max_abs < 2e-7, with rtol=0.

These are bounded qualification fixtures, not a claim that every production-size multimodal checkpoint or every architecture is fully supported. Audio and video pipelines are still outside the current qualified scope.

Documentation:

3. A lot of additional FP32 optimization

I haven't been focusing exclusively on reduced precision. A substantial amount of work over the same period has gone into improving the existing FP32 execution paths.

This includes vendor-specific shader work and scheduling optimizations for both Intel Gen9 integrated graphics and AMD RDNA3.

Some examples:

RDNA3 FP32 work

  • Specialized attention forward/backward paths.

  • Image-text attention and projector optimizations.

  • RMSNorm, RoPE, GELU, and other arithmetic specializations.

  • Dedicated AVX-512/RDNA3 shader variants where the measured hardware supports them.

  • More careful matching of CPU reference arithmetic and GPU execution order.

Intel Gen9 work

  • Additional native linear and gradient kernels.

  • Attention and activation specializations.

  • More efficient parameter upload and staging behavior.

  • Continued optimization of DeepSeek V4.1 training and execution.

One particularly interesting area has been reducing unnecessary Vulkan submissions and host/device transfer overhead in the DeepSeek V4.1 training pipeline.

On the measured Gen9 fixtures, upload batching reduced timed submissions from 1,102 to 982 per step, with paired throughput improvements of 1.052× and 1.067×.

On the separate RDNA3 V4.1 measurements, sharing the compute session and batching uploads reduced submissions from 970 to 509 per step, with measured improvements of 1.295× and 1.217× on two fixture geometries. A later session-wide upload optimization reduced that count further to 241 submissions per step, with measured improvements of 1.464× and 1.366×.

These are specific, paired benchmark results rather than promises of equivalent production-model speedups. The output comparisons remained word-identical in the recorded tests.

4. Preserving the original FP32 path

An important part of introducing WMMA was making sure that the existing FP32 path didn't regress.

I added a dedicated seven-workload FP32 non-regression comparison against the previous main revision:

  • 12 alternating ABBA rounds per workload.

  • Five warm-up runs and 30 timed forwards per arm.

  • Separate, hashed baseline and candidate binaries.

  • Exact FP32 logit digest comparisons.

All seven workloads stayed within the ±2% performance band, and the logits were bit-identical in every recorded round.

The worst paired performance ratio was 1.0007.

This is particularly important to me: I don't want acceleration features to silently make the existing default execution path worse.

5. Getting started

The new v0.2.0 GitHub Release includes a prebuilt Windows x64 portable package with the CLI, desktop GUI, Vulkan companion executables, runtime assets, and build metadata.

You don't need to install Rust or Python just to run the released package. You do need Windows 11 x64 and a Vulkan 1.x compute driver for GPU operations.

Model weights are downloaded separately or supplied through a local model directory.

After extracting the archive, you can run:

.\bin\hierarchos-native-cli.exe doctor
.\bin\hierarchos-native-cli.exe devices
.\bin\hierarchos-native-cli.exe precision-info

The final command is especially useful for checking which precision capabilities your GPU actually exposes.

Download: https://github.com/necat101/Hierarchos-Native/releases/tag/v0.2.0

What's next?

There is still a lot I'd like to improve.

In particular, I want to investigate reducing WMMA conversion overhead, improving activation and gradient reuse, finding more workloads that genuinely benefit from cooperative matrices, and expanding the range of qualified multimodal architectures.

I'd also like to continue improving the FP32 kernels rather than treating lower precision as the only route to better performance.

If you're interested in Rust, Vulkan compute, AMD GPU optimization, native LLM training, or multimodal model execution, I'd genuinely appreciate people taking a look.

Feedback from people with different Vulkan devices is especially valuable. Please include your GPU, driver, model geometry, and relevant execution counters when reporting results.

Repository: https://github.com/necat101/Hierarchos-Native

Stars, issue reports, testing feedback, and contributions are all appreciated. There is also a voluntary developer-support link in the repository README for anyone interested in helping the project continue.


r/LocalAIStack • • 15d ago

Qengine. I need to share this

Thumbnail
github.com
2 Upvotes

r/LocalAIStack • • 15d ago

LM Studio vs Ollama on Linux, measured on an RTX 3090

Thumbnail
homebrewserver.club
2 Upvotes

r/LocalAIStack • • 15d ago

3090 rig with LM Studio + ComfyUI — how do I get a local model to act like Claude Code (launch Windows apps, start ComfyUI on demand, etc.)?

Thumbnail reddit.com
2 Upvotes

Title: 3090 rig with LM Studio + ComfyUI — how do I get a local model to act like Claude Code (launch Windows apps, start ComfyUI on demand, etc.)?

Hey all, looking for advice on turning my local setup into something closer to an agent instead of just a chatbot.

The rig

- Windows 11 Pro desktop

- RTX 3090 (24 GB VRAM), Intel Core Ultra 7 265K, 96 GB RAM, several drives

- Python 3.12, Node, Git installed. No Docker, and WSL isn't installed right now

- Tailscale on the PC, my phone (Galaxy Z Fold) and an Android tablet, so I can reach the PC remotely

Local LLMs (LM Studio 0.4.26)

- Qwen3.8 27B Q4_K_M (~15.7 GB) + vision projector. This is my main chat model, loaded at full GPU with 16k context

- Gemma 4 31B Q4_K_M (~17.4 GB) + vision projector

- nomic-embed-text v1.5 for embeddings

ComfyUI (Comfy Desktop 1.1.8)

- Images: Juggernaut XL Ragnarok (SDXL), Z-Image Turbo, Qwen-Image-Edit 2511 (fp8) + 4-step Lightning LoRA, add-detail-xl LoRA

- Video: Wan 2.2 14B text-to-video and image-to-video (high + low noise, fp8) with the lightx2v 4-step LoRAs

- Text encoders: Qwen2.5-VL 7B, Qwen3 4B, UMT5-XXL. VAEs for Flux/Qwen/Wan, plus a 4x NMKD upscaler

What I have now

Three PowerShell shortcuts on the desktop:

- AI Mode: opens LM Studio, loads Qwen 27B through the `lms` CLI, starts ComfyUI

- Gaming Mode: unloads all LM Studio models and kills ComfyUI to free the VRAM

- Away Mode: drops my VPN, closes Chrome, makes sure Tailscale is up, runs nightly at 2 AM

Right now I use Claude Code (cloud) for the "do stuff on my PC" part. It runs PowerShell, edits files, starts and stops apps, drives a browser, downloads things, and I can control it from my phone. It's great, but I want a local option for when I hit usage limits or don't want to send stuff to the cloud.

What I'm asking

  1. What's the best way to give a local model (Qwen 27B / Gemma 31B through LM Studio's OpenAI-compatible server) real tool use on Windows: run PowerShell, open and close apps, read and write files? Open Interpreter, Goose, OpenHands, Cline/Roo/Continue in VS Code, an MCP client hooked to LM Studio, something else?

  2. How do I get it to start ComfyUI on demand, queue a workflow through the API (image or Wan video), wait for the output, then shut ComfyUI down? Is there a ComfyUI MCP server or a known pattern for this?

  3. VRAM juggling: I can't keep a 27B LLM and Wan 2.2 loaded at the same time on 24 GB. Has anyone automated "unload LLM → run Comfy job → reload LLM," or should I drop to a smaller agent model (7–14B) that can stay loaded next to Comfy?

  4. Which local models are actually reliable at multi-step tool calling right now? Is Qwen 27B at Q4 good enough, or is there a better pick for 24 GB?

  5. Any way to trigger all this from my phone over Tailscale (a simple web UI, Telegram bot, Open WebUI with tools, etc.)?

  6. Safety: what are people using to make sure an agent on Windows can't run anything destructive without asking? An allowlist, a sandbox, confirmation prompts?

Bonus if anyone has a working setup they can describe end to end. Thanks!


r/LocalAIStack • • 17d ago

Audio embeddings inference in C++/GGML with clap.cpp

Thumbnail
reddit.com
2 Upvotes

r/LocalAIStack • • 19d ago

inferzero 2026.11.11.3: a GPU benchmark for Intel Arc (does your XMX really do what the spec sheet says?), MoE packing, and new XMX kernels to test

Thumbnail reddit.com
2 Upvotes

r/LocalAIStack • • 21d ago

DeepSeek V4.1-Flash running on a single Arc A770 16GB: 45 tok/s prompt, 5 tok/s generation (community SYCL port of Strata)

Post image
2 Upvotes