Video wird geladen...
Video konnte nicht geladen werden
We built Curie, colibrì’s own model: 17B parameters, 33 tokens/s on a single CPU core. No GPU. Trained from scratch on a standard laptop. Written in C. Weights on SSD. An engine and a model designed together for the hardware you already own. Early alpha.This is just the beginning
50,407 Aufrufe • vor 5 Tagen •via X (Twitter)
33 Kommentare

The quality isn't the best, but we're working on it.

33 tok/s with weights on NVMe means roughly 200 MB read per token, so each step touches a few hundred million parameters, not 17B. That's an MoE or a sparse lookup in front of a 17B table. The active count per token is the number you should lead with. What is it?

122M active per token, 17B total. Only ~1.4 MB per token actually comes off the SSD — the rest is served out of RAM. It's MoE-shaped. The difference isn't the sparsity, it's when the routing is decided. More on that when it opens.

122M active makes your 33 tok/s add up. That is 60 to 120 MB of weights per token from RAM and 1.4 MB off SSD, both inside one core's reach. Routing decided early enough to prefetch the expert before the layer needs it deserves the headline. Is it decided from the token ids?

The computer where the inference is going is a 2023 thin-and-light laptop. Intel i7-1355U, 25 GB of RAM for wsl, a consumer NVMe. No GPU involved at any point, training or inference.

@justvugg I have spare 8x A100 80gb time to use for training for a 2-3 days, can i help u test? i have curriculum datasets generated over the past few weeks just for this kind of work. do revert in 7 days time and see if gpu training can help in your developm etc.

We need more models like this. Small models are the future of big intelligence. This is a great step forward.

Is training on a GPU mandatory? I mean, those numbers seem pretty modest. It probably wouldn't be very expensive to train on a cloud GPU, and that would let you iterate faster. I'm sure someone could even offer you the compute for free.

33 tok/s on one core is wild. Does it stay usable for real chats, or mostly demos?

Now we are working on longer training and providing more data.

I was Thinking if Using Raid0 Makes any Difference for Colibri or It's Better with 1 NVMe Only, Because of the Random 4K IOPS, There are Some Adapters that you Can Put Up to 4 Gen5 in Raid0 and Get the Speed Combined for Up to 60GB/s, It's Like DDR4/5 Speed with TBs of Capacity.

Your clip has the more interesting number. 0.72 MB a token off the SSD at 95.8% hit puts the full per-token read somewhere near 17 MB, a fraction of a percent of a 17B model. One core moves that easily. Curious what gets you down to so little weight per token.

This is the future. My processor has 32 cores and a clock speed of 4.5 GHz, so I think I’ll be able to run and test your model. In my opinion, we should create smaller models for specific tasks—React, TypeScript, Python, and so on—and we’ll grow quickly that way.

Awesome! Have you considered writing the engine in Rust instead of C?

Amazing work! 17B dense? Do you have an estimation of the scaling of such method of the throughput t/s as function of the number of parameters?

inb4 trained on 15m tokens

@ollama support it

So does this mean I should learn languages in the c family rather than python New to code instrested in AI and wonder what is a better option long term even if it is hard initially

DAMN nice looking forward to it

Toy not real world usage. Gen ai is not for poor gpu except u train for spesific task only precise like chess bot ai or vuln scanner

Impressive! How long to train?

Unfortunately, it’s too low, but I’m working on it by running a training session and varying the phases. On my very consumer-grade computer, it takes 8 days.

Not much time for the size, how many tokens per training?

Are you gonna open source this?

Yes 👍🏻👍🏻

research paper?

I hadn't thought about it at first, honestly, now we're writing it.

I love the idea! Thank you.

nice

@OsmanticAI

Tiny MoE? How many experts haha

training 17b from scratch on a laptop needs token count and wall time to be credible

interesting
