GGUF conversion of baidu/Unlimited-SVG (MIT license, Baidu). It redraws an input image as SVG. The model is built on DeepSeek-OCR: a SAM + CLIP vision encoder and a 12-layer DeepSeek-V2 MoE with about 0.5B active parameters.
| File | Quant | Size | Purpose |
|---|---|---|---|
Unlimited-SVG-Q8_0.gguf |
Q8_0 | 3.1 GB | Language model |
mmproj-Unlimited-SVG-F16.gguf |
F16 | 825 MB | Vision projector (needed for image input) |
Use a llama.cpp build that includes the DeepSeek-OCR path (deepseek2-ocr arch and DeepseekOCRVisionModel). Mainline builds from before that support will not load it.
llama-server -m Unlimited-SVG-Q8_0.gguf --mmproj mmproj-Unlimited-SVG-F16.gguf \
--no-mmproj-offload --ctx-size 32768 --n-gpu-layers 999 --flash-attn on --parallel 1
--no-mmproj-offload keeps the vision encoder on the CPU. On the build tested (ROCm, RDNA4), the GPU vision path segfaulted during image encoding, while the CPU path produced correct output.
Send an image with a short text prompt such as SVG:. The upstream repo uses the prompt <image> SVG: with the image.
Example check: a red circle on white, through the OpenAI-compatible endpoint, returned a valid 1024×1024 SVG with a red circle drawn as a path.
convert_hf_to_gguf.py --outtype q8_0 (LLM) and --mmproj --outtype f16 (projector).config.json lists UnlimitedSVGForCausalLM first. The converter needs DeepseekOCRForCausalLM first, so the conversion used a copy of the config with that order changed. The weights are unchanged.deepseek-v3.Quantized by markldn. Original model and license: Baidu, MIT.
baidu/Unlimited-SVG