Live data from Hacker News

Deepseek R1 Distill 8B Q40 on 4 x Raspberry Pi 5

github.com

71–80 of 162 posts

Re: Deepseek R1 Distill 8B Q40 on 4 x Raspberry Pi 5

#71
post #52

That's not a bad result, although for £320 for 4x Pi5s you could probably find a used 12GB 3080 and probably more than 10x token speed

Or attach a 12 or 16 GB GPU to a single Pi 5 directly, and get 20+ tokens/s on an even larger model :D

https://github.com/geerlingguy/ollama-benchmark?tab=readme-o...

Re: Deepseek R1 Distill 8B Q40 on 4 x Raspberry Pi 5

#73
post #47

Earlier quoted context omitted.

I honestly don't understand the meme with RPi clusters. For a little more money than 4 RPi 5's, you can find on eBay a 1U Dell server with a 32 core Epyc CPU and 64 GB memory. This gives you at least an order of magnitude more performance. If people want to talk about Beowulf clusters in their homelab, they should at least be running compute nodes with a shoestring budget FDR Infiniband network, running Slurm+Lustre…

You can buy it but you can't run it, unless you're fairly wealthy. In my country (italy) a basic colocation service is like 80 euros/month + vat, and that only includes 100Wh of power and a 100mbps connection. +100wh/month upgrades are like +100 euros. I looked up the kind of servers and cpus you're talking about and the cpu alone can pull something like 180W/h, without accounting for fans, disks and other stuff (stu…

My server is almost never running at full tilt. It is using ~70W at idle.

Re: Deepseek R1 Distill 8B Q40 on 4 x Raspberry Pi 5

#74
post #4

This continues the pattern of all other announcements of running 'Deepseek R1' on raspberry pi - that they are running llama (or qwen), modified by deepseek's distillation technique.

Can you explain to a non ML software engineer what these distillation methods mean? What does it mean to have R1 train a Llama model? What is special about DeepSeek’s distillation methods? Thanks!

Submit a bunch of prompts to Deepseek R1 (a few tens of thousands), and then do a full fine tuning of the target model on the prompt/response pair.

Re: Deepseek R1 Distill 8B Q40 on 4 x Raspberry Pi 5

#75
post #4

This continues the pattern of all other announcements of running 'Deepseek R1' on raspberry pi - that they are running llama (or qwen), modified by deepseek's distillation technique.

Can you explain to a non ML software engineer what these distillation methods mean? What does it mean to have R1 train a Llama model? What is special about DeepSeek’s distillation methods? Thanks!

Distilling means fine-tuning an existing model using outputs from the bigger model. The special technique is in the details of what you choose to generate from the bigger model, how long to train for, and a bunch of other nitty gritty stuff I don’t know about because I’m also not an ML engineer.

Google it!

Re: Deepseek R1 Distill 8B Q40 on 4 x Raspberry Pi 5

#76
post #31

whats the point of this? serious question - can someone provide usecases for this?

It is shown running on 2 or 4 raspberry pis; the point is that you can add more (ordinary, non GPU) hardware for faster inference. It's a distributed system. The sky is the limit.

In a distributed system, the overall performance and scalability are often constrained by the slowest component. This Distributed Llama is over Ethernet..

Re: Deepseek R1 Distill 8B Q40 on 4 x Raspberry Pi 5

#77
post #4

This continues the pattern of all other announcements of running 'Deepseek R1' on raspberry pi - that they are running llama (or qwen), modified by deepseek's distillation technique.

Can you explain to a non ML software engineer what these distillation methods mean? What does it mean to have R1 train a Llama model? What is special about DeepSeek’s distillation methods? Thanks!

Its llama/quen with some additional training to add reasoning. In a similar way deep seeks v3 was trained into r1.

It also looks to me like there was some Chinese propaganda trained into llama/quen too, but that’s just my observation.

Re: Deepseek R1 Distill 8B Q40 on 4 x Raspberry Pi 5

#78
post #4

This continues the pattern of all other announcements of running 'Deepseek R1' on raspberry pi - that they are running llama (or qwen), modified by deepseek's distillation technique.

And DeepSeek itself is (allegedly) a distillation of OpenAI models.

Never heard that claim before, only that a certain subset of re-enforced learning may have used ChatGPT to grade responses. Is there more detail about it being allegedly a distilled OpenAI model?

Re: Deepseek R1 Distill 8B Q40 on 4 x Raspberry Pi 5

#79
post #52

That's not a bad result, although for £320 for 4x Pi5s you could probably find a used 12GB 3080 and probably more than 10x token speed

Or attach a 12 or 16 GB GPU to a single Pi 5 directly, and get 20+ tokens/s on an even larger model :D https://github.com/geerlingguy/ollama-benchmark?tab=readme-o...

Reading the beginning of your comment I was like “ah yes I saw Jeff Geerling do that on a video”.

Then I saw you github link and your HN handle and I was like “Wait, it is Jeff Geerling!”. :D

Post reply on HN