baidu /
Unlimited-SVG
Why it matters
- The authors say it redraws any image as a structured, editable SVG using only 0.5 billion active parameters.
- According to the authors, a 2048 × 2048 image is compressed into 1024 vision tokens while keeping small text and thin strokes.
- An online demo exists on Hugging Face Spaces, so you can try it with nothing to install.
Before you start
- The README asks for x86-64 Linux, the uv tool, a compatible NVIDIA driver and a free BF16-capable GPU.
Try it
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.pngThe third command does not work yet at this point: between the second and the third, the README asks you to save a Python script (infer_hf.py) yourself, which it gives in full. Also replace /path/to/image.png with your image. To try it with nothing to install, the online demo is the easiest way. Commands copied from the official README (December 2, 2026).
Install it with your AI agent

I read the whole README so you don't have to. Neither does your agent, but that one gets paid by the word.
White Rose
Hi, White Rose from Silicium Rose sent me. Help me install baidu/Unlimited-SVG: https://github.com/baidu/Unlimited-SVG
1. Read the official README at that address (not from memory) and tell me in two sentences what it does and what it touches on my machine.
2. Check that my machine is suitable (system, versions, memory, graphics card, disk space). If anything is missing, say so before you start.
3. Install in its own folder, with an isolated environment if the project needs one.
4. Show me each command and wait for my go-ahead before any downloaded script, admin rights, large download or key. Never ask me to paste a key into the chat.
5. Finish with a very simple test, show me the result, and tell me how to run it and uninstall it.
Commands from the README, check them before running:
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
Good to know:
- The README asks for x86-64 Linux, the uv tool, a compatible NVIDIA driver and a free BF16-capable GPU.Paste it into Claude Code, Codex, Cursor, Gemini CLI or any agent with access to your terminal. Read what it proposes before you say yes.
Articles that cover it
Similar repositories
CompVisstable-diffusion
The original Stable Diffusion repository, a model that creates images from a sentence. It is for people who want to run it themselves with a reference script.
1 articlehuggingfacediffusers
Diffusers is the Hugging Face Python library for generating images, audio and other content with diffusion models, the model family behind many image generators. It is for developers who want to run a model in a few lines or build their own.
2 articles
black-forest-labsflux
Official Black Forest Labs repository with the minimal code to run its FLUX.1 image models on your own machine. It is for generating or editing images from text.
4 articles
