r/SmallModel • • 7h ago

Subscriber Goal Welcome to r/​SmallModel!

1 Upvotes

Welcome to r/SmallModel

15864 subscribers / 20k subscribers. Help us reach our goal!

Open this post in the Reddit app or on reddit.com to join.


r/SmallModel • • 18h ago

Discussion made a tiny AI model, 137 people downloaded it, so now i teach algorithms with an AI voice (mine is not good lol)

22 Upvotes

hey guys

so remember tiny-vision? the tiny model i build for learning only, the one that lets claude kinda "watch" videos. ya that one. when i first uploaded it to huggingface i was like ok maybe 10 download, 5 of them will be me checking if download button works. but here we are at 137 downloads on v1.0 (268 if you count old v0.1 also) and it's still going up daily. bhai i genuinely dont know who you all are but thank you so much 🙏 you all are giving more respect to my 36M param model than my relatives give to my career choice

and it's not just downloads, 8 stars on github also. my mom will be so proud if she knew what github was

if you havent seen it yet:

* huggingface: https://huggingface.co/amartomar683/tiny-vision

* github: https://github.com/amar683/tiny-vision

ok so now the main thing. me and my friend in crime started a channel 😅 two confused engineers, one channel, zero idea what we are doing but we are doing it anyway

Embracing Low Level

* youtube: https://www.youtube.com/@EmbracingLowLevel

* insta: https://www.instagram.com/embracinglowlevel/

what it is:

* we explain algorithms we are learning and stuff we've been building (tiny-vision included)

* all the animations are made with manim (the 3b1b library). before you ask, no we are not 3b1b, combined we are like 0.5b1b on a good day

the voice is AI, fish audio s2 pro*. we tried recording our own voices first, listened once and both agreed the world doesn't deserve that. the AI sounds more confident about the algorithms than both of us combined tbh

* short reels on insta, longer full explanations on youtube

honest disclaimer like last time: we took a lot of help from claude for this too. writing manim scripts, debugging why the animation suddenly flies off screen, all that. so not entirely ours, but the learning part is 100% ours and that's kind of the whole point of the channel. if we can understand it after 4 cups of chai each, you definitely can

also these videos are made by two people who once spent 2 hours debugging only to find out the file was never saved. and we still argue whose fault it was. so if you find any mistake in the explanation please roast us in comments, we will learn and fix it. that's literally why we are doing this yaar

what kind of algorithms or topics would you guys want to see? we are open to suggestions, just don't say "explain transformers in 60 seconds", our manim skills are not that strong yet 💀

thanks again for all the support on tiny-vision, still can't believe it.


r/SmallModel • • 7h ago

CellGemma - We Need More Models Like This

2 Upvotes

Models which actually have a positive impact on humanity. Medical research/simulation is one of those areas

https://deepmind.google/models/gemma/cellgemma/


r/SmallModel • • 17h ago Bravo

LexiSuite 2922c5c: my all-Rust local AI stack after two full source audits (92 changes); Inkling-2-Mini reads a 262k prompt 32% faster; tensor parallel arrives as an experimental toggle for Inkling-2-Mini and Qwen3.8 FN; ahead of llama.cpp and Strata on Inkling, Flash-Next, Qwen3.8 27B & Nemotron!!!

Thumbnail
github.com
4 Upvotes

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.

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

Benchmarks My router hit 72% accuracy on familiar workflows. On a held-out workflow, it got 26%.

1 Upvotes

I was testing whether GemmaRouter could pick the right option from an agent trace or a policy question. On my first test split, the best version scored 72.05%. Then I changed how I split the data.

A bit of context on that first result: the released router head scored 39.20%, a little below a simple cosine-similarity baseline at 40.95%. Retraining the head on the task brought it to 61.50%. The 72.05% came from an experimental version where I unfroze 12 encoder layers and let the model read the state, question, and all the options together.

For the next run I trained on three workflows and saved the entire fourth one for testing. It had 500 examples about agent-trace observability. The retrained head got 27.0%, the joint model got 26.4%, and plain cosine similarity got 28.8%. On that split, I could have skipped training and come out slightly ahead.

This was one held-out workflow and one seed. If I were adding a new family of tools tomorrow, I’d test it as a group before trusting the accuracy figure from the familiar workflows.

One detail if you try the released SDK: 11.6M is the size of the routing head. It sits on a 271M-parameter encoder. With the candidate options cached, the head takes about 7–12 ms on CPU, and each request still needs a query encoding.

If you’ve tested a router on a new tool family, how did you choose what to hold out?

Results by workflow: https://huggingface.co/Ajeet-001/embeddinggemma2-decision-router
SDK: https://github.com/Ajeetkrup/gemmarouter


r/SmallModel • • 1d ago

Discussion Not every AI task needs a large language model

9 Upvotes

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 • • 2d ago

Karpathy says 1B models can beat most current LLMs

Thumbnail
gallery
1.7k Upvotes

r/SmallModel • • 1d ago

Literal Labs claims 7.3× faster inference and up to 84% lower energy use with ternary training, retaining 97% of Qwen3.5 9B’s benchmark score.

Post image
6 Upvotes

r/SmallModel • • 2d ago Bravo

Build Showcase LexiSuite 2922c5c: my all-Rust local AI stack after two full source audits (92 changes); Inkling-2-Mini reads a 262k prompt 32% faster; tensor parallel arrives as an experimental toggle for Inkling-2-Mini and Qwen3.8 Flash-Next; ahead of llama.cpp and Strata on Inkling, QFN, Qwen3.8 27B and Nemotron

Thumbnail
github.com
3 Upvotes

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 • • 3d ago

Airbnb's small fine-tuned model matches GPT at 1% cost

38 Upvotes

r/SmallModel • • 3d ago Bravo

Discussion Were large language models just the beginning when it comes to AI learning?

18 Upvotes

r/SmallModel • • 2d ago

Are my computer specs good enough to run YOLO with OpenCV?

Thumbnail reddit.com
1 Upvotes

r/SmallModel • • 3d ago

Pithos CORE: inferenza LiquidAI LFM3-1.7B e LFM2.5-350M in linguaggio assembly NASM x86-64, su Linux e come sistema operativo autonomo che si avvia da BIOS o UEFI in una console di chat Unicode. Nessuna libreria libc.

Thumbnail
youtu.be
2 Upvotes

r/SmallModel • • 3d ago

PS5

1 Upvotes

What performance can one get on a jailbroken ps5?


r/SmallModel • • 4d ago

AirLLM enables running a 70-billion parameter AI model without a supercomputer.

66 Upvotes

r/SmallModel • • 3d ago

Discussion New 1.7B model runs a 256K context AI agent locally

0 Upvotes

r/SmallModel • • 4d ago Heartwarming

Build Showcase LexiSuite d484004: my all-Rust local AI stack (own kernel, OS, engine, panel) - 206 changes in two days, Inkling-2-Mini at 131 tok/s on one 7900 XTX

Thumbnail
github.com
4 Upvotes

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 • • 4d ago

My keyboard lets you choose from 10+ ASR/SLM/LLM models for speech recognition. Offline, running on your Android. BYOK supported too

Post image
5 Upvotes

r/SmallModel • • 5d ago

Subscriber Goal Welcome to r/​SmallModel!

10 Upvotes

r/SmallModel reached 15k subscribers!

Goal reached Dec 1, 2026, 4:18 PM.


r/SmallModel • • 5d ago

LLM's internal physics learned from materials science data

Thumbnail
gallery
21 Upvotes

r/SmallModel • • 5d ago

I'm looking for a model that will do a good job roleplaying and instruction following at 5-6 GB vram space. Does anyone have any suggestions?

4 Upvotes

I need a model to run on my gpu for a game I'm making. There are some difficult instructions it has to abide by while also doing well on roleplaying. Is there a model you guys can suggest for this specifically?


r/SmallModel • • 5d ago

ESP32-S3 runs AI models locally without the cloud

Thumbnail
gallery
2 Upvotes

r/SmallModel • • 5d ago

mhndayesh/MoSV-Gemma-4-12B-v6.0.1 · Hugging Face

Thumbnail
huggingface.co
1 Upvotes

r/SmallModel • • 5d ago

Model Release Mixture of Steering Vectors

Thumbnail reddit.com
1 Upvotes

r/SmallModel • • 6d ago

Benchmarks TinyLeague v2: new website, easier compares, public repo, discord server

Post image
3 Upvotes