hn.today

A 0.5B model transfer any Images to SVG 100token/s on Mac

github.com3 points0 comments
Screenshot of A 0.5B model transfer any Images to SVG 100token/s on Mac

Unlimited-SVG is a Mac application and command-line tool that converts bitmap images into editable SVG drawings using Baidu’s model locally on Apple Silicon. Its web workbench streams the generated SVG, lets users inspect the original and padded input, copy or download the result, and export a GIF of the drawing process. Initial setup installs a pinned Python environment and downloads a 6.67 GB BF16 checkpoint; it requires about 16 GB of free disk space, after which the tool can run offline. The model has 3.34 billion parameters, with roughly 0.5 billion active per decoding step. On a 16 GB M5 Mac, sample outputs decode at about 67-111 tokens per second, depending on the image.

Performance figures describe individual runs, not guaranteed end-to-end conversion times: image encoding and prompt processing add time beyond the reported decoding rate. In a separate comparison, a candidate-shortlisting method increased speed on two images from roughly 75-78 to 102-105 tokens per second without changing their SVG output. Results also depend on decoding settings. Sampling preserved details such as cheeks and seeds in one example, while greedy decoding omitted the cheeks; another greedy run repeated coordinates until reaching the 30,000-token limit, whereas sampling produced a finished drawing. Even successful outputs can simplify or misrepresent details, such as changing chart markers or clipping a label, so the workbench supports rerunning images with different settings.

Read on github.com0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in AI

FreeHand

FreeHand

FreeHand is an AI agent harness that gives frontier models a shell, editable memory, and control over tools and timeouts instead of prescribing workflows. Across 11 tests, it beat first-party harnesses for three frontier model families, averaging 5.1 points higher at 49% lower cost, while preset harnesses still performed better with weaker models. (microsoft.github.io)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.