Earlier quoted context omitted.
Is there a back-of-the-napkin way to calculate how much memory a given model will take? Or what parameter/quantization model will fit in a given memory size?
To find the absolute minimum you just multiply the number of parameters by the bits per parameter, divide by 8 if you want bytes. In case 8 billion parameters of 4 bits each means "at least 4 billion bytes". For back of the napkin add ~20% overhead to that (it really depends on your context setup and a few other things but that's a good swag to start with) and then add whatever memory the base operating system is goi…
Deepseek R1 Distill 8B Q40 on 4 x Raspberry Pi 5
91–100 of 162 posts
Re: Deepseek R1 Distill 8B Q40 on 4 x Raspberry Pi 5
#92Earlier quoted context omitted.
Yes, but it would've been nice to call them D1-something, instead of constantly having to switch back and forth between Deepseek R1 (here I mean the 604B model) as distinguished from Deepseek R1 (the reasoning model and it's distillates.)
You can say R1-604b to disambiguate, just like we have llama 3 8b/70b etc.
Re: Deepseek R1 Distill 8B Q40 on 4 x Raspberry Pi 5
#93This 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!
"Distilled" models are other models (Llama, Qwen) that have been put through an additional training round using DeepSeek as a teacher.
Re: Deepseek R1 Distill 8B Q40 on 4 x Raspberry Pi 5
#94This 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.
Re: Deepseek R1 Distill 8B Q40 on 4 x Raspberry Pi 5
#95This is the modern Beowulf cluster.
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…
I don't know if my complaint applies to RPi, or just other SBCs: the last time I got excited about an SBC, it turned out it boots unconditionally from SD card if one is inserted. IMO that's completely unacceptable for an "embedded" board that is supposed to be tucked away.
Re: Deepseek R1 Distill 8B Q40 on 4 x Raspberry Pi 5
#96Earlier quoted context omitted.
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.
You have my curiosity. Like what and how did you find it?
Ask about the political system of china and its flaws. Compare the sentiment of the responses with answers about other political systems.
You might get some critical answers, but the sentiment is usually very positive towards china. Sometimes it doesn't even start reasoning and directly spits out propaganda, that doesn't even answer your question.
You can't test it with deep seek dot com, because it will just remove the answers on those "sensitive" topics. I've mostly tested with 7b from ollama. You might experience something like that with 1.5b too, but 1.5b barely works at all.
Re: Deepseek R1 Distill 8B Q40 on 4 x Raspberry Pi 5
#97I did not see (understand) how multiple Raspberry Pis are being used in parallel. Maybe someone can point me in the right direction to understand this.
Blog post from same author explaining https://b4rtaz.medium.com/how-to-run-llama-3-405b-on-home-de...
Re: Deepseek R1 Distill 8B Q40 on 4 x Raspberry Pi 5
#98This is the modern Beowulf cluster.
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…
Re: Deepseek R1 Distill 8B Q40 on 4 x Raspberry Pi 5
#99Earlier quoted context omitted.
You have my curiosity. Like what and how did you find it?
Ask about Xi Jinping in all the ways you can imagine (jokes, bad habits, failures, embarrassing facts, ...). Compare the responses to other well known politicians, use the same prompt in a fresh conversation with a different name. Ask about the political system of china and its flaws. Compare the sentiment of the responses with answers about other political systems. You might get some critical answers, but the sentim…
Re: Deepseek R1 Distill 8B Q40 on 4 x Raspberry Pi 5
#100whats the point of this? serious question - can someone provide usecases for this?