Baidu has put a new open model on Hugging Face that does one specific job: it looks at an image and writes the SVG code that redraws it. Unlimited-SVG is free to use under the MIT licence, and its weights are a 6.67 GB download. This guide covers what the model card says it does, how the README says to run it, and what nobody has measured yet.
Quick answer: Unlimited-SVG is an image-to-SVG model from Baidu, built on DeepSeek-OCR. It takes one image and outputs editable SVG code. It is MIT licensed, the checkpoint is 6.67 GB in BF16, and the model card says it activates about 0.5 billion parameters per token. The README documents running it on x86-64 Linux with an NVIDIA GPU. No benchmarks and no VRAM requirement are published.
Table of Contents
- Key Takeaways
- What Is Unlimited-SVG?
- What Images Is It For?
- What Do You Need to Run It?
- How to Run Unlimited-SVG With Transformers
- What Is Not Known Yet
- Unlimited-SVG: Frequently Asked Questions
- Sources
Key Takeaways
- Unlimited-SVG turns one image into SVG code. The only prompt in the README is
<image> SVG:. - The licence is MIT, with copyright held by Baidu. The model card dates the release 1 December 2026.
- The model is a mixture-of-experts design. The card says it activates only about 0.5 billion parameters per token, and the files total 6.69 GB.
- The README gives install steps for x86-64 Linux with uv and a BF16-capable NVIDIA GPU. It does not mention Windows.
- Baidu publishes no benchmarks, and its page says a technical report is coming soon.
- We have not run the model ourselves yet, so this guide reports what the model card and README say.
What Is Unlimited-SVG?
Unlimited-SVG is a multimodal model that redraws an image as structured, editable SVG code. SVG is a vector format, so the result can be scaled and edited in tools such as Inkscape or in code, unlike a photo.
According to the model card, it is built on DeepSeek-OCR. The config lists a CLIP vision branch and a SAM vision branch feeding a mixture-of-experts language model with 64 routed experts, of which 6 are used for each token. The card says its encoder compresses a whole 2048 by 2048 image into 1024 vision tokens.

What Images Is It For?
The model card names two kinds of input and suggests a different temperature for each:
| Input | Suggested temperature |
|---|---|
| — | — |
| CAD, diagrams, charts and other images that need exact detail | 0 to 0.3 |
| Natural scenes and photos | 0.5 to 0.8 |
The card says to raise the temperature to avoid repetitive loops. It does not list supported file formats. The README’s scripts read images with Python’s Pillow library, flatten any transparency onto white, and pad the picture to 2048 by 2048 pixels. They do not read PDFs, so a PDF would need to be turned into an image first.
Some news write-ups say the model handles floor plans, scanned documents and icons, or separates an image into layers. Those claims are not in the model card, so treat them as unconfirmed.
What Do You Need to Run It?
The README says to run it “on x86-64 Linux with uv, a compatible NVIDIA driver, and a free BF16-capable GPU”. It gives no VRAM figure.
The checkpoint file is 6.67 GB in BF16, so the weights alone need at least that much GPU memory, before any working space. The scripts use one GPU. The Hugging Face Transformers route pins PyTorch 2.6.0, and the vLLM route pins a newer PyTorch.
If you use Windows, the README does not cover it. WSL2 on Windows may work with an NVIDIA GPU, but we have not tested that.
How to Run Unlimited-SVG With Transformers
These steps follow the README’s Transformers route. Run them from the repository root on Linux.
- Create an environment with uv and Python 3.12.
- Install the pinned packages.
- Run the inference script on your image.
uv venv .venv-svg-hf --python 3.12
uv pip install --python .venv-svg-hf/bin/python torch==2.6.0 torchvision==0.21.0 transformers==4.46.3 tokenizers==0.20.3 safetensors==0.8.0 pillow==13.0.0 einops==0.8.2 addict==2.4.0 easydict==1.14 accelerate==1.16.0 requests==2.34.2 huggingface_hub==0.36.0
CUDA_VISIBLE_DEVICES=0 .venv-svg-hf/bin/python infer_hf.py /path/to/image.png
The first run downloads the weights to the Hugging Face cache. The script writes the result to output.svg. If the model’s output is not a complete SVG, the script saves the raw text and stops with the error “Incomplete SVG.”
The README also describes a faster route using vLLM. It requires editing three values inside an installed library file by hand, so we would start with the Transformers route.
What Is Not Known Yet
- **Quality:** There are no published benchmarks, and the project page says a technical report is “coming soon”. Its claims about real-time speed come with no hardware or measurement.
- **Memory use:** No VRAM requirement is published.
- **Date:** The model card says 1 December 2026. One analysis site says the files appeared about 14 hours before Baidu’s announcement, on 30 November.
- **Platform:** Only Linux is documented.
We will test it on our own hardware and update this article with real results.
Unlimited-SVG: Frequently Asked Questions
What is Unlimited-SVG?
An open model from Baidu that turns an image into SVG code, built on DeepSeek-OCR.
Is Unlimited-SVG free?
Yes. It is released under the MIT licence.
How big is it?
The checkpoint is 6.67 GB in BF16, and the model card says it activates about 0.5 billion parameters per token.
Can it run on Windows?
The README documents x86-64 Linux only. We have not tested Windows or WSL2.
How much VRAM does it need?
Baidu does not say. The weights alone are 6.67 GB.
Are there benchmarks?
No. The project page says a technical report is coming soon.
Does it convert PDFs?
The README’s scripts read image files only, so convert a PDF page to an image first.


