prism-ml/bonsai-image-ternary-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-ternary-4B-unpacked ./model-folder
需要做种者 →

Bonsai Image · Ternary 4B — Unpacked FP16 Safetensors

FP16 safetensors (HuggingFace diffusers format) of the ternary 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 ternary kernels live in MLX (Apple Silicon, 2-bit out of the box) and the gemlite low-bit GEMM stack (CUDA).

We strongly recommend using the optimized low-bit packs instead. The ternary format is where the Bonsai Image gains come from — a 6.4× 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 ternary release packs (recommended):

For the smaller-footprint variant:

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