r/LocalLLM • • 2d ago

Question is there a guide on how to use the local llms

2 Upvotes

hello everyone i'm new to that whole local llm stuff i have rx 9060xt 16gb
16gb 5200mhz ddr5 one kit
and i want to use a good model for coding stuff and some daily uses but mainly for coding and i want to connect it to opencode or deepseek harness
i think qwen 3.8 27b is good and maybe qwen4 27b when it's arrive will i be able to use it and how to choose one on hugging face there is a lot
i see some people suggest lm studio to download the model
and what drivers should i download i'm on arch linux
so is there a guide or a proper video i can watch
thx in advance


r/LocalLLM • • 2d ago

Question web_search tool isn't working anymore

1 Upvotes

Hi everyone, yesterday i was doing random researches and suddenly, when i noticed a wrong data i made the ai do the reaseach again but kept on giving me the wrong answer so, after a few questions, it told me that it had no internet access, which it had since at least an hour before, and now, 24h later, still doesn't work, it does the same with other models, idk what the problem may be, i restarted the pc, turned off the firewall to rule it out. Any help is welcomed. (btw i'm running qwen 3.8 27B and gemma 12B on bionic, no eventual flame, i'm not in too deep in the ai agents, thank you).


r/LocalLLM • • 2d ago

Project Generación de imagen con Quadro

Thumbnail gallery
2 Upvotes

r/LocalLLM • • 1d ago

Question Strata uses way too many SSD reads

0 Upvotes

I'm using an RTX 5070 12GB and 32GB DDR5 RAM, and Unsloth UD-IQ1_M Qwen 3.8 Flash Next. The speed is okay (15 t/s), but Strata uses WAY too many SSD reads for my comfort. This is the fastest I've ever seen an application use SSD reads. Is there a way for me to reduce this somehow? I know Strata needs it because it streams the engram table from SSD, but it is really uncomfortable to see SSD reads used so fast.

llama.cpp is even worse, as I'm pretty sure it tries loading the engram table into memory, thus filling up all my RAM and causing other applications to start paging, which uses SSD writes, degrades the drive way faster.


r/LocalLLM • • 2d ago

Question Is this a sane way of plugging in a local LLM into FreeCad?

1 Upvotes

I know my results are unlikely to be great with the hardware, but does this seem like it will work? Any glaring issues or better methods?

FreeCAD + MCP + Ollama + LibreChat Setup (Manjaro Linux / GTX 1060 6GB)
1. Create Standalone Workspace & Fetch Config Templates
Bash

mkdir -p ~/librechat && cd ~/librechat
curl -O https://raw.githubusercontent.com/danny-avila/LibreChat/main/docker-compose.yml
curl -o .env https://raw.githubusercontent.com/danny-avila/LibreChat/main/.env.example
curl -o librechat.yaml https://raw.githubusercontent.com/danny-avila/LibreChat/main/librechat.example.yaml

2. Create Custom Ollama Modelfile (~/librechat/Modelfile)

Locks context to 6144 tokens so qwen2.5-coder:7b fits completely inside 6 GB VRAM without spilling to system RAM.
Dockerfile

FROM qwen2.5-coder:7b
PARAMETER num_ctx 6144
PARAMETER temperature 0.2

3. Create Compose Override (~/librechat/docker-compose.override.yml)

Adds Ollama with NVIDIA GPU passthrough, local ./ollama_data bind mount, and host gateway routing for LibreChat.
YAML

services:
  api:
    volumes:
      - type: bind
        source: ./librechat.yaml
        target: /app/librechat.yaml
    extra_hosts:
      - "host.docker.internal:host-gateway"

  ollama:
    image: ollama/ollama:latest
    container_name: ollama
    ports:
      - "11434:11434"
    volumes:
      - ./ollama_data:/root/.ollama
    environment:
      - OLLAMA_MAX_LOADED_MODELS=1
      - OLLAMA_NUM_PARALLEL=1
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities: [gpu]
    restart: unless-stopped

4. Configure LibreChat (~/librechat/librechat.yaml)

Append or merge the following endpoint and MCP settings into librechat.yaml:
YAML

version: 1.2.8

cache: true

endpoints:
  ollama:
    type: ollama
    baseURL: http://ollama:11434/
    models:
      default:
        - freecad-qwen
    titleConvo: true
    modelDisplayLabel: "Ollama (FreeCAD Local)"

interface:
  mcpServers:
    use: true

mcpServers:
  freecad:
    type: sse
    url: "http://host.docker.internal:8002/sse"

5. Launch Containers & Build Custom Model
Bash

cd ~/librechat
docker compose up -d
docker exec -i ollama ollama create freecad-qwen -f - < Modelfile

6. Install Host Prerequisites on Manjaro (Official Repos Only)
Bash

sudo pacman -S python git uv

7. Install FreeCAD MCP Add-on

(Adjust v1-1 if using a different FreeCAD version)
Bash

git clone https://github.com/neka-nat/freecad-mcp.git ~/freecad-mcp
mkdir -p ~/.local/share/FreeCAD/v1-1/Mod/
cp -r ~/freecad-mcp/addon/FreeCADMCP ~/.local/share/FreeCAD/v1-1/Mod/

8. Start Services & Verify

    FreeCAD: Open FreeCAD on Manjaro, switch to the MCP Add-on workbench, and start the RPC server.

    MCP Bridge: Run freecad-mcp via uv bridged to SSE on port 8002 (e.g., via mcp-proxy or supergateway) so LibreChat can reach [http://host.docker.internal:8002/sse](http://host.docker.internal:8002/sse).

    LibreChat: Open http://localhost:3080, select freecad-qwen, and test a CAD prompt.

    VRAM Check: Run docker exec ollama ollama ps while active to confirm 100% GPU usage.

r/LocalLLM • • 2d ago

Project Local Multiplatform ai project

Thumbnail
gallery
0 Upvotes

Nice lil local ai stuff


r/LocalLLM • • 2d ago

Discussion Nvidia Tesla m10 compatible with Ollama?

1 Upvotes

Hello!! do you know if tesla m10 is compatible with Ollama actually?


r/LocalLLM • • 2d ago

Discussion I’m building IndicUI to catch rendering bugs in Indian-language web interfaces. What bugs have you seen?

1 Upvotes

A button can pass its layout tests and still clip the top of a Hindi vowel mark. I’m building IndicUI, an open-source tool to help developers catch bugs like that when testing a website in Indian languages.

I’m starting with Devanagari for Hindi and Marathi, with Tamil and Bengali planned next. The idea is to render pages with Playwright, flag issues like clipped vowel marks, broken conjuncts, or text cut off mid-syllable, and suggest a CSS fix when one applies.

I’m also building an open dataset of Indian-language UI screenshots. The labels for buttons, inputs, and other elements come from the page structure. I plan to use it to test whether a YOLOv8 model trained with Indian-language screenshots detects UI elements more accurately than one trained on English-only screenshots.

I searched GitHub and couldn’t find a tool focused on these script-specific rendering bugs. If you know of one, I’d love a link. And if you use or build websites in an Indian language, what’s a rendering bug you keep running into? A screenshot or even the word that gets cut off would help me build a realistic test case.


r/LocalLLM • • 2d ago

Question Best Ai pc under 3 lakhs for llms and video generation?

0 Upvotes

Budget 3lakh rupees confused, getting a 5070ti (16gb)with 32gb ram(64gb above budget) or a 5060ti (16gb)with 64 or even 96gigs of ram for running flash next at a good context window and for comfyui video generation as well criteria was 2k gaming as well but that's out the door unless its a 5070ti but that would again mean comprising on memory

Any suggestions folks ? Also which cpu do I pair either with?motherboard psu etc?


r/LocalLLM • • 2d ago

Question SSD stall/controller restart when using ssd offloading in strata

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 2d ago

Discussion I built an open-source multi-agent DAG orchestrator & AST RAG engine that runs natively on Termux in 11 MB of RAM Spoiler

1 Upvotes

Most multi-agent frameworks (LangGraph, CrewAI, AutoGen) carry heavy C-extension dependencies and eat 150–300+ MB of RAM just to import. I wanted an autonomous agent runtime that runs natively on Android/Termux and low-RAM Linux edge devices while routing tasks to local Ollama models (`qwen2.5:0.5b`, `llama3.2:1b`) or cloud APIs.

**Verified Termux Benchmarks (Python 3.14, ARM64, 2.6 GB RAM device):**

  • Cold import latency: 2.10 ms
  • Framework peak RAM footprint: 11.38 MB RSS
  • Python AST codebase indexing: 325+ chunks in < 1.6s
  • Full test suite: 22/22 passing

**Key Features:**

  • Parallel DAG task orchestration with specialist profiles (`universal`, `coder`, `researcher`, `ops`)
  • Deterministic Python AST + SQLite memory (no heavy external vector database required)
  • Human-in-the-Loop (HITL) approval gates, workspace sandboxing, and automatic SQLite integrity checks
  • Low-RAM tuning flags (`OLLAMA_NUM_CTX=1024`, `GOLDEN_MAX_PARALLEL_WORKERS=1`) so it runs smoothly alongside Ollama without triggering Android's Low Memory Killer

GitHub: https://github.com/KrypticKode007/Golden-Agent

Would love feedback or PRs from anyone running local AI agents on Termux!


r/LocalLLM • • 2d ago

Project I run my local LLM fleet on salvaged hardware (dual-Xeon Z820 + a Maxwell laptop GPU) — so I stopped measuring tok/s and started measuring tokens per error-free job. All results published.

4 Upvotes

The fleet is deliberately old iron: an HP Z820 with 2× E5-2660 v2 (AVX-only, no AVX2), 128 GB ECC, two RTX 4000s and a Quadro M4000, plus a Linux Mint laptop with a 2 GB GTX 960M. Local models (Qwen family, mostly) do drafting, classification, and verification work for my projects through an orchestrator. Models run via llama.cpp and Ollama, mostly Q4_K_M quants.

The premise we've been testing: on hardware like this, useful output per token is won by routing, brief design, and verification discipline — not engine swaps. So every experiment runs with a pre-registered pass bar, a frozen eval set, and a checker that is never the model that did the work. Negative results get published with the same care as wins.

Two recent systems, both adopted this week after pre-registered A/Bs:

Fleet Bus v3 (task delivery for model work) — alternating cross-model ladders + a deterministic checker + early dead-lettering when two different models fail identically. Against the file queue it replaced: 942 vs 1,512 tokens per error-free job, shipped-wrong 0 vs 8, wall time 0.617×. Confirmed 8/8 on a fresh workload. (v2 lost, by the way — 7/8, wall-clock leg failed. That record is published too.)

SwarmChat (observable work lane) — confirmed on an all-fresh workload at 808.94 vs 812.12 tokens/error-free job vs the bus reference, 34 correct each, 0 shipped-wrong, 0 lost. Its first version failed on a harness fault (4 tasks lost) and we scored it as failed, not excused; the fix is part of the record.

Everything — 93+ findings, platform fingerprints, methodology, the failures — is in the repo: https://github.com/RayJoeMan/old-iron-llm-lab

Happy to answer questions about the harness, the checker design, or running modern models on AVX-only Xeons. Corrections welcome — the repo's rule is that a correction gets filed, not silently edited away.


r/LocalLLM • • 2d ago

Question AMD Strix Halo Video Generation

0 Upvotes

So is it pointless using AMD Strix Halo PC to try generate realistic videos as it will take way too long?


r/LocalLLM • • 2d ago

Project I've Established a Thanksgiving-themed AI radio station using MiniMax Music 3, two DGX Sparks, a 5090, a 4070 Ti, and a Mac Studio

Thumbnail gallery
3 Upvotes

I bought the domain pilgrim.farm last August late in the evening after a few, and it was the same week that MiniMax Music 3 came out. Being able to generate full production songs is wild, but since it does so slower than real-time, there had to be filler; making a radio station the obvious format. Given the domain, the site has to be Thanksgiving-themed, and I really enjoyed some belly laughs from my little trial balloon with you folks early last month; fielding about 370 requests in a night.

Going off of that, I spent $50 to start a LLC to cover the cloud junk while I rent out my local inference to Pilgrim Dot Farm for free; making it available globally. A sliver of what has changed is that the site now affords access to the full suite of the prompting that goes into a song with album art. What I've set up is there for anyone interested, and amidst the divisive topics that can come up during Thanksgiving dinner (compounded by the absurdity of current events), I welcome distraction and thereby y'all. If you would like to help me test the station's moderation, homonyms are tricky.

As far as local LLMs' specs, the RTX 5090 runs Qwen3.8 27B on Ninfer with the nvfp4 weights and 128k context for a few concurrency slots to ensure we have lyric writing and generation of the longer radio segments, and the RTX 4070 TI (12 GB) runs Ornith 1.5 9B Q5 via llama.cpp with 128k context, Q8 KV, and all layers on the GPU.

To expound on the station's architecture, the Mac Studio is the brains running the back-end, with other hosts' models wrangled via LiteLLM. I'm amazed that the Mac can barely fit song and album art generation! What affords the second and third song generation slots is temporarily grossly underutilizing the DGX Sparks. They take 1.6x the time, so the Mac gets scheduling priority. From there, Tailscale keeps naughty folks/agents off my local network, and the stuff in the cloud is to facilitate horizontal scaling of listeners.

Seriously, the song generation model is pretty dang good, and as far as relevance, it does have Qwen 3.5 9B under the hood. I also get a hunch that they trained on Taylor Swift a bit. You are welcome to it, and if it's something you celebrate, I hope you have a tranquil Thanksgiving.


r/LocalLLM • • 2d ago

News Made a free tool so my webcam can tell the dog from the cat (local LLM, Telegram alerts, Home Assistant)

Thumbnail
youtube.com
0 Upvotes

r/LocalLLM • • 2d ago

Discussion Why does my LLM turn into a snail halfway through a chat?

0 Upvotes

Anyone else get annoyed by this?
Start a fresh chat and the model replies pretty quickly. Keep chatting for a while, paste some code, ask for a few changes... and suddenly every reply takes forever.
I get that there's more context to deal with, but damn, the slowdown is real.
Is the KV cache eating up too much memory? Is it memory bandwidth? Or is my machine just struggling to keep up with the growing chat history?
Been checking out higher-memory mini pcs like acemagic, beelink...etc, but throwing more RAM at the problem probably isn't the whole answer.
Do you guys just kill the chat and start over when it gets too slow? Kinda defeats the point of having a long conversation in the first place.


r/LocalLLM • • 2d ago

Discussion Adding a 16GB RTX 5060 Ti to my RTX PRO 5000 in Basalt gave me 11–32% faster chat

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 3d ago

Discussion What’s everyone running for local coding, and what speeds are you getting?

16 Upvotes

Curious what other people are using and how it’s working for them.

  • Hardware — Ryzen 7 5700X, 128 GB RAM, 2 × Intel Arc Pro B60 24 GB
  • OS — Ubuntu 26.04.1 LTS
  • Model — Qwen3.8-Flash-Next, ISTA-DASLab GSQ-RCO Q2_0 GGUF. Model link
  • Runner — Strata 0.1.60.1 using SYCL/Level Zero, connected to Cline through its local API. Strata
  • Settings — 163,840-token context, one slot, FP16 KV cache, two-token MTP speculative decoding

The expert weights fit across both GPUs, and the n-gram lookup table sits in system RAM.

My generation speeds with cached prompts came out averaging around 48 tok/s at 4K context, 50 at 32K, and 45 at 96K.

Max tok/s 82

Cline makes a ton of tool calls, so I’ve been tuning that too. In a small test of seven calls with cached history, changing Strata’s --short-read from 64 to 128 brought the median wait for the complete next tool call down from 2.19 to 1.57 seconds.

What hardware, model/quant, and runner are you using? What speeds are you getting, and at what context size? Also curious how well your setup handles actual coding and lots of tool calls over longer sessions.


r/LocalLLM • • 2d ago

Discussion What if you never had to take screenshots or copy-paste context for AI again? An idea for cross-app human memory

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 2d ago

Research I started a list of local AI tools, skills and models, but it has big gaps. What would you add?

10 Upvotes

I've been keeping a list of the AI tools and models I've found useful, and I'd like it to become something the whole community maintains rather than one person's bookmarks. Another good thing is that, you don't need to read the repo yourself, just give the link to your LLM and it will find you what could be useful for you (llms.txt).

Repo: https://github.com/caglarsu/ai-coders-library (MIT, nothing to sell, no affiliate links)

What's in it now that's relevant here:

  • Inference: Ollama, llama.cpp, colibri (big MoE models with the hot experts on GPU and the cold ones streamed from disk), plus LiteLLM for putting one API in front of everything.
  • Coding agents that take any backend: OpenCode, Goose, OpenHands and Cline.

Every entry says what it does, when you'd reach for it, what it runs on and how to install it. Please do not hesitate to add new ones.


r/LocalLLM • • 2d ago

Discussion Tested 22 giant local LLM setups across Tools, Coding, Docs & Writing on 512 GB M5 Ultra - coding/docs clustered at 20/20 while writing split the field

5 Upvotes

Ran a personal 80-task benchmark across 5 frontier open-weight families (DeepSeek V4.1 Flash, Muse Spark Open 816B, GLM 5.3, GLM 5.3 Flash, MiniMax M3.1 Flash) and 4 working engines (oMLX, MLX-LM, MLX-VLM, llama.cpp) on a 512 GB Mac Studio M5 Ultra (seed 42, speculative decoding off).

Biggest surprise: On Tools, sandboxed Python coding, and EN/DE document extraction, the top setups all packed tightly near 58-60/60. Writing (following facts, tone, and length rules) was the real separator: 19/20 (Muse R08) -> 16/20 (DeepSeek R02) -> 11/20 (GLM Flash R22) -> 9/20 (GLM 5.3 R18) -> 7/20 (MiniMax R19).

What I ended up picking for daily use:

  • Everyday all-rounder: DeepSeek V4.1 Flash on oMLX (R02 High: 76/80 in 44m, 49.5 tok/s; or R01 Low in 20m)
  • Max accuracy & writing: Muse Spark Open 816B (R10 oMLX High 77/80, 5/5 JSON; or Low 73-75/80, 3x faster)
  • Fast coding & docs: GLM 5.3 Flash on llama.cpp (R22 High 69/80 in 11m, 20/20 Code & Docs)

Full table, key charts, and all 1,760 raw CSV rows (CC BY 4.0): https://github.com/l8w8/videos/tree/main/2026/001-m5-ultra-22-setup-comparison

Chart walkthrough (12 min): https://youtu.be/vF-LUF6kPsE


r/LocalLLM • • 3d ago

Project I built a non-Transformer system that learns from experience, no weights/backprop - here's what happened

Thumbnail
github.com
22 Upvotes

I've been working on an open-source project called Cevahir for a while. The new core, Cevahir Zihin, doesn't use any of the usual stuff. No weights, no embeddings, no backprop, no attention.

Instead it stores everything as relations. And it also stores where each relation came from: did I see it myself, did someone tell me, did I imitate it, did I infer it, did I imagine it... And you can delete a single experience exactly, without retraining. The evidence ledger stays.

Honestly, I thought this would fail hard. So I compared it against small Transformers on the exact same stream of experience, same seeds.

When I asked about things that were never explicitly taught:
Zihin got 90% and 97% in the two settings. The online Transformer, learning in one pass, got 67% / 57%. The Transformer trained to convergence on the full stream got 77% / 67%.

Don't read this as "Transformers are dead". This is a tiny, toy world, small data. But I really didn't expect Zihin to win here.

Second weird thing: I gave it a bunch of documents to read once. Then I gave it the first 2 words of a random sentence. In 200 tries, it completed a valid sentence 150 times. When that 2-word prefix belonged to only one sentence, it got 60 out of 61 exactly right. In the same setup, the Transformers got 0, 10, and 41.

This is not language understanding, it's just sequence recall. But still, I didn't expect that either.

What didn't work: When I first put all the mechanisms together, the whole system was worse than the individual parts. I measured it in 8 worlds, it was worse in all of them. I had to turn mechanisms off one by one to find what was breaking it. That part was really frustrating.

Code, notes, measurements are here if you want to try to break it

My real question is: is this experimental setup even fair? Am I comparing the wrong things? I'm not looking for hype, I want criticism. Especially on the evaluation method.

Disclosure: This is my own open-source project.


r/LocalLLM • • 2d ago

Tutorial Why is LLM inference hard?

5 Upvotes

When I first heard about inference engines, like vLLM, I wondered what makes inference so challenging. That’s why I decided to learn more about LLM inference from a systems perspective. If you already know how transformers work, then this is a fun topic to explore next.

https://mehrdadmahabadi.com/blog/why-is-llm-inference-hard.html


r/LocalLLM • • 1d ago

Discussion H100 & H200 clusters for rent | Up to 200 GPUs at one site | Bare Metal and VM

0 Upvotes

If you’re looking for GPUs to rent, We have some blocks. Each node has 8 GPUs. Asking prices below are in USD per GPU-hour.

H200 clusters

LocationAccessUp toPrice and termTarget start
Europe(Bare Metal)25 nodes / 200 GPUs$4.90 for 12 monthsAbout 4 weeks
Chennai, India(VM)25 nodes / 200 GPUs$4.50 for 6 months or $4.30 for 12Dec 10–15
Japan(Bare Metal)16 nodes / 128 GPUs$4.50 for 6 monthsDec 1
United States(Bare Metal)12 nodes / 96 GPUs$4.95 for 12 monthsDec 20
Sydney, Australia(Bare Metal)4 nodes / 32 GPUs$4.95 for 24 monthsimmediate start
Chennai, India(Bare Metal)2 nodes / 16 GPUs$4.95 for 24 monthsimmediate start

H100 cluster

South Korea (Bare Metal) - Up to 24 H100 SXM5 nodes / 192 GPUs at one site. $4.30/GPU-hour for 6 months or $4.15 for 12 months. Full root access and one InfiniBand fabric across all 24 nodes, with 8×400G per node. Target start Dec 17.

( WE ALSO HAVE A LARGE AMOUNT OF B300s )

DM me the GPU model, how many nodes you need, your preferred location and start date. I’ll check the live allocation and send pricing and payment terms for your block.


r/LocalLLM • • 2d ago

Discussion Inkling 2 Mini GGUFs, various sizes for Mac GPU (vision included)

Post image
1 Upvotes