prism-ml/bonsai-image-binary-4B-unpacked

🤗 Hugging Face 来源text-to-imageapache-2.03.9B 参数7.8 GBsafetensors✓ 5 个校验和今天更新
一条命令提交

在你的模型文件夹旁边运行它。它会制作种子、将文件与 Hugging Face 比对,然后提交。你只需开始做种,并粘贴你账户中的密钥。它只读取你的文件,绝不修改。如果愿意,可以先阅读脚本。

curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo prism-ml/bonsai-image-binary-4B-unpacked ./model-folder
需要做种者 →

Bonsai Image · Binary 4B — Unpacked FP16 Safetensors

FP16 safetensors (HuggingFace diffusers format) of the 1-bit Bonsai Image 4B model. This repo exists for users who want to run Bonsai Image with stock diffusers or other frameworks that don't yet support our low-bit packs natively. The 1-bit kernels are currently in our forks of MLX and the gemlite low-bit GEMM stack — once they're broadly available, this unpacked version will no longer be needed.

We strongly recommend using the optimized low-bit packs instead. The 1-bit format is where the Bonsai Image gains come from — an 8.3× transformer footprint reduction, sub-iPhone deployment, and ~5× faster inference vs the stock FP16 pipeline on Apple Silicon. This unpacked FP16 version is full-size and provides none of those advantages.

For the optimized 1-bit release packs (recommended):

For the higher-quality variant:

See the Bonsai Image Demo repo for one-command setup of either variant on Mac, Linux, or Windows.