A Guth Labs publication ↗
Back to News

Moonbox packages OmniSVG for local vector generation with ONNX

Moonbox published a new ONNX package on November 22 for OmniSVG 1.1 4B, an existing model that turns text or images into scalable vector graphics.

The conversion gives developers a way to run the model locally through ONNX Runtime instead of the original PyTorch setup. It does not add a newly trained model.

The public files include an 8.7 GB build that uses mostly 16-bit values, and a 5.59 GB build that compresses much of the decoder to 8 bits. Both bundle a small Python program that prepares inputs and turns the model's output into SVG. Moonbox documents CPU and Nvidia CUDA use and identifies the builds as noncommercial under the base model's research license.

In Moonbox's own tests, both builds produced 32 out of 32 candidates that passed a basic render check, meaning their images were not blank. That was a small set of six text prompts and two example images, not a test of overall illustration quality. On one RTX 3080 laptop GPU, a full-length run took about 180 seconds for the mostly 16-bit version and 240 seconds for the 8-bit version, versus about 130 seconds for the original.

The package adds another way to integrate local vector generation. The developer's measurements also show why a smaller download does not necessarily mean faster rendering.

Sources and citations

Revision history

Published . No corrections recorded.

Related stories