r/LocalAIStack • u/Ok_Butterscotch_3756 • Jul 09 '26
Building an Agent Runtime on TensorRT-LLM ported to windows. Would appreciate your feedback
r/LocalAIStack • u/Ok_Butterscotch_3756 • Jul 09 '26
r/LocalAIStack • u/piwi3910uae • Aug 20 '26
r/LocalAIStack • u/Meyrcruywagen • Jun 25 '26
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:
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.
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.
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 • u/timing-violation • 24d ago
r/LocalAIStack • u/dayspringsilverback • Sep 26 '26
r/LocalAIStack • u/Weekly-Dentist-8302 • Oct 02 '26
r/LocalAIStack • u/Sweaty_Perception655 • 13h ago
r/LocalAIStack • u/AppropriateRanger401 • 9d ago
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 • u/aEsp32TypeGuy • Aug 13 '26
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 • u/Dathide • Oct 11 '26
r/LocalAIStack • u/eightone-81 • Oct 18 '26
r/LocalAIStack • u/techlatest_net • 7d ago
Sulphur 3
An uncensored video generation model based on MiniMax H3.
r/LocalAIStack • u/MatiAI • Sep 30 '26
r/LocalAIStack • u/BottleCapAI • Oct 21 '26
r/LocalAIStack • u/ContextIQ • Oct 12 '26
r/LocalAIStack • u/ankithere33 • 6d ago
r/LocalAIStack • u/Chida82 • Oct 11 '26
r/LocalAIStack • u/FyoFuyo • Oct 30 '26
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 • u/efeege616 • Oct 15 '26
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 • u/Aibender100 • Nov 04 '26
r/LocalAIStack • u/paq85 • Sep 05 '26
r/LocalAIStack • u/Historical-Singer771 • 26d ago
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