How to run Clipstral on CPU without a GPU: 2.6 GB RAM in bfloat16 vs 7.9 GB in float32 (tested)
Short answer
Yes, you can run Clipstral on CPU. Install the CPU build of PyTorch plus transformers, then load mistralai/mistral-multimodal-embed-1B with trust_remote_code=True. The README loads it in float32 on CPU, and on our 8-core box that peaked at 7,926 MB of RAM. Loading it in torch.bfloat16 instead peaked at 2,645 MB, ran photos 2.4 times faster (0.21 s each) and returned the same top 3 results on all 8 of our search queries. No GPU, no account, no cost: the weights are Apache 2.0.
Mistral announced Clipstral on X at 14:11 UTC on November 30, 2026 (18:11 Dubai time). When we checked the X API at about 10:30 Dubai time on December 1, the post had 147,250 views, 2,358 likes, 940 bookmarks and 248 reposts, and X counted 940 posts mentioning Clipstral or "Mistral Multimodal Embed" since launch. The launch materials talk about a single NVIDIA H100. Most people who want to search their own photo folder do not have one, so we tried it on a plain CPU.
What is Clipstral?
Clipstral is the codename for Mistral Multimodal Embed, an open-weight model that turns images, short video clips and text into vectors of 1,024 numbers in one shared space. A photo of a panda and the sentence "a giant panda" land close together, so search becomes a dot product. It does not chat, caption or generate anything. Facts we checked on December 1, 2026:
- 1.24B parameters: a 409M vision transformer, a 50M video encoder and a 783M text encoder (model card).
- License: Apache 2.0, so commercial use is allowed. The weights file,
model.safetensors, is 2.48 GB, stored in bfloat16. - Images are read at their own size and shape (default 448 px on the long side). Videos are 16 sampled frames. Text has no fixed length limit and covers many languages.
- Mistral's benchmark table puts it at 80.2 mean image retrieval R@1 and 64.0 video retrieval R@1, the best among open models up to 4B parameters in their test (GitHub README, paper).
- Out of scope for this release: documents, text-heavy images (OCR) and code.
Can you run Clipstral on CPU?
Yes. The model card says the package is "tested with python 3.13, transformers 4.57 / 5.8 / 5.18 / 5.23, on CPU (float32) and on NVIDIA GPU (bfloat16)". The Quick start code picks torch.float32 whenever there is no CUDA device. That works, but float32 doubles the memory: 1.24 billion weights at 4 bytes each is about 5 GB before anything else is loaded.
Our setup: a Linux box with an 8-core Intel Xeon CPU, no GPU, Python 3.13.5, torch 2.15.0+cpu, transformers 5.23.0. We used Mistral's own 27 example photos and 5 of the 15 example videos from the GitHub repo, and ran each setting in a fresh process.
How do you install Clipstral without a GPU?
Use a Python 3.13 virtual environment and pull PyTorch from the CPU index:
pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
pip install transformers pillow numpy opencv-python-headless
Watch out for one trap if you are on Linux. The repo's pyproject.toml tells uv sync to install the CUDA 13.0 build of PyTorch on every Linux machine and the CPU build only on macOS and Windows. Our first environment picked up a CUDA build of torch and weighed 5.6 GB. The CPU-only environment above was 1.2 GB. On a Mac, plain uv sync already gives you the CPU build.
The weights download on first use (2.48 GB). Ours took 7 seconds on a data-center connection, so expect a few minutes at home.
Get the AI tools worth your time
Era of Minds by Salman Ahmed: one short email with the AI tools and news that actually matter. Free.
You're in. Check your inbox.
Confirm your email and your 50 AI prompts are on their way.
Free. Unsubscribe anytime.
What is the one change that cuts RAM to 2.6 GB?
Load the model in bfloat16 and cast the pixel tensors to match. Everything else stays as in Mistral's Quick start:
import torch
from PIL import Image
from transformers import AutoImageProcessor, AutoModel, AutoTokenizer
repo_id = "mistralai/mistral-multimodal-embed-1B"
dtype = torch.bfloat16 # README uses torch.float32 on CPU
model = AutoModel.from_pretrained(repo_id, trust_remote_code=True, dtype=dtype).eval()
tokenizer = AutoTokenizer.from_pretrained(repo_id, trust_remote_code=True)
processor = AutoImageProcessor.from_pretrained(repo_id, trust_remote_code=True)
with torch.inference_mode():
image = Image.open("photo.jpg").convert("RGB")
pixels = [p.to(dtype=dtype) for p in processor([image])["pixel_values"]]
img = model.get_image_features(pixels).float()
tok = tokenizer(["a giant panda"], padding=True, return_tensors="pt")
txt = model.get_text_features(tok.input_ids, tok.attention_mask).float()
print(img @ txt.T) # cosine similarity, higher = better match
trust_remote_code=True runs the Python files that ship with the weights (modeling_mistral_contrastive.py and two processor files). That is how this model loads, so read those files first if you work on a locked-down machine.
How fast and how heavy is Clipstral on CPU? Our numbers
Same machine, same files, same 8 queries, measured as peak resident memory of the Python process:
| Setting | Peak RAM | Load | 27 photos (448 px) | 5 videos (16 frames, 224 px) | 8 text queries |
|---|---|---|---|---|---|
| float32 (README CPU default) | 7,926 MB | 1.70 s | 13.89 s (0.51 s each) | 17.58 s | 0.19 s |
| bfloat16 (our change) | 2,645 MB | 0.88 s | 5.68 s (0.21 s each) | 8.75 s | 0.07 s |
Load times are with the weights already on disk. With the CUDA build of torch installed (still running on CPU), the same runs peaked at 8,327 MB and 3,018 MB, so the CPU wheel also saved a few hundred MB.
What this means for real hardware, going by our numbers: float32 wants a 16 GB machine to be comfortable, while a 2.6 GB peak in bfloat16 should leave room on an 8 GB laptop. We did not test on a laptop. At 0.21 seconds a photo on 8 cores, indexing 10,000 photos would take roughly 35 minutes, once. After that each search is one matrix multiplication.
Does bfloat16 on CPU hurt search quality?
Not in our test. The top 3 photos were identical in both settings for all 8 queries, and the scores moved by 0.002 at most. The bfloat16 photo vectors had a cosine similarity of at least 0.9957 with the float32 ones, and the text vectors at least 0.99995. To be clear, Mistral documents float32 for CPU, so bfloat16 on CPU is our setting, tested on 27 photos and 5 videos, not a promise for every dataset.
The bfloat16 results:
| Query | Top photo (score) | Right? |
|---|---|---|
| exotic animal | toco toucan (0.200), then chameleon, lemur | Yes, all 3 |
| famous statue | Statue of Liberty (0.220) | Yes |
| a red bird with a huge beak | toco toucan (0.211) | Yes |
| un moulin rouge à Paris (French) | Moulin Rouge sign (0.253) | Yes |
| ein großer Panda (German) | giant panda in bamboo (0.234) | Yes |
| برج إيفل في الليل (Arabic: Eiffel Tower at night) | Eiffel Tower through leaves (0.184) | Yes (the tower, though that photo is by day) |
| sunny beach | rocky cove with turquoise water (0.157) | Close |
| a water ride | abandoned bobsled track (0.188) | No, there is no water ride photo |
The last row is the useful one. Mistral's example set has the log flume ride as a video, not a photo. In video search, the same query put the log flume clip first at 0.285, well above the wrong photo's 0.188. Scores are cosine similarities and run low (0.15 to 0.30 here), so do not read them as percentages. If you build a search box, show a "no good match" message when the best score sits near the rest instead of always returning a top result.
How do you search your own photo folder with Clipstral?
Embed every photo once, save the vectors, then embed each query:
import numpy as np, pathlib
paths = sorted(pathlib.Path("photos").glob("*.jpg"))
vecs = []
with torch.inference_mode():
for p in paths:
px = [t.to(dtype=dtype) for t in processor([Image.open(p).convert("RGB")])["pixel_values"]]
vecs.append(model.get_image_features(px)[0].float().numpy())
np.save("index.npy", np.stack(vecs)) # the whole index: 1,024 floats per photo
Photos keep their own shape, so embed them one at a time as above. The squash and center_crop transforms let you batch, but they change the image. For a 10,000-photo library the index is about 41 MB of float32 numbers. For video, sample 16 evenly spaced frames, load the processor with size=224 and call model.get_video_features([frames]), as in the README. Mistral says video training used clips up to about one minute.
The repo also ships a Gradio demo (app.py) with a text search tab over the example images and videos and a city classification tab. It runs at http://localhost:7860 after uv sync.
Who has already covered this, and what is different here?
Two good hands-on guides went up the same day: AI Frontier Post built a photo search on an RTX 3090 (27 photos in 1.2 seconds), and newfacedesign.com walks through the model card steps. rohitai.com worked out that the float32 weights alone come to about 4.97 GB and pointed out that no RAM minimum is published. Our measured float32 peak was 7.9 GB, well above that weights-only figure. What we did not find anywhere was a measured bfloat16 number on CPU, and that is the one that matters for ordinary laptops.
For other open models we checked on modest hardware, see How to run Ming-Image-0.2-Design without an 80GB GPU (free demo, ComfyUI, Mac) and Edge0-145B requirements: can you run it on a laptop or a Mac? (what the release files say). For more free, open releases explained in plain words, read Hi3D open source: is it free, and does it really turn a photo into a 3D model? and Simulon Reality-Aware Rendering: is it free, and how does it actually work?.
Get the AI tools worth your time
Era of Minds by Salman Ahmed: one short email with the AI tools and news that actually matter. Free.
You're in. Check your inbox.
Confirm your email and your 50 AI prompts are on their way.
Free. Unsubscribe anytime.
FAQ: running Clipstral on CPU
Can you run Clipstral on CPU without a GPU?
Yes. The model card says it is tested on CPU in float32. We ran it on an 8-core Intel Xeon box with no GPU: loading took under 2 seconds and 27 photos embedded in 13.9 seconds in float32. Switching the dtype to bfloat16 cut that to 5.7 seconds.
How much RAM does Clipstral need on CPU?
In our test, the README's CPU setting (float32) peaked at 7,926 MB of resident memory, so plan for a 16 GB machine. Loading in bfloat16 instead peaked at 2,645 MB for the same photos, text and 5 videos. Mistral does not publish a CPU RAM minimum.
Does bfloat16 on CPU change Clipstral's results?
Barely, in our test. The top 3 photos were identical for all 8 text queries, and the bfloat16 photo embeddings had a cosine similarity of at least 0.9957 with the float32 ones (text: 0.99995). Mistral's documented CPU path is float32, so bfloat16 on CPU is our own setting, not theirs.
Is Clipstral free?
Yes. The weights and inference code are on Hugging Face under the Apache 2.0 license, which allows commercial use. You pay nothing to download or run it. The model file is 2.48 GB in bfloat16.
What is Clipstral used for?
It turns photos, short videos and text into 1,024-number vectors in one shared space, so you can search a photo or video folder by typing a sentence, find similar images, sort images into categories you name in plain words, or find near-duplicates. It does not chat or generate images.
Does Clipstral understand languages other than English?
Yes. Mistral reports 59.7 recall@1 on the 36-language XM3600 test. In our run, a German query for a big panda and an Arabic query for the Eiffel Tower at night both returned the right photo first.
How fast is Clipstral on CPU?
On our 8-core CPU it took about 0.51 seconds per photo in float32 and 0.21 seconds in bfloat16 at the default 448 px. Five 16-frame video clips at 224 px took 17.6 seconds in float32 and 8.8 seconds in bfloat16. Eight text queries took under 0.2 seconds.
Why does uv sync download CUDA on a Linux laptop?
The repository's pyproject.toml picks the CUDA 13.0 build of PyTorch on every Linux machine and the CPU build only on macOS and Windows. On a Linux box without an NVIDIA GPU, install the CPU wheel of torch from the PyTorch CPU index instead. In our test that made the Python environment 1.2 GB instead of 5.6 GB.
Sources
- Mistral's announcement post (November 30, 2026) and Clipstral model page in Mistral's docs
- mistralai/mistral-multimodal-embed-1B on Hugging Face (model card, file sizes, config.json, checked December 1)
- mistralai/mistral-multimodal-embed on GitHub (README, pyproject.toml, uv.lock, app.py, 27 example photos and 15 videos; last commit November 30, 2026)
- Clipstral technical report
- On X: Mistral's launch post (147,250 views, 2,358 likes, 940 bookmarks when checked)
- Our test: December 1, 2026, Linux, 8-core Intel Xeon, no GPU, Python 3.13.5, torch 2.15.0+cpu, transformers 5.23.0. Each setting ran in a fresh process; memory is peak resident set size.
Get AI news decoded weekly.
Decoded is a free weekly email from Era of Minds. The AI stories that actually matter, in plain English. Five minutes, no hype.
You're in. Check your inbox.
Confirm your email and your 50 AI prompts are on their way.
Free. Unsubscribe anytime. Free gift: 50 AI prompts that actually work, sent the moment you join. More about Decoded