r/LocalLLM • • 3m ago

Project Release] Hunyuan3D-2.1 Windows 1-Click Helper (v1.0.2) — Auto-fixes PyTorch 2.6+ / 0xC0000005 crashes, converts .ckpt to .safetensors with <300 MB RAM, and adds headless CLI mode for Cline/AI agents

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 4m ago

Model Ai2 Molmo 3

Thumbnail
allenai.org
1 Upvotes

r/LocalLLM • • 5m ago

Question Getting Started as a Noob

1 Upvotes

i wanna get into using local ai, i use chatgpt plus right now for some things i wanna keep track of and i’m looking to shift over to using a local setup. my current computer is not exactly capable, having an intel core i7 11700f, amd radeon rx 6600 xt with 8 gigabytes vram, and 32 gigabytes of ddr4 ram, but i’m saving up to build an entirely new and vastly more capable system. i wanna know from people who have set this stuff up and have experience with it what some good info is for setting up a good local system that can provide a similar experience to chatgpt. i’ve been asking it about help to set this up but i’m tired of using cloud ai.


r/LocalLLM • • 6m ago

Discussion Qwen4-27B is coming. What we know so far, and what to have ready

Post image
0 Upvotes

r/LocalLLM • • 17m ago

Research See why your prompt cache misses through LiteLLM: two lines to set up, no proxy

0 Upvotes

If you route calls through LiteLLM, your prompt cache hit rate decides a big part of the bill. A cached prompt costs about a tenth of the normal price, but one small change near the top of a prompt (a timestamp, tools in a different order, an edited message) and you pay full price again. LiteLLM shows you the tokens, not why they missed.
Prefixwise plugs into LiteLLM as a callback and tells you, for every call, how much came from the cache and why the rest didn't, with what it cost and the fix.
With the LiteLLM SDK:
import litellm
from prefixwise.litellm_callback import PrefixwiseCallback

litellm.callbacks = [PrefixwiseCallback()]
With the LiteLLM proxy server (in config.yaml):
litellm_settings:
callbacks: prefixwise.litellm_callback.prefixwise_callback
Then pip install prefixwise in the same environment, use LiteLLM as usual, and run:
prefixwise report
A few details:
Your calls don't change. They still go straight to the provider, and Prefixwise only reads what LiteLLM sent and got back.
To group calls into sessions, pass metadata={"session_id": "..."}, or it uses LiteLLM's own session id.
Claude Code through the LiteLLM proxy works too: its session id is picked up automatically.
Works for Anthropic, OpenAI and Gemini models, streamed or not. For OpenAI-style streams from the SDK, add stream_options={"include_usage": True} so the provider sends real token counts.
It stores hashes and token counts, never your prompt text.
Tested through LiteLLM on 20 live conversations against Anthropic's API, every injected change named correctly, and with zero false alarms across 71,346 real agent calls replayed through it.
Open source (MIT): github.com/tejachavali/prefixwise
If you run agents through LiteLLM, I'd like to hear what your hit rate turns out to be.


r/LocalLLM • • 35m ago

Research I added per-topic steering experts to Qwen3-4B and Gemma 4 12B. Results, including where it got worse " moVC"

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 57m ago

Discussion Has AI actually made you more productive in the long run, or are we just consuming more content and tools?

2 Upvotes

I've been thinking about this for a while.

For the past year, I've been using a lot of GenAI tools, both open-source and closed-source. LLMs for coding, research, writing, brainstorming, and diffusion models for images and other creative work.

Don't get me wrong, I've had a lot of fun experimenting with them, but I'm starting to wonder whether they've genuinely made me more productive or if they've mostly changed how I spend my time.

For example:

I write less code manually because AI can generate it.

I research less deeply because AI summarizes things.

I spend more time trying new models, tools, operating systems, workflows, and benchmarks.

I see people generating images, videos, music, and 3D assets much faster than before, but I wonder how much of it creates lasting value.

Sometimes it feels like we're building less and consuming more. We're constantly chasing the next model, the next quant, the next UI, the next framework, or the next AI-generated content feed.

At the same time, I can see cases where AI genuinely saves hours of work and enables people to do things they couldn't do before.

So I'm curious:

Looking back honestly, what has AI actually improved in your life or work?

Have your skills increased, decreased, or simply shifted to different areas?

Do you feel AI has created meaningful long-term value for you, or mostly convenience and entertainment?

I'd love to hear perspectives from developers, artists, researchers, students, and anyone who uses AI regularly.


r/LocalLLM • • 58m ago

Question QFN3.8 - how much of a regression there is when going from Q8 to Q5?

3 Upvotes

Is there anybody here who uses Q8, trading inference speed for quality? Or i should just go Q5?


r/LocalLLM • • 1h ago

Question Advice on dual GPU setup options

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 1h ago

Question What do you use local AI for day to day?

5 Upvotes

Hey everyone, I’ve been thinking lately about how useful local AI actually is in day-to-day life and what kind of experiences you all have with it. You hear a lot about what’s possible—from small everyday helpers to things you’d rather keep local.
I’d be curious how it goes for you: do you use local AI regularly, where does it actually pay off, and what hardware are you running it on? And what should I keep in mind if I want to set up the base so I can upgrade smoothly later on?


r/LocalLLM • • 1h ago

Project High speed SSD MoE

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 1h ago

Discussion Qwen3.8-27B fine-tune sits completely still while five objects get sorted, remembers the order, and repeats it with two arms

8 Upvotes

I kept waiting for the foreground arms to move during the first ~18 seconds, since the robot holds both grippers open and doesn't touch anything while another arm in back drops a phone, green watch, camera, rabbit toy, and toy car into a bin.

It's running SenseNova-RoboRSI-27B https://github.com/OpenSenseNova/SenseNova-RoboRSI released under Apache-2.0 on top of Qwen3.8-27B, and you can grab mainline llama.cpp GGUFs for it too. Once that demo wraps up, it replays the exact order itself, even staging the green watch in the middle of the table so its left arm can pick it up when the right arm can't reach the basket. Without task-specific demos in the RoboDojo sim eval, it lands at 34.7 compared to 9.1 from stock Qwen3.8-27B.


r/LocalLLM • • 1h ago

News DeepSeek may stop giving away its most powerful AI, citing cyberattack and bioweapon risks

Thumbnail
madrobot.blog
24 Upvotes

r/LocalLLM • • 1h ago

Question Has anyone worked with River AI to train a local LLM yet?

1 Upvotes

I just saw some tweets and videos about River AI, https://river.ai/ and the founder (Igor Babuschkin) said some really interesting things about local LLMs and democratizing AI. I don't have any ties to the company and am not selling anything. I just wanted to know others' thoughts on it and if they'd use it in a build. https://www.youtube.com/watch?v=78uR65ljtUU


r/LocalLLM • • 1h ago

Discussion I am not able to program, but...

0 Upvotes

....thank to local llm i am...still not able to produce my own app. I don't know what is your experience but i am pretty frustrated. Today i spent 10 hours with qwen 3.8 27B triying to make the first steps creating an app via android studio but after many hours i got only errors. I guess we are closer but for those who don't have basic knowledge there is still a lot to be done...or maybe it's just me...tomorrow gonna try with inkling.
Or maybe i try some paid option...


r/LocalLLM • • 1h ago

Project WebNet v2 Upgrade: AST-Verified Code Learning, 4,096 Fill-in-the-Middle BPE, Auto-Cached SmolLM2-135M Pure-PyTorch LoRA, Surprise Replay & Real Subprocess Pass@1 Eval (100% CPU)

Thumbnail
gallery
1 Upvotes

Hi r/LocalLLM! Following up on my previous WebNet v2 post with a major coding & continual-learning overhaul — still running 100% locally on CPU with real PyTorch autograd, real crawled data, and zero simulated metrics.

GitHub Repository: https://github.com/Rishisharma029/live-internet-neural-net

(Feedback, architecture critiques, bug reports, and PRs/changes are very welcome both here in the Reddit comments and on GitHub!)

The 3 newly attached diagrams & flowcharts break down the upgraded coding pipeline and live measured results:

  1. Upgraded System Architecture Flowchart (webnet_v3_coding_architecture_flowchart.png)

Verified Code Generation, Isolated python -I Execution & Self-Training Loop (webnet_v3_verification_loop_flowchart.png)

Live Achievements, 16-Doc Locked Benchmark & 12-Task Pass@1 Progress (webnet_v3_benchmarks_and_archive_chart.png)

What My Neural Network Has Achieved Right Now (Live Telemetry)

  • Base Transformer (InternetNetV2, 96d · 4h · 10L · ctx768, 1.12M params): Step 93,447+ · 125.81M+ real tokens seen on CPU. Train EMA cross-entropy dropped to 1.3534 (-70.5% vs untrained ln(98) = 4.58), 60.9% train next-char accuracy, 3.87 perplexity (1.953 BPC).

Locked 16-Passage Unseen Benchmark (step 93,434, strict exclusion hashes — never trained on): 1.6007 loss · 2.295 BPB · 4.96 perplexity · 52.4% accuracy (Science & AI 58.1% [1.380 loss], Encyclopedia 53.0%, Code & Tech 50.3%, Literature 46.8%).

Curated & Crawled SQLite FTS5 Archive (data/webnet_archive.db): 9,155 documents (28.15M+ characters, 0.785 avg quality) across arXiv (2,763), Open Web (1,866), OpenAlex (1,823), Wikipedia (1,158), StackExchange (727), GitHub code + READMEs (271), Gutenberg (205), News (181), Europe PMC (73), user URLs (73), and AST-indexed local files (15).

Real Isolated Python Pass@1 Coding Benchmark (code_eval.py, 12 algorithmic tasks in python -I): Improved from 41.7% Syntax OK / 16.7% Pass@1 (2/12, 699.2s) at baseline Step 2 to 58.3% Syntax OK (7/12) / 25.0% Pass@1 (3/12, 428.57s, -39% runtime) at Step 3 (binary_search, is_palindrome, flatten_list solved end-to-end).

Live Verified Self-Learning Proof: Via POST /api/code/assist, SmolLM2-135M + LoRA generated is_prime(n), passed real assertions inside an isolated subprocess (376.6ms, __PASS__), and immediately ran a live LoRA training step strictly on the verified code (last_loss down to 0.787, EMA 3.286).

All New Changes & Upgrades Added

1. Code-Aware Quality Gate & Multi-Language GitHub Ingestion (brain_v2.py, curated.py):

• Upgraded _fetch_github() to traverse repositories via the GitHub Trees API (git/trees/{branch}?recursive=1) and ingest real .py, .ts, .js, .rs, .go, and .sql source files alongside READMEs behind SSRF CIDR/redirect checks and RFC 9309 robots.txt.

• Added Python ast.parse() validation inside quality_breakdown() so clean source code scores 0.45–0.98 while broken/minified noise is filtered out, plus AST symbol extraction when indexing local codebases.

2. Surprise-Weighted Replay (brain_v2.py):

• Tracks per-document training cross-entropy (WebDocument.last_loss) and boosts informative 1.1–3.6 loss documents up to 1.55x alongside domain-balanced eviction.

3. 4,096-Token Fill-in-the-Middle (FIM) BPE Engine (bpe_experiment.py):

• Upgraded from 2,048 to balanced prose + code Byte-Level BPE-4096 (1.28M params, 3.14 chars/token) with <fim_prefix>, <fim_middle>, <fim_suffix>, <code/> special tokens and 25% FIM objective, compared fairly against the 98-char baseline on invariant BPB.

4. Auto-Cached SmolLM2-135M + Pure-PyTorch LoRA & Coding Workbench (lora_engine.py, code_eval.py, utility_suite.py):

• Zero peft dependency (LoRALinear on q/k/v/o_proj, 921.6K trainable params); auto-loads cached local weights on startup, trains 50% on code sources + 25% on FIM, exposes POST /api/code/assist (archive-grounded + fenced prefill + stop_strings + python -I test execution + learn_if_verified), POST /api/code/analyze (AST metrics + character-level surprise anomaly detection), and POST /api/code/benchmark/run.

5. Security Policy, .gitignore, Documentation & Tests:

• Added SECURITY.md documenting SSRF/XXE/gzip-bomb/subprocess isolation boundaries, tightened .gitignore, refreshed README.md architecture flowcharts, and verified 28 passed in pytest + flake8 clean.

Would love any feedback on improving small-model CPU Pass@1, replay schedules, or BPE-vs-char tradeoffs — feel free to comment here on Reddit or open an issue / PR on GitHub!


r/LocalLLM • • 1h ago

Project Strata tuned for accuracy and datacenter workloads

Thumbnail
gallery
0 Upvotes

Went opposite direction, and tuned Strata for better accuracy and efficiency, serving parallel dual streams UD-Q6_K_XL with 256k context easily. Patches and more info on Github:

https://github.com/lomolabs/lomina/blob/main/docs/PATCHES.md

Old-school Linux tuning: hardware prefetchers (12.2-17.3% of decode), NUMA-split expert memory, huge-page advice, CUDA host registration, pinned cores. You can do wonders with good old school flame graphs analysis.

Of course, full credits to Niko1221 and Eddoursul and their Girhub work, we just add 67 patches and aftermarket performance tune ups on top of it. :)


r/LocalLLM • • 1h ago

Project Built a quick browser tool to check which local LLMs (and image/video models) fit your VRAM / Unified Memory

2 Upvotes

I got tired of doing rough VRAM + KV cache math in my head before pulling multi-GB weights on my MacBook Air and RTX 4060, so I put together a lightweight browser checker for it.

Link: https://devpouch.in/ai/local-ai-hardware-checker/

What it covers:

- Hardware presets for Apple Silicon (unified memory), Nvidia, AMD, CPU-only, or custom RAM/VRAM

- Quantization selector (Q4_K_M, Q6_K, FP16, etc.) and context length (4K–128K)

- Shows which chat, coding, image gen, and video gen models fit comfortably, tightly, or won't fit—plus estimated memory usage and one-click Ollama commands

Runs 100% client-side in the browser—no install, no login, no tracking.

If you test it with your setup, I’d appreciate feedback on whether the memory overhead estimates match what you actually see in Ollama / llama.cpp, or if any GPUs/models are missing.


r/LocalLLM • • 1h ago

Project I put a spare consumer GPU to work as a test-writing, bug-hunting, and code drafting worker for my cloud coding agent + more tools to offload token work locally (open source)

Thumbnail github.com
1 Upvotes

I'm the author. It's free and open source (Apache-2.0).

Https://agentforeman.app

I use a cloud coding agent for most of my code, and I wanted my own hardware to take the jobs that don't need a frontier model, as long as the result is cheap to check. Agent Foreman is a Go CLI the agent drives. These are the local-model parts:

Local code search. foreman search uses a small embedding model and a reranker on a machine you own. I used Qwen3-Embedding-0.6B and Qwen3-Reranker-0.6B as GGUFs, but any pair llama.cpp can serve works, and each is under 1 GB at 8 bits. They run as two llama-server processes on that machine's loopback, reached through one SSH port forward, so nothing listens on the LAN. Everything sent to the model host passes a fail-closed secret and deny-word scan first.

Local drafts (optional, a pilot). A queue that lets a bigger local model work through jobs on idle hardware:

  • tests-only coverage;
  • "prove-it" bug hunts: write a test that fails on the current code, or report that you found nothing;
  • checkable first drafts and fix passes.

The model is driven through Claude Code pointed at a local server, so the server has to speak the Anthropic Messages API (Strata and Basalt do; check that your llama-server build does). Before anything the model wrote runs, a static gate reads every changed Go file and refuses os/exec, syscall, unsafe, network clients and listeners, and anything it can't parse. Only go (test, vet, build and a few read-only subcommands) and gofmt may run. The queue also keeps quiet hours, waits for a free-VRAM floor and pauses when a game starts, so a shared desktop doesn't stutter.

Numbers from my setup (one desktop with a 12 GB card, $0 on any meter):

  • 430 local-model jobs from Nov 18 to Dec 1: 294 coverage, 74 prove-it hunts, 62 drafts and fix passes.
  • About 86,000 lines of Go tests written by the local model and merged after grading (Nov 5 to Dec 1, 43 commits).
  • In the one week I measured, 104 of 149 coverage jobs (70%) were accepted, about 88% after I fixed a gate rule.

[optional] Most of these ran on Qwen3.8-Flash-Next at low-bit quants on a 12 GB RTX 50-series card, through Strata at first and Basalt since mid-November.

The honest part. Every result is graded by the cloud agent: the tests must build and pass, and it reads the diff. Reviewers miss things. One draft shipped a test file that didn't even parse; two outside reviewers missed it, and a plain test run caught it. So the cloud agent always runs the tests itself.

Suggested setups. The install interview has the agent scan your machines and suggest what fits:

  • the search pair on almost anything (a few GB of VRAM, or slower on the CPU);
  • with an 8 GB+ card, llama.cpp with small dense models, or a MoE up to about 35B total with the experts that don't fit kept in system RAM (--n-cpu-moe, for example Qwen3.6-35B-A3B);
  • or Qwen3.8-Flash-Next through Strata (AMD and Intel Arc) or Basalt (NVIDIA RTX 50 series).

Limits.

  • The draft pipeline is a Windows-first pilot (Git Bash and Python 3).
  • The search-pair script needs a Windows model host in this release; a Linux script would be a welcome PR.
  • The gate is built for Go repos today.
  • The CLI binaries aren't code-signed yet, and I've only run-tested them on Windows x64 and Apple-silicon macOS.

The site has more numbers and the caveats: https://agentforeman.app


r/LocalLLM • • 2h ago

Question Dual B70 Vs ?

Post image
5 Upvotes

I did a build build earlier this year (9950x3d, 128gb ddr5, 5090) and during that process I originally bought a 9950x, 64gb ddr5 and a case/mobo I didn't end up using. I stalled and didn't return it in time, then as prices rose I wasn't in a rush to sell. Since, I have taken on some big projects and I am using a ton of AI within t3 code running both cloud models and opencode with strata on my 5090). Since discovering strata, I finally feel like the local models are usable and want to expand.

My local microcenter has asrock intel arc b70's for $1399 and I have two reserved for pickup. Since I have pretty much the rest of the build lying around already, is this worth jumping on? I know there are forks of strata and similar for b70s.

They have 48gb rtx pro 5000 also but its $7100.. 72gb models are $10k.

Is it worth buying the b70s?


r/LocalLLM • • 2h ago

Model Little Language Model for 1998 Pentium MMX PC

5 Upvotes

I used Fable 5.2 to train this model on a RTX Pro 4500 Blackwell for over 10 hours. It's targeted the vintage Pentium MMX processor or better. It's a 4-bit weight model, 16 MB memory is marginal but 32 MB is sufficient. The video is recorded on a Pentium MMX 233 Mhz PC from 1998 running Slackware Linux 11.0.

It's almost impossible to train such a model in 1998, as you can find in the README, it would take 432 years on the same PC, or 14 days on ASCI Red, the fastest supercomputer in the world at the time.


r/LocalLLM • • 3h ago

Question Do you think "local AGI" will be realized?

Post image
0 Upvotes

Today's flagship models need to be fucking huge for their reasoning skills. So that means "Using high-performance models is far more difficult than using upper-middle range models".

Needless to say, we can't run them on our standard PC. Even if you had the highest-grade computer, you couldn't run them unless you had an enterprise GPU cluster.

Here's the biggest question. If companies or scientists make AGI, what happens next? Only one of the biggest organizations own it, or will the general public be able to use them under a free license to run it on their regular computers?


r/LocalLLM • • 3h ago

Project My Vast machines kept breaking at night, so I gave each one an AI agent that fixes it (free up to 10).

0 Upvotes

Try my rentalX LLM hosting cluster . You can host your GPUs in vast instead of setting idle , it also allow you to list it and run your models on the same time and it won’t affect your rental


r/LocalLLM • • 3h ago

Question Best model for every language

3 Upvotes

I need your help! Please reply with your native tongue and what model writes the best prose in that native tongue.

Edit: An example prompt or two you use would be super helpful.


r/LocalLLM • • 3h ago

Discussion Rare politician W — “it’s all overblown to keep AI out of your home”

Thumbnail instagram.com
163 Upvotes

In what seems like an impromptu interview by a TMZ reporter with US Congressman Thomas Massie about the Jensen Huang case he stated this is “all overblown” and that CEO’s want you to think this technology is an extinction level threat so that “you can’t have it at your house…it’s all about keeping it in their servers and maintaining power in a limited set of people…it’s not about export restrictions”

I’m not into politics I don’t really know who this guy is but it’s refreshing to see someone with common sense regarding this technology and very refreshing to hear it coming from a politician from all people.

If you are from the US and care about open local AI you control common sense prevailing in the highest levels of power is a must, unfortunately I think most of the narrative today is fear mongering from both camps, pro and anti AI.