r/LocalAIStack • • Jul 09 '26

Building an Agent Runtime on TensorRT-LLM ported to windows. Would appreciate your feedback

Thumbnail
baremetalrt.ai
6 Upvotes

r/LocalAIStack • • Aug 20 '26

I built a very low-overhead LLM proxy/router in Rust — looking for feedback

Post image
5 Upvotes

r/LocalAIStack • • Jun 25 '26

Things I’ll check first next time LiteLLM breaks in front of vLLM

5 Upvotes

Lost a chunk of time last week on LiteLLM + vLLM errors that looked like backend problems, but weren’t.

Setup: two vLLM backends, LiteLLM in Docker, one OpenAI-compatible endpoint in front.

This is what bit me:

  1. Cached LiteLLM deployment.

    Changed the backend to require an API key, updated LiteLLM, restarted vLLM, still got 401s. The missing step was restarting LiteLLM itself. `docker restart litellm` cleared the old keyless config. If your LiteLLM models are DB-backed, restart after changing auth, URLs, or params.

  2. Wrong model string going to vLLM.

    LiteLLM’s `model_name` is just what your apps call. The string after `openai/` is sent to vLLM and must match `--served-model-name`. If they differ, you get 404s through the proxy even when direct curls work. Hit `backend:8000/v1/models` and use the name it returns.

  3. Docker `localhost` mistake.

    `api_base: http://localhost:8000` from inside the LiteLLM container means LiteLLM is calling itself, not your host. Use the actual backend address, `host.docker.internal` with `host-gateway`, or the bridge gateway.

Also worth mentioning: don’t treat `systemctl is-active` as “vLLM is ready”. It can be active while still loading weights or compiling kernels. Poll `/v1/models` and only call it ready when that answers.

remain active while weights are still loading or kernels are being compiled. The annoying part is that each error points you at the wrong layer. So yeah, check the proxy before blaming the backend.


r/LocalAIStack • • 24d ago

Tesseract: a full-stack NPU for local LLM inference

Thumbnail
github.com
3 Upvotes

r/LocalAIStack • • Sep 26 '26

High-VRAM Hardware Watch — 2026-09-25

Thumbnail
reddit.com
2 Upvotes

r/LocalAIStack • • 25d ago

Domyn Edge, un LLM 4B, è fuori

Thumbnail
reddit.com
3 Upvotes

r/LocalAIStack • • Oct 02 '26

Qwen Flash Next on a 16GB Mac

Thumbnail
github.com
7 Upvotes

r/LocalAIStack • • 13h ago

Qwen4-35B-A3B on an 8 GB RX 7600: tuning, 64K-196K context, Qwen3.6 head-to-head, Godot agent loop, and TurboQuant (no gain)

Thumbnail gallery
2 Upvotes

r/LocalAIStack • • 9d 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 • • Aug 13 '26

Ternary Accelerator Card for 1 bit LLMs

5 Upvotes

This is my first post in this community I just wanted to see if anybody will help me in improving on my ternary accelerator card for 1.58 bit ai the links are here reply if your interested. (I am Really new to github so some ai was used in the making of the project for troubleshooting errors(plz dont hate me for that).

Project Links:==>https://github.com/riyanlord2026-dev/Ternary-158-asic

This is also my first github project.


r/LocalAIStack • • Oct 11 '26

Is local AI trending towards computations that benefit from GPU interconnects?

Thumbnail reddit.com
3 Upvotes

r/LocalAIStack • • Oct 18 '26

Webfetch squeeze to minimise context bloat

Thumbnail reddit.com
2 Upvotes

r/LocalAIStack • • 7d ago

SulphurAI/Sulphur-3 · Hugging Face

Thumbnail
huggingface.co
3 Upvotes

Sulphur 3

An uncensored video generation model based on MiniMax H3.


r/LocalAIStack • • Sep 30 '26

Abliterate/Removing prompt refusal without needing to reload/swap models (Qwen 3.8 flash next)

4 Upvotes

r/LocalAIStack • • Oct 21 '26

New token-efficient Nemotron-3.5-Lightning-30B-A3B

Thumbnail
huggingface.co
4 Upvotes

r/LocalAIStack • • Oct 12 '26

Guidance on training open weight model

Thumbnail reddit.com
3 Upvotes

r/LocalAIStack • • 6d ago

Trained Qwen 3 4b for legel statute identification

Thumbnail
huggingface.co
2 Upvotes

r/LocalAIStack • • Oct 11 '26

Running a 341 GB model on a 128 GB Mac: two small macOS fixes made the first token 8x faster

Thumbnail
reddit.com
2 Upvotes

r/LocalAIStack • • Oct 30 '26

Starting a local business

2 Upvotes

Hi fellas, so for quite some time now I've been meaning and planning to start a small ai automation business here in my city. Is it possible to pull off with my humble Tesla P100 16GB? Is QWEN 3.5 9B Q8 enough especially for chatbots and tool calling?


r/LocalAIStack • • Oct 15 '26

Qwen3.6-35B-A3B at ~80 tok/s gen / ~1200 tok/s prompt on a single RTX 3060 12GB + 32GB DDR5 (llama.cpp MoE expert cache + MTP)

22 Upvotes

RTX 3060 12GB 975mv undervolt

i5-12600K

32GB DDR5-6000

Linux

llama.cpp master from early October, CUDA build.

Model is Unsloth's Qwen3.6-35B-A3B-MTP-UD-Q4_K_M (22.7GB, has the MTP head). I also run a heretic Q4_K_M with MTP kept and it's about the same speed.

Command:

llama-server -m Qwen3.6-35B-A3B-MTP-UD-Q4_K_M.gguf -ngl 999 --cpu-moe --moe-cache-mib 7500 -fa on -ctk q8_0 -ctv q8_0 -c 32768 -np 1 -ub 2048 -b 2048 --spec-type draft-mtp --spec-draft-n-max 2 --load-mode mlock --cache-ram 1024 --ctx-checkpoints 8

Numbers from about a day of normal use, taken from the server logs. 433 responses longer than 500 tokens: median 79 tok/s, most of them between 76 and 83. Prompt processing is around 800 tok/s for prompts under 1k tokens, ~1100 tok/s for 1k-4k and ~1190 tok/s for 4k-16k. MTP draft acceptance is around 85%. VRAM sits at ~11.4GB.

Fixed test (3.6k token prompt, 700 tokens out), how it got there:

- --n-cpu-moe 25 with MTP: 50-58 tok/s

- --cpu-moe plus --moe-cache-mib 7500: 71-73 tok/s

- added mlock: 75-81 tok/s

- updated llama.cpp: 77-84 tok/s, prompt processing 1220-1300 tok/s

Most of the gain is the MoE expert cache (PR #29887). With it, all experts sit in RAM and the most-used ones get cached in VRAM. Set the size to whatever VRAM you have left. For me that's 7000-7500MiB.

mlock gave about 10% over mmap, but it locks ~20GB of RAM. On 32GB I hit OOM a couple of times with other things open. --cache-ram 1024 is there because the prompt cache can grow up to 8GB by default, and that was causing my first OOMs.

Things that didn't help:

- -ub 4096: faster prompt processing (~1400-1500) but gen dropped to ~63 because the bigger compute buffer eats into the expert cache.

- A small expert cache (1-3GB): slower than no cache.

- -np 4, MTP n=3 and MTP+ngram: no gain.

- Forcing 4 experts instead of 8: 91-95 tok/s, but it started looping on long outputs, so I dropped it.

If you're on 12GB and still using --n-cpu-moe, try --cpu-moe with --moe-cache-mib.


r/LocalAIStack • • Nov 04 '26

I got a Qwen 27B AI model running on an RK3588S. Then I built my own runtime and made inference 2× faster. W6

Thumbnail reddit.com
2 Upvotes

r/LocalAIStack • • Sep 05 '26

Running Qwen 3.8 27B as a VS Code Copilot backend on 16/32 GB VRAM

Thumbnail gallery
4 Upvotes

r/LocalAIStack • • 26d ago

Llama RPC Farm

Thumbnail
gallery
2 Upvotes

Finally, I put something I’ve been working on out there

If you’ve ever tried running local AI models with llama.cpp across more than one computer, you know it’s a headache. I built Llama RPC Farm to fix that. It’s one dashboard that pools GPUs across your machines, switches between models on demand (works directly with llama-swap), and works just as well on a single machine.

It’s early and still rough around the edges, but it’s free and open source. If you’re into local LLMs, give it a look and tell me what breaks

https://github.com/dakotacookson/Llama-RPC-Farm


r/LocalAIStack • • Nov 04 '26

SSD MoE finally viable!

Thumbnail
reddit.com
3 Upvotes