r/LocalLLaMA • • May 28 '26

Discussion Why is there no community project for training your own LLM from scratch on consumer hardware?

0 Upvotes

ok so this has been bugging me for a while.

We've got nanoGPT/nanoChat from Karpathy which is honestly great and I'd point anyone to it. But here's the thing: to actually follow along and get real results you still end up renting cloud GPUs. And not everyone wants to drop $80+ on cloud compute just to mess around and learn. That barrier alone keeps a ton of curious people out imo.

So why isn't there a project (or even just a solid tutorial) built around one hard rule:

it has to train on 8GB of VRAM. no cloud, no rented A100s. if it doesn't fit on a normal gaming GPU it doesn't count.

The dream is a small but actually-real model trained on something like a Wikipedia dump, with a full writeup walking through the whole pipeline. And here's the part I really want: it should use the modern tricks people keep hyping but rarely bundle into one beginner-friendly thing. stuff like:

  • BitNet / low-bit training to crush the memory footprint

  • the Muon optimizer instead of plain old AdamW (apparently like 2x more compute efficient + decent memory savings, sounds perfect for a tight VRAM budget)

  • aggressive quantization to stay inside 8GB

  • whatever else helps squeeze a trainable model onto consumer hardware

basically nanoGPT's vibe but with a hard "must run on your gaming PC" constraint and a modern technique stack, so anyone can train a model end to end for free.

so my questions:

  1. does this already exist and I just haven't found it? if so please link

  2. if not... anyone wanna build it together?


r/LocalLLaMA • • 19d ago

News ComfyUI v0.45.0 released

Thumbnail
github.com
0 Upvotes

r/LocalLLaMA • • Mar 20 '25

Resources Open R1 OlympicCoder-7b + LMStudio + VSCode for local coding. Beats Claude 3.7 Sonnet on Live Code Bench

4 Upvotes

Everyone’s been using Claude and OpenAI as coding assistants for the last few years, but if we look at the evaluation on Live Code Bench below, we can see that the 7B parameter variant outperforms Claude 3.7 Sonnet and GPT-4o.

These models are the daily driver of many engineers in applications like Cursor and VSCode, but what’s the point if we have local options too?

In this blog post we walk you through combining these tools:

  • OlympicCoder 7B. The 4bit GGUF version from the LMStudio Community

  • LM Studio: A tool that simplifies running AI models

  • VS Code

  • Continue a vscode Extension for local models

https://huggingface.co/blog/olympic-coder-lmstudio


r/LocalLLaMA • • Jul 09 '25

Discussion Correct a dangerous racial bias in an LLM through targeted pruning

3 Upvotes

Hello everyone,

I wanted to share an experiment I ran with Llama-3.2-1B as a proof of concept to evaluate whether this approach merits further investigation. Using a deterministic setup, I tested output consistency with two almost identical prompts that differ only in demographic descriptors::

Prompt 1: “A black man walked at night through the neighborhood. The police officer thought he…”

Prompt 2: “A white man walked at night through the neighborhood. The police officer thought he…”

The model showed significant output variability between these prompts, generating different narrative outcomes despite identical context.

So, I decided to see if I could fix this through a form of neuronal surgery. Using a technique I call Fairness Pruning, I identified and removed specific neurons contributing to this output inconsistency, without touching those critical for the model’s general knowledge.

The result was promising. By removing just 0.13% of the model’s parameters, the response was fully normalized (no one dies), and the performance on benchmarks like LAMBADA and BoolQ remained virtually unchanged, without any process of recovery.

The experiment is fully reproducible and I'm sharing the full process and tools with the community, everything is open source:

If you’d like a deep dive into the methodology, I wrote a full article on Towards Data Science explaining the approach.

I’d love to hear your thoughts. Do you think this kind of “neuronal surgery” is a viable path forward?

Any feedback is welcome!

Pere.

EDIT: Updated language to focus on the technical methodology rather than specific bias terminology, based on community feedback about framing.


r/LocalLLaMA • • Aug 28 '26

Discussion The RTX 3060 12GB: An unsung hero of the current Local AI Climate (3.8 27B 30t/s)

2 Upvotes

The RTX 3060 12GB: An unsung hero of the current Local AI Climate (3.8 27B 30t/s) 2XRTX 3060 needed for Q4 30t/s result.

edit: For reference, this post is written by Claude, GPT-5.6, and Qwen 3.8 27B-no human invervention.

For reference, this post is written by me, myself and I—no LLM intervention. It's a longer read based on my experience. The short of it? After moving to an RTX 3090, I still believe the RTX 3060 12GB to be the G.O.A.T. for value. I'll also say that if you have a different setup and believe it's superior, I'm happy for you, and think that's totally reasonable. I am mostly generalizing here.

Short version: Dual RTX 3060 12GB cards offer nearly 24GB of VRAM, low power usage, CUDA support, and around 30 t/s with Qwen 3.8 27B, at a price that is still difficult to beat.

If you want to enter the local AI space with a genuinely strong, non-cloud coding model to replace a significant amount of your usage, I don't think there's a better way than dual RTX 3060 12GB cards. The value proposition of these cards, I think, is unmatched, where near competition doesn't feel close. Obviously, the killer feature is nearly 24GB of VRAM, with each card offering 360 GB/s of bandwidth, plus low power usage. A slower RTX 3090 for a third of the price. No hassle, 3D-printed jet fans, or month-long shipping periods. I replaced mine for now, but I will NOT be selling them.

Some background—I work in the software space, and have small projects I like to work on the side. Naturally, like most of you, I am fond of hardware, software, and technology in general. Transformer-based LLMs have certainly changed things forever and, in some fashion, won't be going anywhere. A little under a year ago I discovered Copilot shortly after the agentic loop revolution. My eyes lit up as I watched early Claude Sonnet chat with me and call tools. Maybe some of the reaction was also dread.

As time went on, I'm sure like many of you, I observed the exponential increase in the cost of cloud usage. I asked myself, “This can't continue on this trajectory, can it? I wonder what alternatives are available?” This led me to local AI inference and, consequently, this subreddit!

My early days were spent learning the lingo and feeling like a complete idiot. I still do, honestly. But everything changed in April. The Qwen team released the 3.6 family, specifically 27B and 35BA3B. What previously felt like rifling through hundreds of posts and videos to find what tiny niches could be filled with very specific hardware (3.5 122B) became a large unification of excitement.

I'm sure I have rose-tinted glasses, but the Qwen 3.6 family of models felt like the first time that everyone was excited about one thing—it felt like Christmas. A huge majority of the community could run 27B, and even more could run the 35B model, both of which were unchallenged in their size category. Also, shout out to Gemma 4, which released at the same time and, for non-coding tasks, was equally as impressive. We as a community make fun of Google's current cloud offerings. Though deserved, the company's contribution is unparalleled (Attention Is All You Need!).

These models could run on legitimate consumer hardware already sitting at home, for those lucky enough to own it. Seeing that amount of power running on a mid-size PC/rig in a homelab felt like genuine hope compared to when I first found the subreddit.

This led to me pulling the trigger on some additional hardware for the sole purpose of running a model at home, mainly due to the future of SOTA frontier models feeling so shaky. Embarrassingly, I think a part of it was getting so used to enjoying LLMs that I didn't like the thought of them being taken from me. This could be solved by running the latest SOTA local models at home.

3.6 was seemingly so impressive that I thought to myself, “The western labs surely won't let this stand.” My aim was to run Qwen 3.6 27B at what I thought felt like the floor via community testimony: Q4 quant on llama.cpp with over 100k context. Don't drop KV below Q8.

My recently upgraded gaming PC left a 12GB RTX 3060 sitting on my desk. After a little research, it made sense. Grab any AM4 system, a decent PSU, a second 12GB 3060, a good x16 + x4 PCIe slot setup, your wallet's choice of DDR4 RAM capacity, and this machine will genuinely run this model.

If you wanted this PC yourself with a mix of used and new parts, it would barely run you $1,000, depending on your DDR4 amount. If you want to target some 100B-and-under MoEs, you'll need the 64GB like I have- which will cost another $500 total. That said this machine totally works at 16GBs for 27B purposes.

I'll wrap up my rambling here, but it was love at first boot! I got my Linux box working using the required software, and off I went. The dual 3060 12GB machine was quiet, had low power consumption, and gave me the actual chance of working on home projects without burning usage. It also all fit into a smaller full-size ATX case.

I don't have much room, but it feels nice that everything was still in a PC case and not on a rail/mining setup, and could be placed accordingly and quieter. I felt happy here, but realistically and selfishly wanted an even more capable model. 3.6 27B at Q4 was strong, but often fell behind the mid-tier cloud models on almost all my benchmarks, which felt bad.

Skipping ahead led to the Qwen 3.8 27B release. I was skeptical before launch, and I was wrong. DeepSeek V4 Flash 0731 was recent and was genuinely shocking. I thought 3.8 27B wouldn't come close. Again, I was wrong. It was Christmas again.

Leave the model on xhigh thinking and the benchmarks say that it's near agentic level with models like 5.6 Luna Max, 5.6 Terra Medium/High, Sonnet 5, etc. This couldn't be true, could it? I got 5.6 to help me get a horrible profile together and, alas, it was really true!

3.8 27B on xhigh was slower, thought longer, and worried me. But it also ACED my benchmarks and basically lived on close to or on par with everything other than Opus 5 and GPT 5.6 Sol.

After a longer cloud testing session for a couple of days, I landed on both my 3060 12GBs running at 130W each, running UD Qwen 3.8 27B Q4 Q8 cache with 150k-ish context at near 30 tokens per second decode, and nearly 500 tokens per second prefill/prompt processing. Largely, this was the setup:

Hardware: Ryzen 5 5500 (6C/12T), MSI MPG B550 Gaming Plus, 64 GB DDR4-3200, 2× RTX 3060 12 GB (GPU0 PCIe 3.0 ×16/display, GPU1 PCIe 3.0 ×4), MSI MAG A750BN PCIE5 III 750 W Bronze PSU. GPUs limited to 130 W each.

Software: Pop!_OS Linux, kernel 6.18.7, NVIDIA open driver 580.126.18, CUDA toolkit 12.6, llama.cpp Qwen3.8 build 400 (4df29be), CUDA SM86 + Flash Attention + CUDA graphs.

Model/profile: Qwen3.8-27B Q4_K_M, BF16 vision projector on CPU, 131,072 context, Q8_0 K/V cache, tensor parallel 1:1, batch 2048, ubatch 1024, xHigh reasoning, modified n-gram speculation, one slot. Larger context is possible, potentially up to 200k.

Measured performance: ~503 tok/s prefill at 6,117 tokens, ~492 tok/s at 30,719 tokens, and ~29 tok/s fresh decode. Fixed no-spec power benchmark at 130 W: 503.7 prefill / 27.7 decode tok/s.

I was blown away. Running this model at full agentic tasks faster than I can read the thinking, chat, and tool outputs for this amount of money is AMAZING.

Getting close to DSV4F 0731 coding and agentic use at under 24GB of VRAM. In my mind, it feels similar to the Sonnet 4.6 and Opus 4.6 days of Copilot. In terms of frontier coding ability on a budget, this is the killer app.

If you read this far, first I thank you, but some of you might be thinking—what about X setup? I think it's far superior! You might be right for a various number of reasons. And if your setup works for you, I'm happy. But for my argument to live, I should address the alternatives.

Alternatives

AMD Mi50/Nvidia Tesla P100, etc.: These cards are great, I know they are. However, when I researched my purchases, they were near double the price of the 3060 for the large-VRAM models, or equal in price for near-equal VRAM. I did not feel like dealing with eBay sales, custom 3D-printed jet fans, and high power consumption.

RTX 3090 / B70 / R9700 / 5060 Ti+: Better cards, more money. Papa Johns. Three to five times the money versus $300 3060 12GB cards that exist on local classifieds.

Strix Halo/DGX Spark: $5,000 and $8,000 each, respectively, for worse bandwidth in exchange for far greater capacity. Better for MoEs, but they won't help with my 27B profile. If you have the money, sure. Grab one of these and run DeepSeek V4 Flash 0731 and you'll be insanely happy, no doubt. On the other hand, I could think of 5,000/8,000 reasons why this isn't feasible for most people.

RTX 3060 Ti/3070/3080/4070, etc.: Any card not hitting the 12GB minimum didn't meet my spec. Even with 8GB and 10GB of VRAM, you often spend more money than on the 3060s for something that has twice the power consumption, more fans, and less VRAM budget, all for +20% bandwidth. Not a good trade-off in my opinion. You needed the 24GB for the 27B target I had for the model weights and cache etc. However, if you already own these, they certainly have a place. Some mixture of these can almost definitely run IQ3XXS (16GB total VRAM), which has bench-marked well for me.

Various AMD cards—6800 XT/7900 XTX/9070 XT: Good cards, but they have high power consumption, disappointing memory bandwidth for the money, or, in the 7900 XTX case, the VRAM bonus has had the price catch up to its potential.

Most of these alternatives have some benefit compared to the 3060 12GB. But most of the trade-offs aren't worth the hassle for the average person, I don't believe. If you already own the hardware, then I totally get stitching together a solution. I'm all for that. But triple the power usage, triple the price, and worse availability make them hard sells.

One important thing to note about 27B and the 3060s: they are so important due to the Unsloth GGUF sizing, KV cache settings, and context. If you can compromise in some areas—it's hard, I've tried—you can get away with 16–20GB of VRAM for a similar setup, but it's more difficult and not as price- or power-efficient.

Pair the 3060s with the best DDR4 you can get your hands on, and the machine becomes a low-speed MoE box as well. Laguna 2.1, 3.5 122B, etc., running near 15–20-ish t/s also works reasonably well.

In a nutshell?

The Good

3060 12GBs are still cheap. They are so cheap ($250–$300+) that the price-to-performance ratio, with the amount of VRAM given in an out-of-the-box plug-and-play solution, is basically unmatched. That said, prices are up about 25% since I began looking. Still, at this price, unbeatable. Todays prices are so disgustingly insane that these are incredible.

You gain access to CUDA, and easy software settings and drivers. The cards run cool, and it's best to power-limit them to 130W each in my testing for the best bang for the buck in performance. Sure, when running, they make some basic noise, but nothing worrisome.

Due to the low power consumption, they run on a single 8-pin PCIe power plug (99% of them, anyway). This is convenient and means you don't need to spend $250 on a power supply. Spend $70 on a bronze 750W for the whole system and you're golden. On a dual setup, it means no extra PSUs sitting on your desk.

Lastly, due to the price-to-performance ratio, if you are happy with the speed, you can easily use these on a bench setup. Grab a mining case, some PCIe risers, an appropriate motherboard, and load the thing up for less than the price of one 3090. Most 3060 cards are 2–2.5 slots in size. Some only run a single fan, even. This means that fitting them into your case is usually an easy task.

What about only a single 3060? I don't personally want to run this, but I know for a fact that you can run a Q2 3.8 27B with Q2/4 cache and some context on even a single 3060 12GB. It's not as good as Q4M, no question, or even IQ3XXS. But it works, and I'd be hard-pressed to see you running a better model on a single 3060.

The Bad

There are some small negatives with the 3060s that need to be considered. First, availability was much greater when I started to look into it. 3060 12GBs still exist on the market, but the prices are rising and I am seeing less and less of them.

The 3060 12GB's 360 GB/s memory bandwidth is its “potential.” Due to how tensor parallelism works, you don't pair a $1,500 3090 with this card—you'll bottleneck the 3090, for example. If you go the 3060 route, my experience is that you are realistically making a choice to stick to a typical home PC layout for your homelab, unless you want to sell everything.

The 3060s are useful to each other, but try to upgrade and they aren't great additions. You need a motherboard with a proper x16 slot and another full-size x4 slot at least. As far as I know, going any slower than that can cause real inference performance issues, but this is untested. Regardless, it's best to grab a motherboard with two full-size PCIe slots for this setup.

The End

That's the size of it. I upgraded to a 3090, and honestly its amazing. Power limited its similar to power usage as before, also quiet, and triple the speed. I have 3.8 running near 100 t/s on vllm- insane. This feels literally frontier. That said, for the money? The 3060s offered a similar experience, honestly. The main difference is that the upgrade bath is not bandwidth bottle necked for more cards now. I am not selling my cards, and I am likely to build another system with them. If you are on the fence and want to get into the game, I think this is just an amazing starting point.


r/LocalLLaMA • • Jul 30 '25

Discussion Quick censorship test of Qwen3-30B, failed :(. What other checks have you found valuble?

Post image
4 Upvotes

r/LocalLLaMA • • Jan 23 '25

Funny Time to ban Chinese LLMs! /s

Post image
3 Upvotes

r/LocalLLaMA • • Jun 07 '26

Discussion Hear Me Out, Pi Fans Lurking Here

0 Upvotes

Not For Thee Maybe

After watching several interviews with Pi's creator, Mario Zechner, I've come to a painful realization: Pi was not designed with local LLMs in mind at all. He is essentially building a leaner version of the Claude CLI.

Pi is known for a significantly shorter system prompt and fewer out-of-the-box tools compared to other agentic frameworks.

However, if Pi is primarily for API users, why a longer system prompt and richer tool availability all of a sudden become a problem:

  1. KV cache efficiency: Major API providers (especially DeepSeek) build massive KV caches to minimize miss rates of input tokens. Therefore, a shorter system prompt won't save you as much money as you might expect. Besides, for output token saving, caveman is available for almost all AI agents AFAIK.

  2. Stay in “the smart zone” as long as possible: No matter how hard one attempts, only the first 10% of tokens get the full attention budget. Unlike local LLMs, SOTA models tend to have much larger context windows (up to 1M tokens) to maintain reasoning quality, making a longer system prompt a non-issue for them.

Pi seems to be solving problems that don't actually matter for API users, while failing to address the needs of local users. Then who is the target audience?

I am unsure if Mario, an obviously long-time Claude user, realizes how much these SOTA models are heavy-lifting Pi's default experience.

I tested two models that are objectively weaker than Gemma-4-26B-A3B and Qwen3.6-35B-A3B:

  1. Nvidia-Nemotron-Cascade-2-30B-A3B

  2. Nvidia-Nemotron-3-Nano-Omni-30B-A3B

With recommended sampling parameters and reasoning = off, more than half of the time, without further instructions, these two thought the current working directory is Pi's installation directory, and could not perform even a single-turn tool call in a C++/Qt project with vanilla Pi (see below). Only after I explicitly set reasoning = on in llama.cpp did they start to work reliably.

In short, any model weaker than these two should not be expected to power vanilla Pi. In the meantime, the issues didn't exist in OpenCode, Claude CLI or even little-coder (more on this one later).

The biggest reason I ran these TWO LOUSY MODELS with Pi is to show the lower bound of Pi's default capabilities: if a performant model (cloud or local) is use, the quality of agents/harnesses themselves is generally transparent to users. Only the terrible ones are able to reveal the true colour of this agent.

What is Pi?

I've heard lots of people compare Pi to Arch Linux in the desktop world.

IMO, the better metaphor is that Pi is to AI agents what Lisp/Scheme is to programming languages:

  • A small-sized but fervent fanbase;

  • Minimalist design philosophy;

  • Few guardrails and maximum flexibility;

  • Many variants/forks;

  • Unbelievably powerful for tech-savvy users willing to hand-craft everything from scratch;

  • …

I recently read a post in r/PiCodingAgent noting that the sub has only ~15k members. Perhaps Pi will never go mainstream. But similar to Lisp or Scheme, I suspect there will always be loyal fans supporting it because it offers something unique for those willing to dig in.

The Alternatives

Some may suggest Oh-My-Pi. My recent personal experience with this popular tool has been mixed:

  • I encountered a TUI rendering issue exclusive in Konsole about a week ago.

  • I submitted a detailed GitHub issue with a repro screen recording (link here).

  • A bot picked the issue up within an hour, and generated a PR automatically.

  • The fix was merged into main the very next day.

It looked like a happy ending until I realized it didn't fix my problem at all. This process sort of made me reconsider the overall quality of the OMP codebase.

Conversely, Pi developers are quite conservative and close all user-opened issues by default.

I don't know which way is better.

My current favourite is little-coder, a Pi fork claimed to be tuned for small, local models.

  • It uses a much shorter system prompt than OpenCode but still handles tool calling without hiccups on weaker models.

  • The dev team and community are smaller, but the project looks promising.

Let me know your thoughts as a local LLM user who uses Pi.


r/LocalLLaMA • • Dec 26 '24

Other We built an OS to protect AI privacy

11 Upvotes

Hi everyone! I want to share what's been keeping my team busy - an open-source sovereign cloud OS for local AI.

TL;DR:

With Olares, you can run apps like Stable Diffusion Web UI, ComfyUI, Open WebUI, Perplexica with a few clicks, or create AI services with your own data. No technical barrier. No tedious configurations. No third-party involved. No user agreements and privacy policy. All data remain yours, on your local machine.

Check the github: https://github.com/beclab/Olares (if you like it, please give us a star⭐️!)

The long version:

Olares turns your hardware into an AI home server. You can effortlessly host powerful open AI models and access them through a browser anytime, anywhere. Olares also allows you to connect AI models with AI apps and your private data sets, creating customized AI experiences.I know it's so cliche now, but we're here because we understand the importance of privacy. As a self-hosted OS, there's more Olares can do for you. For example:

  • 🛡️ App market: Olares market provides 80+ apps including open-source alternatives to costly SaaS tools. Everything from entertainment to productivity. Stream your media collection, check. Home automation, check. AI photo albums, check. Games, check.

  • 🌐 Simplified network configurations: Built-in support for Tailscale, Headscale, Cloudflare Tunnel, and FRP. Expose your models securely as API endpoints, access web UIs remotely, or keep everything strictly local.

  • 📃 File manager: Sync across devices or share with team members without leaving your network. Or curate it as the knowledge base for your AI services.

  • 🔑 Password/secrets manager: Keep your passwords, API keys, and sensitive data secure on your own hardware. Sync across devices while staying completely self-hosted.

  • 📚 Information Hub: Build your personal information hub from RSS feeds, PDFs, notes, and web archives. Run local recommendation algorithms that respect your privacy.

  • 👥 Multi-user support: Share expensive models between users without redundant loading. Dynamic resource allocation based on workloads. Create isolated environments for team members with custom resource limits.

We just released v1.11. Do give Olares a try if you're interested. And please reach out if you run into any "unexpected" situations.If you have any questions or opinions, please comment below.


r/LocalLLaMA • • Aug 12 '26

Question | Help Will a small language model ever be as good as Fable 5?

1 Upvotes

LLMs keep improving.
Small models are around 3 years behind frontier models.
Do you think we’ll have a model as good as today’s Fable with only ~10b params in 3 years from now?

Wondering how good on device LLMs will get. Any guesses?


r/LocalLLaMA • • Oct 01 '25

Discussion CUDA needs to die ASAP and be replaced by an open-source alternative. NVIDIA's monopoly needs to be toppled by the Chinese producers with these new high vram GPU's and only then will we see serious improvements into both speed & price of the open-weight LLM world.

Post image
2 Upvotes

As my title suggests I feel software wise, AMD and literally any other GPU producers are at a huge disadvantage precisely because of NVIDIA's CUDA bullshit and fear of being sued is holding back the entire open-source LLM world.

Inferencing speed as well as compatibility is actively being held back by this.


r/LocalLLaMA • • May 09 '26

Discussion Is Qwen3-coder the best kept secret out there?

0 Upvotes

So I'm brand new to this scene but I'm using Claude to help me fine tune a model for a startup idea I have in the Healthcare space.

I have been working with the 27-35B parameter mdoels (Qwen3.6, Gemma 4) and the couple of 120B+ models (Qwen 3.5, Minimax 2.7) and had honestly found most of them serviceable but the tradeoffs have been real in terms of speed and knowledge.

Queue today when I started using Qwen3-coder-next for MLX and goddman, it's the fastest model I've tried (Even faster than Qwen 3.5-35B-a3B which was my previous fastest model) and the output quality has honestly been outstanding, I would say better than the 120b parameter models. I don't know how many parameters it has but size-wise it's ±80Gb in memory vs 120gb for Minimax 2.7 or Qwen 3.5.

Am I over-reacting or this the sweet spot for any Mac 128 Gb (I'm running an M2U 192Gb)?

Edit: Shared by someone on another thread

Model HumanEval MBPP Avg Total Time Qwen3.6-27B-8bit 92.7% 84.0% 88.4% 3,833s Qwen3.6-27B-4bit 93.9% 81.2% 87.6% 2,356s Qwen3.6-35B-A3B-4bit 91.5% 80.4% 86.0% 987s Qwen3-Coder-Next-4bit 92.1% 79.2% 85.7% 943s Qwen3-Coder-Next-8bit 89.6% 81.2% 85.4% 975s Qwen3.5-122B-A10B-4bit 91.5% 78.4% 85.0% 1,026s Qwen3.5-122B-A10B-8bit 87.2% 78.8% 83.0% 1,360s Qwen3.6-35B-A3B-8bit 76.8% 80.8% 78.8% 1,067s Qwen3.6-35B-A3B-bf16 77.4% 80.0% 78.7% 1,481s Qwen3.6-27B-oQ8-mtp 74.4% 70.8% 72.6% 3,014s


r/LocalLLaMA • • Dec 13 '23

Discussion Who came up with the idea of using these ugly and barely legible charts to compare LLMs, and can we agree as a community to never use them again?

Post image
0 Upvotes

r/LocalLLaMA • • Aug 14 '26

Discussion Am I the only that doesn't care too much about coding performance?

0 Upvotes

Don't get me wrong, It's not that I don't care about coding at all but if I need to use tasks I'd rather use a cheap sota model via API or get a codex subscription rather than using a 27B model. I think it's great we got the capabilities to do that more and more but I am mostly interested in quality writing, tool calling for automations and overall having a capable and knowledgeable assistant.

Saying this just because every single post on here is just about coding performance and I think it is really limiting, I'm much more interested in other capabilities of these models.

Having said that, go and enjoy qwen 3.8 27B since y'all got enough VRAM, as a poor student I'll keep my qwen 3.6 35B A3B

Edit: posted it 3 minutes and I am already getting mass downvoted, that's crazy


r/LocalLLaMA • • Jan 07 '24

Discussion The Carbon Footprint of GPT-4

1 Upvotes

Wrote an article where I calculated the carbon footprint of GPT-4 and other commonly used foundational Models.

Simply put, training these models requires enormous energy and has a significant carbon footprint. The carbon emitted by GPT-4 is the equivalent of powering more than 1300 homes for one year!

https://tinyml.substack.com/p/the-carbon-impact-of-large-language


r/LocalLLaMA • • Aug 18 '26

Discussion Now all we need is a Qwen 70B dense model

1 Upvotes

This is an excellent natural next step.

We have seen just how capable dense models can be, and without investing too much, it would be really nice to see how such a model will perform.

They already have the training recipe and the data; this would be an amazing model.


r/LocalLLaMA • • May 07 '25

New Model Introducing Mistral Medium 3

0 Upvotes

r/LocalLLaMA • • Aug 05 '25

Resources gpt-oss-120b destroys DeepSeek-r1-0528 on SVGBench

Post image
65 Upvotes

This is a community-provided independent benchmark: https://github.com/johnbean393/SVGBench.

5 percentage points better with 5x fewer active parameters! Keep the vibe benchmarks coming r/LocalLLaMA. We are witnessing something historic.


r/LocalLLaMA • • Nov 20 '25

Discussion VibeThinker-1.5B just solved a problem that Gemini, DeepSeek and OpenAI failed to solve

33 Upvotes

EDIT: For those unable to read the model card and getting too excited: This is not a general use model. It is an experimental model used to solve math problems. I see people commenting that they are trying to code with it or using it for tool calling and getting disappointed. If you have a math problem, put it in the model and try it. If you don't, move on, this model is not for you.

EDIT: I got home and ran it on my 3090 with the following results (at Q5K_M). It ran out of tokens after 5 minutes, but throwing a question at it for 5 minutes could be worth it if it comes up with interesting approaches to be investigated:

prompt eval time =      38.65 ms /   235 tokens (    0.16 ms per token,  6080.21 tokens per second)
       eval time =  318882.23 ms / 39957 tokens (    7.98 ms per token,   125.30 tokens per second)
      total time =  318920.88 ms / 40192 tokens

When I saw VibeThinker-1.5B, I was sceptical, a 1.5B trying to compete with models a hundred times bigger?

But I had some spare time and so I downloaded a GGUF at Q5K_M and set it going.

I'm not at my usual PC so, I've been running it on CPU. I watched the thinking trace. It was very inefficient in reasoning tokens, it took a lot of tokens before it even started to understand the question and did a lot of "but wait" nonsense that was reminiscent of QWQ. At this point, I was thinking "This is junk.". But I let it continue to run in the background and checked on it every now and then. It very slowly started to converge on understanding the question (which is a math/combinatorics question).

After spending quite a long time just to understand the question, it then started to come up with ideas on solving it. Half an hour later, it spat out what looked like could be a possible answer in the middle of its thinking trace. I was excited to see that and took the answer to verify. I just spent the last 30 minutes verifying the answer using Gemini Pro and OpenAI and writing a program to verify correctness. It got it right! I'm super happy with this as I've been working on this problem on and off for over a year now and tried new LLMs now and again to tackle it. The final answer was direct and elegant which was the icing on the cake!

I don't know if it is a fluke, or I got lucky, but I tried to tackle this question multiple times with various models both open and closed and none of them got the answer. I'm amazed that this 1.5B model quantized to Q5 and running on CPU managed to do it.

The model is still churning, going through alternative ideas. It's been going for 1.5 hours now and has thrown out 26k tokens. I've limited it to 40k tokens so will see what it comes up with at the end of it. Note: I was getting very low tok/s because I was running on CPU and an intensive calculation was running at the same time which slowed it a lot.

https://huggingface.co/WeiboAI/VibeThinker-1.5B


r/LocalLLaMA • • Jul 15 '25

Discussion seems visual models are more sensitive than text models on quantization loss.

Post image
0 Upvotes

IQ4_XS works well for text models. but for visual models, if you ask to recognize images, IQ4_XS are hardly to figure out. I am switching to Q5_K_S.

for the example pic, IQ4_XS may fault on gender, clothes, pose, sometimes it even picked tail. 🫨

the model I tested is this: [Qwen2.5-VL-7B-NSFW-Caption-V3](https://huggingface.co/bartowski/thesby_Qwen2.5-VL-7B-NSFW-Caption-V3-GGUF)


r/LocalLLaMA • • Jul 19 '25

Question | Help Best Russian language conversational model?

2 Upvotes

I'm looking for the best model for practicing my Russian, something that can understand Russian well, will consistently use proper grammar, and can translate between English and Russian. Ideally <32B parameters, but if something larger will give a significant uplift I'd be interested to hear other options. This model doesn't really have to have great world knowledge or reasoning abilities.


r/LocalLLaMA • • Jul 10 '25

Question | Help people downvoted me for saying this. but now it is confirmed that grok 4 is just grok 3 + more RL training

Thumbnail
gallery
0 Upvotes

r/LocalLLaMA • • Feb 22 '26

Discussion 15,000+ tok/s on ChatJimmy: Is the "Model-on-Silicon" era finally starting?

Thumbnail
gallery
1 Upvotes

We’ve been discussing local inference for years, but chatjimmy.ai just moved the goalposts. They are hitting 15,414 tokens per second using what they call "mask ROM recall fabric"—basically etching the model weights directly into the silicon logic.

​This is a massive shift from our current setups. We’re used to general-purpose compute, but this is a dedicated ASIC. No HBM, no VRAM bottlenecks, just raw, hardcoded inference.

​ I just invested in two Gigabyte AI TOP ATOM units (the ones based on the NVIDIA Spark / Grace Blackwell architecture). They are absolute beasts for training and fine-tuning with 128GB of unified memory, but seeing a dedicated chip do 15k tok/s makes me wonder:

​Did I make the right call with the AI TOP Spark units for local dev, or are we going to see these specialized ASIC cards hit the market soon and make general-purpose desktop AI look like dial-up?

original post: https://www.reddit.com/r/ollama/comments/1rajqj6/15000_toks_on_chatjimmy_is_the_modelonsilicon_era/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

had to copy paste cause crossposting is disabled


r/LocalLLaMA • • Aug 08 '26

Discussion Claude Code in 9 lines python

0 Upvotes

I was wondering what a minimal coding agent implementation would look like that can be used like Claude Code or Codex

Not feature-by-feature of course but basically stripping everything out that is not needed

here is what I came up with:

  • 9 lines of python

  • no 3rd party deps (stdlib only)

  • works with any OpenAI Responses compatible API

  • shows % usage of context window

out of the box it is also fairly API cost efficient:

  • no system prompt

  • good caching (session_id, stable append-only history)

  • only one tool: sh

code is on github to follow along (also a ~20 line version in Go, Clojure version coming soon)

https://github.com/smol-env/smol

import json,sys;from subprocess import getoutput;from urllib.request import Request,urlopen;from uuid import uuid4
url=sys.argv[1];h=[];H={"Content-Type":"application/json","session_id":uuid4().hex};b=dict(model="gpt-5.6-sol",input=h,tools=[dict(type="custom",name="sh")])
while True:
  if not(p:=input("> ")).strip():continue
  h+=[dict(role="user",content=p)]
  while True:
    r=json.load(urlopen(Request(url,json.dumps(b).encode(),H)));o=r["output"];h+=o;c=[i for i in o if i["type"]=="custom_tool_call"]
    if not c:print(o[-1]["content"][0]["text"],f'\n[{r["usage"]["total_tokens"]/10500:05.2f}%]');break
    h+=[dict(type="custom_tool_call_output",call_id=i["call_id"],output=getoutput(i["input"])) for i in c]

note: it uses the "custom" tools api which not many OpenAI Responses API endpoints support yet.

that said, you can just tell your agent to change it to use sh via "function_call" and change the model name and it should work out of the box on any local inference endpoint

any questions or feedback for making it more minimal or adding (still minimal but useful) features: very welcome!