schema = "m64/capsule@1" description = "Bonsai Image 4B on GB10 (diffusers). prism-ml's ternary-quantized FLUX.2 [klein] 4B, unpacked to bf16 (Apache-2.0), at 1024x1024, 4 steps, guidance 1. Runs fully offline." kinds = ["image.generate"] authors = ["dh7"] license = "apache-2.0" [hardware] platform = "linux-aarch64" gpu = "NVIDIA GB10" gpu_count = 1 vram_gb = 24 driver = ">=580" disk_gb = 18 [runtime] sandbox = "container" # No image: the Dockerfile builds on nvcr.io/nvidia/pytorch:25.09-py3 + diffusers 0.41.0, pinned by digest. gpu = true shm_gb = 8 internal_port = 9010 health = "/health" expected_load_seconds = 300 model_name = "bonsai-flux2-klein-ternary-4b" user = "65534:65534" [[artifacts]] type = "hf" repo = "prism-ml/bonsai-image-ternary-4B-unpacked" revision = "30bbc032dd26939bff95c3d523477ad5065c3e1a" include = [ ".gitattributes", "LICENSE", "NOTICE.md", "README.md", "manifest.json", "model_index.json", "scheduler/*", "text_encoder/*", "tokenizer/*", "transformer/*", "vae/*", ] mount = "/weights/bonsai" # The server's own defaults (bonsai_server.py), which every request gets: callers can only send # prompt and seed. Returned as params_used. [params] size = "1024x1024" num_inference_steps = 4 guidance_scale = 1.0 [routes] extra = ["/v1/config"]