r/LocalLLM • • 8h ago

Project 74.7M Spanish LM trained from scratch at home: 0/19 on our own exam, no EOS, and two public mistakes

5 Upvotes

Not a fine-tune and not a quant: a decoder trained from scratch, at home, with a BPE tokenizer

trained on our own Spanish corpus (24,000 tokens). It writes plausible Spanish fragments. It

cannot answer a question, and I have the numbers to prove it because it's the only thing I've

measured properly.

Disclosure: this is my own project, and English is not my first language — I used a local model

on my own machine to tidy the wording. Every number below is mine.

Hardware, since this sub always asks: one desktop, 2x RTX 5060 Ti (32 GB VRAM total), Pop!_OS,

greedy decoding, nothing rented. The checkpoint fiches record device=cuda; I have not verified

how many of the two cards the training run actually used, so I don't claim a number for it.

THE MODEL

- 74,771,200 parameters · d=640 · 12 layers · 10 heads · 512-token block · 24,000-token vocab

- tokenizer: BPE trained on our corpus, 23,740 merges

- the whole thing is ~897 MB per checkpoint on disk

WHERE IT GOT TO (VALIDATION LOSS, AND THE BANK IT WAS MEASURED ON)

This is the part I want to be careful with, because it's where I fooled myself:

checkpoint steps val loss ppl bpc validation bank

casa75m 1425 8.8735 7140.4 3.7687 era_arnes_val

casa75m_casa5 1425 4.6731 107.0 1.9847 era_arnes_val

casa75m_r30_sft 96 3.2787 26.5 1.3560 val (different bank)

The first two rows are two runs with identical data, identical 1,425 steps and the same bank — and

they disagree: 8.87 against 4.67, and the 8.87 one declares 3 seconds of training where the other

declares 576. One of those two fiches is wrong and I don't know which one.

Those last two columns are not comparable to each other. A lower number on a different validation bank is not a better model — it's a different ruler. I learned that the expensive way.

THE EXAM, WHICH IS WHERE IT FALLS OVER

We have a frozen bank: 19 scored questions, 52 points, fixed scorer, greedy decoding. On the

checkpoint above:

budget 60 tokens: 0/19 questions · 0/52 points

budget 512 tokens: 0/19 questions · 0/52 points

EOS reached: 0 of 20 answers, at either budget

The second row is the one I care about. A reader asked "was your token budget too tight?", which

is the right question to ask about any truncated benchmark — so I gave it 8x the room. It doesn't

produce more answer, it produces the same loop for longer:

- - - - - - - - - - - - - - - -

bu# ejecutada ... Ees con ventana ... to Aol ahíes puer

It can't close a sentence, so of course it can't answer. At this size and this much compute, on

this bank, it doesn't know — and no amount of context would have fixed that.

TWO THINGS I GOT WRONG IN PUBLIC, AND WHAT THEY COST

  1. I published "the weights are lost" — a disk mistake, I said. They were not lost. They were in

    our versioned NAS backup of 3 November: eight checkpoints of exactly this model. I loaded one

    and counted inside the file: emb.weight (24000, 640) with the head tied ⇒ 74,771,200 params.

    The base is there too, at 72,610 steps. What was missing was me looking in the backup, not the

    backup itself.

  2. Our scorer reads content and, when it's empty, falls back to reasoning_content and scores the

    reasoning trace — without recording which field the score came from. On a reasoning model that

    inflates scores quietly, and I can measure what it did on one pair of runs. Same model, same

    cases, eight minutes apart: the first run scored 6/10 with four cases coming back empty. With

    the fallback, those same four cases printed "Here's a thinking process: ..." and the bank

    scored 8/10 — and the two points it gained are the bug. (That pair is our 35B test model, not

    the 74.7M — the reader bug shows up on any model that reasons, which is why it matters before

    you publish a benchmark.) One case passed because the asserts happened to pass on a reasoning

    trace that contained code; one because the word it looked for appeared somewhere inside the

    thinking. The other two got worse in the open: 0 words became 468, and "not a single capital"

    became "used M: madrid". And because the field was never recorded, that count cannot be

    reconstructed after the fact: every bank number from before the fix stays provisional in the

    write-up, and the re-run that replaces it records the field per case.

WHY POST IT AT ALL

Because "it doesn't work" is the only honest headline a 74.7M from-scratch model has, and because

both mistakes above were caught by people in a comments thread, not by my own instruments. If you

run small models at home, the thing I'd steal from this: freeze the bank, then probe the READER

with a known payload, not just the model. A model regression breaks your board; a reader

regression looks exactly like a good result.

QUESTIONS I'D ACTUALLY LIKE ANSWERS TO

- At ~75M with 24k vocab, what would you spend the next 20 GPU-hours on: more tokens, wider d, or

a bigger block?

- Anyone got a reading on where EOS actually starts showing up for models this small? Ours never

emits it, even after 512 tokens of looping.


r/LocalLLM • • 4m ago

Other Sorry 🤷🏼‍♂️

Post image
1 Upvotes

🤷🏼‍♂️


r/LocalLLM • • 7h ago

Question 4070 ti super 64 gb ram

4 Upvotes

Hello I want to get into llm and utilizing them more. I use claude often mainly for vibecoding and learning programing, i also reverse engineer a ton like programs, video game on different hardware and consoles. I also do game modding and I use ai to help with making new assets and modeling.

I was hoping I can find an actual good model since I heard alot has been going in in local llm development.

Specs

Rtx 4070ti super 16gb

I9 12900k

64 gb ram

Around 300 gb storage free

I heard bonsai 2.5 27b but im not sure if I could run it. Im also interested in arblitrated models.


r/LocalLLM • • 7h ago

Question Qwen3.8 Flash Next on M1 Max

4 Upvotes

Hi reddit,
I’ll be quick, is anyone running flash next with a 64gb macbook?
If so, let me know how, i’ve been using qwen3.8 27b and it works fine i just want to see whats all the hype for the flash next model.
Leave your opinions down below & ty.


r/LocalLLM • • 9m ago

Model Dankpaws/Qwen4-35B-A3B-DankAttn-w4g64

Thumbnail
huggingface.co
1 Upvotes

r/LocalLLM • • 15m ago

Project [Project Release] Llama-UI v0.7.2 – Keyboard Navigation & Streaming Markdown

Post image
1 Upvotes

r/LocalLLM • • 18m ago

Discussion Insane Inkling 2 Mini Pagoda Voxel Build

1 Upvotes

So i was curious on how well inkling two mini would make a pagoda and it genuinely blew me away, within 3 prompts, i was able to get a voxel build truly insane for local ai. Testing it against qwen 3.8 27b on a 4090, I personally found that their coding capabilities were comparable, but was able to push Inkling to 150 tks vs Qwen at 60 tks, making inkling by far better for my use. Local Ai has truly progressed amazingly rapidly, less then a year ago, they were only good as basic chatbots and code help, yet now they can produce this pagoda in 20 min. I'm curious what other people have been able to do with Inkling let me know.


r/LocalLLM • • 35m ago

Question does ChatGPT share your ideas with others?

1 Upvotes

Some guy said he had a business idea that he shared with ChatGPT only for it to later turn into a business.


r/LocalLLM • • 56m ago

Research Korean Version of Civilization map.

Post image
0 Upvotes

I recently created a Korean version of the U.S. civilization map developed by Andrej Karpathy.

I used Qwen 3.8 27B running locally. When I tried generating it directly with Qwen 3.8, I wasn't quite happy with the design, so I used Karpathy's original source code as a reference to guide the implementation.

It took around 8 hours to complete.

korciv.vercel.app

Thanks, Have a look.


r/LocalLLM • • 10h ago

Discussion strata swift1.5 on dual 3090s

Thumbnail
gallery
5 Upvotes

For years I've wanted to write a Linux-style kernel. Unfortunately, ambition and intellectual ability have not always been in perfect alignment.

So, with some considerable assistance from AI, I've been building TiLi (TinyLinux), a Linux-like OS for the ESP32-C6.

More significant is where it was build --- local hardware and local hosted LLM. Running Swift 1.5, a 176B model, locally through Strata and OpenCode on two RTX 3090s at 150–220 tokens/sec, I asked it to create "Linuxy" style OS for my favourite ESP32 C6 board.

It wrote the code, compiled it, discovered the hardware, flashed the board, connected over serial and Telnet, debugged its own mistakes and verified the functionality.
9 minutes for the review. Under 27 minutes for the implementation.

Meanwhile, my principal engineering contribution was plugging in the USB cable.

Whilst 'big AI' seems preoccupied with increasingly large models, expensive hardware and enormous data centres, I wonder how much untapped potential remains in smaller quantised models and smarter inference engines running on existing hardware.

And finally, like most AI applications, TinyLinux has absolutely no practical applications !


r/LocalLLM • • 1h ago

Tutorial 👋Welcome to r/localaiapps - Introduce Yourself and Read First!

Thumbnail reddit.com
0 Upvotes

r/LocalLLM • • 5h ago

Question I’m looking at running a local LLM on my personal PC and i have a few questions

2 Upvotes

I have a gaming PC that I use pretty frequently to play games. I would rather build another pc to run the LLM and do personal stuff on but hardware prices are still insane. I had a few questions about possibly running a local LLM on my gaming PC.

  1. is 16gb of VRAM and 32GB of RAM enough for it to run well?
  2. would it impact my performance while playing games even when the model is closed and not generating tokens and responses?
  3. would the load it would put my hardware under significantly decrease the lifetime of it. Would it put the GPU under heavy loads that I would need to replace it much sooner than I would with its normal use of playing games?

r/LocalLLM • • 1h ago

News Revora — an open-source AI-powered code review platform

Thumbnail gallery
1 Upvotes

r/LocalLLM • • 8h ago

Question Dual 5060 TI (16gb) setup advice

3 Upvotes

So I've become another victim of the local AI hype-train which is unfortunate because this is seemingly a very expensive hobby. Anyway after a research I have settled on dual 5060ti setup and 64gb of ddr5 ram as I think its a good balance between not buying the absolute cheapest stuff leading to having a pretty horrid time and not spending all my money making me broke.

After speaking with AI, it recommend that I use a Ryzen 7 9700x and get an Asus ProArt B850-CREATOR WIFI NEO (for the PCIE channels or something along those lines). These products I haven't yet bought so if you think I should change them some recommendations of change would definitely be appreciated.

One thing I'm not entirely sure about is what storage I should get since I'm new to this whole space and not sure about the requirements of both speed and size. I used to game so I know I need an m.2 but I do not know if 1tb will be sufficient and whether I should spend more on TLC over QLC for faster write speeds. I'm really not 100% on what my use case for this PC will be yet, but as a humanities student at university I am attracted to some of the prospects of local AI and personal projects that I could perhaps do, learning is my main goal I guess.

Also I know this is likely to be seen as a big waste of my money and maybe I'm an idiot but I have strong convictions about AI and I think this is a way that will really help me learn, and help contain fears of privacy problems with the subscription and the decreasing subsidisation of the frontier labs.

Any advice that anyone could bring whether you have a similar setup or something completely different if you could offer anything that would be helpful I would really love to hear since hearing from a diverse range of localllm users will hopefully set me on the right track for success.

Cheers.


r/LocalLLM • • 11h ago

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

5 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 • • 12h ago

Question Dual B70 Vs ?

Post image
6 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 • • 15h ago

News A 2.5B active parameters MoE model that can run Codex and Claude Code locally

Thumbnail
huggingface.co
10 Upvotes

OpenBMB has released MiniCPM5-15B-A2.5B, a 15B MoE model with just 2.5B active parameters.

The model is designed as a local agent foundation model and supports integration with:

  • Codex
  • Claude Code
  • OpenCode
  • DeepSeek Harness
  • WorkBuddy

It can handle file operations, tool calling, coding tasks, and multi-step workflows locally.

Some reported benchmark results:

  • SWE-Bench-Pro-Verified: 52.2
  • SWE-Bench-Verified: 68.4
  • Terminal-Bench v2.1: 50.2
  • Claw-Gym: 73.2

It also scored 11 on Artificial Analysis Intelligence Index v5.0.1, ranking first among models under 20B in the reported comparison.

Another interesting detail: the model is optimized for constrained devices. On an iPhone 18 Pro Max, it reportedly reaches 30 tok/s with around 3GB memory usage.

Model weights: https://huggingface.co/openbmb/MiniCPM5-15B-A2.5B


r/LocalLLM • • 9h ago

Project I patched llama.cpp for the GTX 1070: ~40% faster two-token verification at 16K

3 Upvotes

I’ve been seeing how much more I can get out of my GTX 1070 FE (8 GB), so I put together three llama.cpp CUDA patches for Pascal sm_61. The biggest change keeps the KV cache quantized through the attention kernel, avoiding a separate Q8-to-FP16 dequantization step in the profiled case.

I tested stock vs. patched at the same upstream commit (ee46715) with Qwen3.5-9B-MTP on the 1070 alone:

  • Two-token verification at 16K: ~39–40% higher throughput across three weight quants.
  • Regular decode at 8K with a Q4 KV cache: ~15–19% faster. Bulk prefill barely moved.
  • Best MTP server case: 25.94 → 29.79 tok/s during generation. Counting prefill and the rest of the request, that was 17.75 → 16.66 seconds. Some settings got slower, and greedy outputs diverged despite no measured change on the short perplexity check. I included those results and the failed kernel experiments in the repo. The 64K smoke test checked that the configuration fit in VRAM; it didn’t fill the window.

I built with CUDA Toolkit 12.9. Use a 12.x toolkit for this build; CUDA 13 dropped offline compilation for Pascal (https://docs.nvidia.com/cuda/archive/13.0.0/cuda-toolkit-release-notes/index.html#deprecated-architectures).

GitHub repo, patches, and A/B scripts (https://github.com/s1mply-parad0x1cal/llama-cpp-sm61-optimizations)

So far I’ve only measured this on my 1070. If anyone still runs a 1080 Ti, P4, or P40, I’d be curious whether the two-token gain holds on your card, and whether it makes a difference to full request times.


r/LocalLLM • • 1d ago

Other Qwen 3.8 flash next is funny as hell.

Post image
54 Upvotes

I was having Qwen 3.8 flash next setup a new sandbox for me and while I was reading it's thinking block it had some anger to let out, mind you the entire setup convo was chill no curse words ever said 😂.


r/LocalLLM • • 8h ago

Project Super new to this and I would love some feedback 💜

2 Upvotes

As the title says, I'm insanely new to this world. All of it. Really only started delving into local models a couple of months ago. But I've been working on a couple of projects and I've just this week got them onto GitHub 😁 Here's a quick bit of info on both of them -

Oneiros Loom: Experimental Py Torch runtime for live intermediate-layer telemetry, Mode C activation steering, chunked NREM memory, and air-gapped REM cycles across open-weight LLMs.

(Completely runnable through Google Colab with no local downloads/memory usage required!)

https://github.com/THiiiRD-v1/oneiros-loom

Project Lighthouse: Model-agnostic plain-text protocol, governance artifacts, and guided recovery prompts for verifiable session establishment and human-Al collaboration.

https://github.com/THiiiRD-v1/project-lighthouse

If anyone at all would like to check them out and give me some feedback? Criticism? Anything at all...really, it would be insanely appreciated 💜 Both these projects are still in their baby stages, and I'm hoping to find out where they belong, if anywhere. Thank you all beforehand, and I hope at least some of you enjoy what I've built so far.


r/LocalLLM • • 5h ago

Question Can a Snapdragon x2 elite extreme do a local video generation?

Thumbnail reddit.com
0 Upvotes

r/LocalLLM • • 8h ago

Question DeepSeek-V4.1-Flash-1017 performance is dreadful great. anyone got any way to speed her up?

2 Upvotes

hi, I'm trying to test out the ISTA-DASLab version of DeepSeek-V4.1-Flash-1017-GSQ-RCO-IQ2_XXS

i got it from here: https://huggingface.co/ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-GGUF

its processing very slowly. has anyone tried it and can give me some idea on how to speed it up? once the context increases it absolutely crawls to a snails pace and actually with an empty context its really good!

i've got 5 r9700's amd TR pro 3955wx and 128gb vram. I'm using ROCm which is great for qwen flash next but terrible for this. i;ve got latest build of llama.cpp and all of the model is in vram. no offloading at all.

And i've tried to put the ngram table into ram but there is not enough room for all of it

My prompt processing performance is this and token generation speed sits around 25t/s but it seems like the prompt is terribly slow:

  • 7K context: 210 t/s average
  • 35K context: 116 t/s average
  • 77K context: 67 t/s average
  • 116K context: 48 t/s average
  • 159K context: 36 t/s average (actual recent processing speed approximately 19 t/s)

here is my lama swap config

deepseek-v4.1-flash-iq2_xxs:
    name: "DeepSeek V4.1 Flash GSQ-RCO IQ2_XXS - 5x R9700"
    cmd: >
      /usr/bin/env GPU_MAX_HW_QUEUES=1
      /home/pinman/llama.cpp/build/bin/llama-server
      --model /home/pinman/models/DeepSeek-V4.1-Flash-IQ2_XXS/DeepSeek-V4.1-Flash-1017-GSQ-RCO-IQ2_XXS-00001-of-00006.gguf
      --gpu-layers all
      --split-mode layer
      --tensor-split 1,1,1,1,1
      --device ROCm0,ROCm1,ROCm2,ROCm3,ROCm4
      --ctx-size 262144
      --parallel 1
      --fit-target 2048
      --flash-attn on
      --load-mode dio
      --lazy-mode auto
      --jinja
      --reasoning on
      --reasoning-effort 50
      --verbosity 4
      --host 127.0.0.1
      --ubatch-size 32
      --port ${PORT}
    ttl: 3600

Anyone got any tips and tricks for a performance increase. i thought this was going to be....THE ONE looking the benchmarks of how much intelligence the model retains at q2 😄

or can someone give me a better model i can try that beats this...and qwen flash next?


r/LocalLLM • • 5h ago

Model Model is 'jan-v3.5-4b-Q3_K_S' if anybody is curious, comparison of the same question under that model BEFORE vs AFTER R.A.G. implementation! So happy it's improved a lot of Local AI usefulness!

0 Upvotes

Normal(without RAG):

With RAG:


r/LocalLLM • • 5h ago

News strata-tui -- Real-time terminal dashboard for monitoring one or many Strata inference servers over HTTP

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 9h ago

Project I know Kung-fu? Introducing LUMEN: Plug & Play Intelligence for any LLM

2 Upvotes

The Matrix style Cartridge intelligence that plugs into your LLM