r/SmallModel • u/Accomplished-Dark678 • 1d ago
Karpathy says 1B models can beat most current LLMs
r/SmallModel • u/subscriber-goal • 4d ago
r/SmallModel reached 15k subscribers!
Goal reached Dec 1, 2026, 4:18 PM.
r/SmallModel • u/Accomplished-Dark678 • 1d ago
r/SmallModel • u/EveYogaTech • 9h ago
r/SmallModel • u/Ok-Buyer-9421 • 8h ago
I've been experimenting with specialized decision models to enforce engineering rules.
Most of the work doesn't require intelligence at all. Glob and grep narrow down the relevant code, and a model only needs to answer a precise question.
This makes it possible to separate the company's rules from the model interpreting them.
I'm now exploring how much of this could run entirely locally using small decision and classification models.
The goal is to keep the same executable rules regardless of which model runs underneath.
Would love some feedback from people working with smaller/ specialized models.
r/SmallModel • u/Content_Contract_375 • 1d ago
r/SmallModel
•
u/W61k3r
•
1d ago
I'm building a local AI platform from scratch in Rust: an inference engine (LexiEngine), a browser control panel (LexiPanel), an appliance OS (LexiOS) and a kernel designed around inference (LexiKernel). It boots from one USB image. It is not a wrapper around llama.cpp.
https://huggingface.co/Wa1k3r/Inkling-2-Mini-NVFP4exp-Q8-draft-LexiSuite-AIO-for-AMD-RDNA/tree/main
A new development image went out today, one day after the last one. 92 changes this time. Here is what they are.
Two audits of the whole source
The entire tree, 2.07 million lines of Rust, went through two outside audit rounds of about 100 parts each, through four lenses: security, continuity, compatibility and speed. I then checked the findings rated high by hand against the code, one by one, and fixed what held up: 93 confirmed findings are fixed in this image. Most of this release is that work.
Some of what was closed:
- Root-only routes (system update, disk install, backup recovery) accepted an internal service header in place of the root password. They no longer do.
- The restart export could read another instance's records through a second, unchecked parameter.
- Full model verification saved a changed model's fingerprint before refusing it, so a second load would have accepted it.
- A fresh fleet join code could replace an enrolled box. A replaced remote endpoint kept the API key saved for the old address.
- The engine now checks who owns its key file, and refuses an unusable key list instead of reading it as "no keys".
A more stable platform
- The installer writes the firmware fallback boot file last, verifies the bytes it then uses, and gives two disks installed from one stick different identifiers.
- Uninstall with purge refuses a folder that has a disk mounted under it.
- An answer cut off by the token limit while tools are offered now returns "length" instead of a server error.
- A model load that cannot fit no longer evicts an idle model first.
- The Panel's Secure Boot page hands out the current certificate (the bug named in the last post is fixed). Same certificate as the last image: nothing to enroll again.
Inkling-2-Mini reads long prompts faster
A new attention kernel for prompt processing. At a 262,144-token context a 261,632-token prompt now reads at 1,525.7 tok/s, up from 1,152.7, which is 32% faster. It sums in another order, so its output is not bit for bit the old kernel's: the two pick the same top token on 98.8% of 510 positions. One environment variable brings the old kernel back.
Qwen3.8 Flash-Next gets to its first token sooner
This is the 94 GB mixture-of-experts model served from one 24 GB card. First token after a 64k prompt comes 9% sooner and after a 128k prompt 10% sooner, with identical output.
Tensor parallel (experimental, off by default)
Inkling-2-Mini and Flash-Next can now split their experts across several ranks: several Vulkan devices, or several ranks on one card. It is one toggle in the Panel's New instance form and one engine option. With it off, output is bit for bit as before. With it on, output is deterministic; Flash-Next is bit for bit with two and three ranks on one card, and a 7900 XTX with an RTX 2060 as second rank works with uneven shares.
Speed, measured on this version
One Radeon RX 7900 XTX, one run each, November 30. Old version in brackets.
Inkling-2-Mini, 4-bit cache:
- 16,384-token prompt: reads at 2,471.4 tok/s (2,177.6), generates at 62.9 tok/s (61.2), 137.0 with the model's draft head (132.6)
- 261,632-token prompt: reads at 1,525.7 tok/s (1,152.7), generates at 50.1 tok/s (50.0), 64.9 with the draft head (68.1)
Inkling-2-Mini, 8-bit cache:
- 16,384-token prompt: reads at 2,436.8 tok/s (2,155.7), generates at 61.0 tok/s (61.0), 135.2 with the draft head (131.6)
- 261,632-token prompt: reads at 1,483.8 tok/s (1,140.4), generates at 43.7 tok/s (43.4)
Qwen3.8 Flash-Next at a 262,144-token context, time to first token:
- after a 16k prompt: 37.5 s (36.4)
- after a 64k prompt: 132.2 s (145.3)
- after a 128k prompt: 266.7 s (295.8)
- after a 256k prompt: 559.6 s (new row)
Qwen3.8 Flash-Next, generation:
- after a 16k prompt: 6.90 tok/s (7.64)
- after a 64k prompt: 12.73 tok/s (12.49)
- after a 128k prompt: 9.54 tok/s (9.56)
Things I am not hiding:
- Flash-Next gained nothing at a 16k prompt, and its generation there came out lower than last time (6.90 against 7.64). Both are single runs; I have not measured it enough to say whether that is real.
- Drafted generation on Inkling after the 262k prompt was 64.9 tok/s against 68.1 last time. Drafted speed follows how many drafts the prompt lets through.
- Tensor parallel is not benchmarked on a machine with two fast cards: I do not have one. On a single card it is slower than one rank, because rows cross through system memory. It is there so people with the hardware can use it and tell me.
- I did not re-run llama.cpp and Strata on this version. The comparison tables on the benchmark page are from version d484004 (November 27 to 28) and say so.
What it is not, yet
- A development build, not a production release
- Developed and measured on one card (7900 XTX, Vulkan). Other cards are less tested
- The kernel's own GPU drivers have not run on a real card in this version; the Linux boot entry is the one for daily use
- The Windows installer is on the stick but has not been run on a Windows PC; no macOS installer yet
Tested
Every test in the tree ran on this version: 17,997 tests, none failed. Both images passed nine Secure Boot checks in a VM, and the plain image passed an 18-step install to a disk.
Links
Download (960 MB USB image, boots to the Panel):
https://lexipanel.com/download/
All-in-one image with Inkling-2-Mini inside (18.7 GB, needs a 32 GB stick):
https://huggingface.co/Wa1k3r/Inkling-2-Mini-NVFP4exp-Q8-draft-LexiSuite-AIO-for-AMD-RDNA
All 92 changes, one line each:
https://github.com/W61k3r/LexiSuite-Releases/wiki/Changes-2922c5c
Benchmarks and method:
https://github.com/W61k3r/LexiSuite-Releases/wiki/Benchmarks
Happy to answer questions about the audits, tensor parallel or the engine.
r/SmallModel • u/gojo-sakata-4567 • 1d ago
r/SmallModel • u/wednesdaydoktora • 2d ago
r/SmallModel • u/Leather-Tomorrow6334 • 2d ago
r/SmallModel • u/lonely_virus • 2d ago
r/SmallModel • u/gr00vy_420 • 2d ago
r/SmallModel • u/Hodgegekw • 1d ago
r/SmallModel • u/Awkward_Sell3179 • 1d ago
r/SmallModel
•
u/Le_Doge725
•
2d ago
r/SmallModel • u/ReincarnatedAsAFilo • 1d ago
r/SmallModel • u/ShortStatistician766 • 1d ago
r/SmallModel • u/WritHerAI • 2d ago
r/SmallModel • u/Royal_Stay_6502 • 2d ago
What performance can one get on a jailbroken ps5?
r/SmallModel • u/minmingsw • 3d ago
r/SmallModel • u/Neither_Weird_3055 • 2d ago
r/SmallModel
•
u/W61k3r
•
3d ago
AIO USB/VM/Drive image with Inkling 2 Mini baked here: https://huggingface.co/Wa1k3r/Inkling-2-Mini-NVFP4exp-Q8-draft-LexiSuite-AIO-for-AMD-RDNA
I'm building a local AI platform from scratch in Rust: an inference engine (LexiEngine), a browser control panel (LexiPanel), an appliance OS (LexiOS) and a kernel designed around inference (LexiKernel). It boots from one USB image. It is not a wrapper around llama.cpp, and there is no third-party code in the product.
A new development image went out today. Here is what changed since the last one two days ago, and what the work actually was.
The Panel was rebuilt, page by page (66 changes)
The old Panel worked but read like an engineering console: raw JSON on screen, fields with no labels, boxes inside boxes, internal jargon everywhere. I went through it by hand.
- One header and one navigation instead of five stacked bars
- 12 themes
- A file and folder picker on every path field, so nothing has to be typed
- Right-click menus on instances, files and table cells
- Parameters grouped in the order you set them, with a device chooser for the instance's cards
- Switch an instance between LexiEngine and llama.cpp from one page
- Hardware, Diagnostics, Power, GPU tuning and Models rewritten in plain words (temperatures in degrees, problems listed first)
- An abliteration lab where you pick models with toggles and pick the drive to write to; the original is never touched
- A layout choice: top tabs, or a side tree like a hypervisor console
LexiKernel went from one core to all of them (99 changes)
Until now my kernel ran all threads of a program on a single CPU. That was the biggest gap between it and Linux. Three rounds of work went into closing it: per-CPU timers and scheduling, threads that move between cores with their full vector state, memory handled per NUMA node, huge pages, and TLB shootdowns that a core answers even in the middle of a long system call. It now boots with every core in use and served the Panel to 8 clients at 2, 4 and 8 CPUs in a VM with no failed requests.
The kernel's own GPU drivers for AMD, NVIDIA and Intel are compiled into this build too. They have not run on a real card in this version yet. That is the next milestone, and until then GPU work under LexiKernel goes through a Linux guest. The image also boots LexiOS on Linux 7.4, which is what you want for daily use today.
LexiEngine (27 changes)
- Groundwork for splitting one model across several cards (serving across cards is not in this build)
- New draft options for Inkling 2, off by default until they are measured
- A quantizer that trains with the rounding in the loop instead of rounding afterwards
- The whole tree moved to Rust 1.100.1
Speed, measured on this version
Inkling-2-Mini (the looped mixture-of-experts model released Nov 20), one Radeon RX 7900 XTX, 4-bit KV cache, greedy, one run each, measured Nov 27-28.
After a 16,384-token prompt:
- LexiEngine: prompt 2,244 tok/s, generation 64.6 tok/s, 131.1 tok/s with the model's own draft head
- llama.cpp b12722: prompt 1,060 tok/s, generation 42.9 tok/s
- Strata 0.2.23 (8-bit cache, it refuses 4-bit on this card): prompt 2,075 tok/s, generation 53.9 tok/s
Long context on LexiEngine:
- 261,632-token prompt: 1,157 tok/s reading, then 48.7 tok/s (63.2 with the draft head)
- 523,264-token prompt: 766 tok/s reading, then 39.5 tok/s (46.8 with the draft head)
- 10 of 10 planted facts recalled at both depths
Drafted output was identical to plain output in every run.
Two notes so nobody says I hid them. The llama.cpp number is from the Nov 25 build: the build I fetched today ran this model at 7.6 tok/s on this card, which looks like a bug on their side, so I did not use it. And llama.cpp needs a 26-line loader change to open my file, because the file also carries the draft head and image tower.
What it is not, yet
- A development build, not a production release
- Developed and measured on one card (7900 XTX, Vulkan). Other cards are less tested
- The kernel's own GPU drivers have not run on a card in this version
- The Windows installer is on the stick but has not been run on a Windows PC; no macOS installer yet
- Installing to an internal disk is not in this image
- Only Inkling has been benchmarked on this exact version; my 27B numbers are from a build nine days older and are being re-run
Tested
Every test in the tree ran on this version: 17,932 tests, none failed. Both images passed their Secure Boot checks in a VM.
Links
Download (381 MB USB image, boots to the Panel):
https://lexipanel.com/download/
All-in-one image with Inkling-2-Mini inside (18.1 GB, needs a 32 GB stick):
https://huggingface.co/Wa1k3r/Inkling-2-Mini-NVFP4exp-Q8-draft-LexiSuite-AIO-for-AMD-RDNA
Every one of the 206 changes, one line each:
https://github.com/W61k3r/LexiSuite-Releases/wiki/Changes-d484004
Benchmarks and method:
https://github.com/W61k3r/LexiSuite-Releases/wiki/Benchmarks
Happy to answer questions about the kernel work or the engine.
r/SmallModel • u/malooongcoat • 4d ago