CogVideoX 2B on Raspberry Pi 4 (4 GB)
Can the Raspberry Pi 4 (4 GB) run CogVideoX 2B?
No, it doesn’t fit
No. CogVideoX 2B needs about 4.7 GB even at FP8; the Raspberry Pi 4 (4 GB) has 2.8 GB usable.
Download CogVideoX 2B
Original weights · Hugging Face
Full-precision files from Zhipu AI, for fine-tuning, vLLM, Transformers, Diffusers or ComfyUI.
Official repo · GitHub
Reference code, inference scripts and docs from Zhipu AI. The weights themselves download from Hugging Face.
github.com/zai-org/CogVideo (opens in a new tab)
git clone https://github.com/zai-org/CogVideoHow it’s rated
Match score
To order lists, each result also gets a match score out of 100 from four parts. It favors the most capable model that still runs well.
| Model quality | 6.0 / 45 | |
|---|---|---|
| Memory fit | 0.0 / 25 | |
| Speed | 0.0 / 15 | |
| Memory use | 0.0 / 15 | |
| Match score | 6.0 / 100 |
Every precision on the Raspberry Pi 4 (4 GB)
| Quant | Memory needed | Available | Speed | Memory mode | Runs | Quality | Download |
|---|---|---|---|---|---|---|---|
FP16 | 5.3 GB | 2.8 GB | — | — | Won't run | 45Fair quality (C) · 45 of 100: how capable the model is at FP16, whatever it runs on. Match score 6/100 (quality, fit, speed and memory use) sets the ranking. | Original weights (opens in a new tab) |
FP8 | 4.7 GB | 2.8 GB | — | — | Won't run | 44Fair quality (C) · 44 of 100: how capable the model is at FP8, whatever it runs on. Match score 5/100 (quality, fit, speed and memory use) sets the ranking. | Original weights (opens in a new tab) |
Hardware that can run it
-
45Fair quality (C) · 45 of 100: how capable the model is at FP16, whatever it runs on. Match score 75/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 7900 XTX
-
45Fair quality (C) · 45 of 100: how capable the model is at FP16, whatever it runs on. Match score 75/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 3090
-
45Fair quality (C) · 45 of 100: how capable the model is at FP16, whatever it runs on. Match score 75/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4090
-
44Fair quality (C) · 44 of 100: how capable the model is at FP8, whatever it runs on. Match score 74/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 9070 XT
-
44Fair quality (C) · 44 of 100: how capable the model is at FP8, whatever it runs on. Match score 74/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4060 Ti 16GB
-
44Fair quality (C) · 44 of 100: how capable the model is at FP8, whatever it runs on. Match score 74/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4070 Ti SUPER
Models that do run on the Raspberry Pi 4 (4 GB)
- 35Basic quality (D) · 35 of 100: how capable the model is at FP16, whatever it runs on. Match score 43/100 (quality, fit, speed and memory use) sets the ranking. AnimateDiff v3 (SD 1.5)
Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.