r/LocalAIStack • u/Subject_Poet_3861 • Oct 14 '26
r/LocalAIStack • u/ContextIQ • Oct 12 '26
Guidance on training open weight model
reddit.comr/LocalAIStack • u/Dathide • Oct 11 '26
Is local AI trending towards computations that benefit from GPU interconnects?
reddit.comr/LocalAIStack • u/mikebmx1 • Oct 08 '26
Java vllm-like framwork claims 90% of perfomance of llama.cpp on local inference on NVIDIA GPUs by compiling Java to CUDA and cuTile
The java to CUDA engine:
https://github.com/beehive-lab/TornadoVM
The inference engine:
https://github.com/beehive-lab/jitllm
Deep dive talk:
r/LocalAIStack • u/RelevantRest464 • Sep 30 '26
Building a local AI stack across multiple Apple Silicon Macs
I've been experimenting with a setup where several Apple Silicon Macs are treated as a shared local AI environment instead of running completely independently.
The setup I'm working with is roughly:
Multiple Macs on the same network
MLX for local inference
Central model management
Node/resource monitoring
Model distribution based on available memory
Local-only communication between machines
I'm building AlphaWeb around this because managing several local AI machines manually gets complicated pretty quickly.
The interesting problem isn't just getting inference running. It's everything around it: knowing which machine has enough memory, getting models onto the right node, managing multiple users, and making the whole thing feel like one system.
r/LocalAIStack • u/nickimola • Sep 28 '26
Is there any way to speed up prefill?
reddit.comr/LocalAIStack • u/airylizard • 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
r/LocalAIStack • u/suspect80 • Sep 07 '26
Local AI is Minecraft for adults: my 4× RTX PRO 6000 Blackwell build
galleryr/LocalAIStack • u/TgoAI • Aug 13 '26
Lightweight C++/Metal runtime for local AI on Apple Silicon
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 • u/Charming-Author4877 • Jul 30 '26
srt2speech: open-source, multilingual SRT narration with voice cloning and automatic duration matching - offline and lightweight
reddit.comr/LocalAIStack • u/Charming-Author4877 • Jul 01 '26
US Export control lifts Fable 5 ban again - Local AI is the future.

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 • u/Charming-Author4877 • 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.
reddit.comr/LocalAIStack • u/LengthEducational238 • 14h ago
Building a local Agent to do the Linux grunt work.
I have been using Linux semi-exclusively for 3 years now and know my way around it well, but I was tired of having to fumble around with config files, VPNs, automations and media server setup, as well as the long troubleshooting sessions when my audio stops working, my packages breaking, a kernel update breaking things or touching anything related to my nvidia driver.
so I decided on making Golim.
Golim is a TUI-based agent like opencode but can also be called like a CLI tool for automation purposes.
through the past year or so of its development, Golim has found and set up dozens of apps I needed, troubleshooted my proton setups and made several of my games work, downloaded so many videos because I couldn't be arsed to look for a decent chrome extension, kept several of my work folders organized and up to date. fixed bad kernel updates several times ( Yes, I trust it that much), maintained my media server/homelab setup and got my sonarr automations working properly as well as handling a lot of little troubleshooting and configuration tasks that probably would've never been done otherwise.
Now, you might be thinking, why not just use opencode or hermes?
Golim shows me all the thinking traces, the tool calls made and their full output in real time which makes steering it when needed much easier since you can follow what's happening a lot more easily
Golim actually streams terminal commands, so you can monitor the downloads or updates just as you would if you were the one running it. (It also monitors them for you if they take a while)
Automatic and transparent logs for runs saved on disk so you can know exactly what happened and what the model was thinking if something went wrong.
Golim is designed intentionally to run local models, with very efficient context handling and minimal cache invalidation as well as Ollama/llama.cpp as first-class providers.
Golim is an AI assistant not a coding agent so it's built like one. Instead of repo-scoping, file-change tools and git, I gave it tools for fetching system info, file and web searching, python execution and spent an ungodly amount of time crafting its bash tool.
Golim can be lent sudo access on a per-run or per-instance basis without ever saving your password anywhere. the password is used to generate an authorization token for the session duration instead.
Since it runs across my entire PC, I added several settings to blacklist commands, reject sudo invocations and a restricted mode that asks every time it tries to execute code or use sudo.
I am currently still developing (v1.5 recently released) and plan to add a couple of other features like vision support, mail access and slack/discord integrations. Very excited to hear your thoughts, your opinions and any features you would want on an agent like this that I haven't covered.
Here's the repo link, If you're interested in checking it out:
https://github.com/AhmedOFS/golim
r/LocalAIStack • u/TreeOfLifev5 • 22h ago
Instead of putting a 70B LLM in the request path, I distilled 8 tiny models
r/LocalAIStack • u/ExplanationProper238 • 1d ago
what are you actually running locally these days and for what?
always curious what models and setups people have settled on. coding, chat, rag, random experiments, whatever
r/LocalAIStack • u/ruffus_or • 3d ago
Anyone running one large LLM across Apple Silicon + NVIDIA GPUs?
reddit.comr/LocalAIStack • u/PhysicsDisastrous462 • 7d ago
Hierarchos-Native v0.2.0: RDNA3 WMMA, native multimodal training, and a lot of FP32 Vulkan optimization!
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:
| Workload | Measured kernel speedup |
|---|---|
| QKV projection | 2.17× |
| FFN up projection | 2.12× |
| FFN down projection | 2.31× |
| Vocabulary projection | 1.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-infoThe 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 • u/Business-Feedback635 • 9d ago
LM Studio vs Ollama on Linux, measured on an RTX 3090
r/LocalAIStack • u/mightofkhan • 10d 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.)?
reddit.comTitle: 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
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?
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?
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?
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?
Any way to trigger all this from my phone over Tailscale (a simple web UI, Telegram bot, Open WebUI with tools, etc.)?
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 • u/zhenghaoz • 11d ago
Audio embeddings inference in C++/GGML with clap.cpp

