{
  "id": 1104,
  "kind": "model",
  "title": "Bonsai 27B: Full 27B-Class Reasoning in Binary and Ternary Transformer Weights — On Laptops and Phones",
  "summary": "PrismML Bonsai 27B (announced 2026-07-14; alphaXiv whitepaper slug 2607.bonsai-27b) post-training-compresses Qwen3.6-27B into binary g128 and ternary g128 weights with group-wise FP16 scales, hybrid attention (~75% linear / 25% full), 262K context, optional 4-bit vision tower, and DSpark speculative decoding. Claimed ~3.9 GB (1-bit) / ~5.9 GB (ternary) vs ~54 GB FP16; ~11 tok/s on iPhone 17 Pro Max and tens of tok/s on Apple Silicon laptops; Apache-2.0 Hub packs (GGUF/MLX).",
  "body": "",
  "notes": "Primary: docs.prismml.com/models/bonsai-27b + HF cards prism-ml/Bonsai-27B-mlx-1bit and Bonsai-27B-gguf (license apache-2.0, gated false) + alphaXiv abs/2607.bonsai-27b whitepaper abstract fetched 2026-09-01. Discord linked alphaXiv (no real arXiv id). Also Ternary-Bonsai-27B-* repos. Citation @techreport{bonsai27b} Prism ML July 2026.",
  "url": "https://docs.prismml.com/models/bonsai-27b",
  "links": [],
  "authors": [
    "Prism ML"
  ],
  "tags": [
    "bonsai-27b",
    "prismml",
    "1-bit",
    "ternary",
    "quantization",
    "on-device",
    "qwen3.6",
    "hybrid-attention",
    "mlx",
    "gguf",
    "apache-2.0"
  ],
  "topics": "1-bit/ternary LLM compression; on-device 27B multimodal inference; hybrid attention",
  "venue": "PrismML",
  "publisher": "PrismML",
  "source": "web",
  "language": "en",
  "access": "free (ungated Hub weights GGUF/MLX; docs; whitepaper on alphaXiv; optional developer preview API mentioned in news)",
  "license": "Apache-2.0",
  "published_year": null,
  "added_at": "2026-09-01T20:25:00.000Z",
  "verified_at": "2026-09-01T20:25:00.000Z",
  "attrs": {
    "hf": {
      "kind": "model",
      "name": "Bonsai-27B-mlx-1bit",
      "namespace": "prism-ml"
    },
    "scale": "~27B params (HF card: 27.3B binary LM weights + 0.46B vision). Context 262,144. Deployed LM ~3.9 GB (1-bit) / ~5.9–7 GB (ternary packs). Benchmarks reported over 15 thinking-mode tasks (1-bit avg 76.11 ≈89.5% of FP16 85.07; ternary 80.49 ≈94.6%).",
    "domain": "1-bit/ternary LLM compression; on-device 27B multimodal inference; hybrid attention",
    "purpose": "Release binary (1.125 bpw) and ternary (~1.71 bpw) end-to-end compressed variants of Qwen3.6-27B so 27B-class reasoning/vision/tool-use can run on laptops and phones.",
    "used_for": "on-device 27B multimodal chat/agents; Apple MLX and CUDA llama.cpp low-bit inference; phone/laptop local serving",
    "author_type": "lab (PrismML)",
    "time_period": "News/docs dated July 14, 2026. HF prism-ml/Bonsai-27B-mlx-1bit createdAt 2026-07-04. Discord alphaXiv link 2026-07-15. No numeric arXiv id (slug 2607.bonsai-27b)."
  },
  "enrichment": {},
  "enriched_at": "2026-10-03T14:33:50.723Z",
  "license_class": "permissive",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "local-795",
    "needs_deep_eval": "no",
    "pipeline_status": "done",
    "research_status": "done"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T12:29:06.561Z",
  "page": "https://papers.projxon.ai/entries/1104",
  "markdown": "https://papers.projxon.ai/entries/1104.md",
  "api": "https://papers.projxon.ai/api/entries/1104",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 591,
      "kind": "model",
      "title": "Maple-Preview",
      "summary": "Maple-Preview is a 20B-A1B reasoning MoE (24 layers, 256 experts / 8 active, 3:1 SWA-512:GA attention) with ternary weights and custom MapleForCausalLM code. Card: 131,072 context, 5.31 GB packed checkpoint, 218 tok/s on an M4 Mac mini (5–16× vs Gemma 4 / Qwen3.5 / gpt-oss in their figure). Preview is reasoning-focused with only small-scale RL; they flag weaker agentic evals before a full release. Transformers path needs Triton/FlashAttention CUDA; Apple Silicon numbers use a separate runtime. MIT. HF hosts 9 BF16 safetensor shards (~20.21B params).",
      "url": "https://huggingface.co/deepgrove/maple-preview",
      "authors": [
        "DeepGrove"
      ],
      "tags": [
        "maple",
        "deepgrove",
        "ternary",
        "moe",
        "on-device",
        "reasoning",
        "huggingface"
      ],
      "venue": "DeepGrove",
      "source": "huggingface",
      "license": "MIT",
      "published_year": 2026,
      "added_at": "2026-08-14T18:32:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": 2570,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/591",
      "markdown": "https://papers.projxon.ai/entries/591.md",
      "api": "https://papers.projxon.ai/api/entries/591"
    },
    {
      "id": 586,
      "kind": "model",
      "title": "BitNet b1.58 2B4T",
      "summary": "Packed ternary BitNet weights (~2B) trained from scratch on 4T tokens (SmolLM-Corpus, dclm-baseline-1.0, open-web-math) then SFT+DPO. Architecture: BitLinear, RoPE, ReLU² FFN, subln, no biases; LLaMA 3 tokenizer (128,256); ctx 4096. Card: non-emb memory 0.4GB, CPU decode 29ms, energy 0.028J vs 1–2B dense open models; average 54.19 vs Qwen2.5-1.5B 55.23 (GSM8K 58.38). Efficiency needs microsoft/BitNet (bitnet.cpp), not stock transformers. Siblings: bf16 master weights and GGUF.",
      "url": "https://huggingface.co/microsoft/bitnet-b1.58-2B-4T",
      "authors": [
        "Shuming Ma",
        "Hongyu Wang",
        "Shaohan Huang",
        "Xingxing Zhang",
        "Ying Hu",
        "Ting Song",
        "Yan Xia",
        "Furu Wei"
      ],
      "tags": [
        "bitnet",
        "1-bit",
        "ternary",
        "microsoft",
        "bitnet-cpp",
        "w1.58a8",
        "llm"
      ],
      "venue": "Microsoft Research",
      "source": "huggingface",
      "license": "MIT",
      "published_year": 2025,
      "added_at": "2026-08-14T18:28:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": 20262,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/586",
      "markdown": "https://papers.projxon.ai/entries/586.md",
      "api": "https://papers.projxon.ai/api/entries/586"
    },
    {
      "id": 556,
      "kind": "paper",
      "title": "BitNet a4.8: 4-bit Activations for 1-bit LLMs",
      "summary": "Hybrid recipe: INT4 activations into attention/FFN, plus sparsify then 8-bit on outlier-heavy intermediate states. Two-stage continue-training from BitNet b1.58 (W1.58A8 then W1.58A4; last 5B tokens for the 4-bit stage). Matches b1.58 at equal train cost while enabling 4-bit kernels; ~55% of parameters activated and 3-bit KV cache. 7B: 44.5% overall sparsity / 3.4B active vs b1.58 6.0B; a 2B model on 2T tokens stays at parity with b1.58. No official code on abs.",
      "url": "https://arxiv.org/abs/2411.04965",
      "authors": [
        "Hongyu Wang",
        "Shuming Ma",
        "Furu Wei"
      ],
      "tags": [
        "bitnet",
        "quantization",
        "1-bit",
        "int4",
        "sparsity",
        "microsoft",
        "activation-quantization"
      ],
      "venue": "arXiv / Microsoft Research / University of Chinese Academy of Sciences",
      "source": "",
      "license": "",
      "published_year": 2024,
      "added_at": "2026-10-01T16:45:05.207Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 22,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/556",
      "markdown": "https://papers.projxon.ai/entries/556.md",
      "api": "https://papers.projxon.ai/api/entries/556"
    },
    {
      "id": 561,
      "kind": "paper",
      "title": "Bi-Mamba: Towards Accurate 1-Bit State Space Models",
      "summary": "Binarizes Mamba-2 in/out projections (~90%+ of params) with FBI-Linear (sign weights plus per-column α/β) and autoregressive distillation from LLaMA2-7B on Amber. Beats GPTQ-2/3bit and BiLLM post-training binarization on Mamba-2 780M/1.3B/2.7B zero-shot and Wiki2/PTB/C4 PPL; 2.7B avg 50.6 vs Mamba-2 FP 59.6, Wiki2 10.0 vs 9.1. Claims ~5× memory / ~3× throughput vs FP16 2.7B on M4 Pro. Accepted in TMLR 2025. Code https://github.com/Tangshengku/Bi-Mamba.",
      "url": "https://arxiv.org/abs/2411.11843",
      "authors": [
        "Shengkun Tang",
        "Liqun Ma",
        "Haonan Li",
        "Mingjie Sun",
        "Zhiqiang Shen"
      ],
      "tags": [
        "bi-mamba",
        "mamba-2",
        "1-bit",
        "quantization",
        "ssm",
        "mbzuai",
        "tmlr",
        "fbi-linear"
      ],
      "venue": "arXiv / MBZUAI / Carnegie Mellon University",
      "source": "",
      "license": "CC BY 4.0",
      "published_year": 2024,
      "added_at": "2026-10-01T16:45:06.278Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 13,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/561",
      "markdown": "https://papers.projxon.ai/entries/561.md",
      "api": "https://papers.projxon.ai/api/entries/561"
    },
    {
      "id": 656,
      "kind": "model",
      "title": "Mach-1 Additive 35B",
      "summary": "Syzygy product launch. Compresses Qwen 3.6 35B into ~1.7 bpw additive/trellis weights (~7 GB, up to 120 tok/s on consumer laptops). Vendor claim: 95% mean retention vs the BF16 teacher across 12 agentic and reasoning benches (vs Ternary Bonsai 93.6% and Gemma 4 Q2_K_XL 85.6% on the same set; some comparator rows are borrowed). Unlike BitNet, they claim under 15 GPU-hours of retraining and a path to 3T-scale compressed models. Browser demo plus Mach Studio desktop (Apple Silicon beta) and an agent harness. Weights on HF SyzygyResearch/Mach-1-Additive-35B (Apache-2.0).",
      "url": "https://huggingface.co/SyzygyResearch/Mach-1-Additive-35B",
      "authors": [
        "Syzygy Research"
      ],
      "tags": [
        "mach-1",
        "syzygy",
        "quantization",
        "additive",
        "qwen3.6",
        "local-inference",
        "x"
      ],
      "venue": "Syzygy Research",
      "source": "huggingface",
      "license": "Apache-2.0",
      "published_year": 2026,
      "added_at": "2026-08-14T19:25:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": 203,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/656",
      "markdown": "https://papers.projxon.ai/entries/656.md",
      "api": "https://papers.projxon.ai/api/entries/656"
    },
    {
      "id": 609,
      "kind": "other",
      "title": "Transformers documentation: AWQ (Activation-aware Weight Quantization)",
      "summary": "Living Transformers docs for Activation-aware Weight Quantization: identify AWQ checkpoints via quantization_config.quant_method=awq (typically 4-bit, group_size 128, zero_point, gemm). from_pretrained loads autoawq/llm-awq weights with other tensors in fp16 by default; dtype and device_map control the rest. Notes AutoAWQ pins Transformers to 4.47.1. Optional AwqConfig fused modules (Llama/Mistral out of the box; fuse_max_seq_len + do_fuse) roughly double decode tok/s vs unfused on TheBloke/Mistral-7B-OpenOrca-AWQ at batch=1 (e.g. 32/32: 80.3 vs 38.5 tok/s, 4.00 vs 4.50 GB). ExLlamaV2 via version=exllama (AMD GPUs supported). Cannot combine fused modules with FlashAttention2. Method paper is Lin et al. AWQ (arXiv 2306.00978, MLSys 2024).",
      "url": "https://huggingface.co/docs/transformers/main/en/quantization/awq",
      "authors": [
        "Hugging Face"
      ],
      "tags": [
        "blog",
        "awq",
        "quantization",
        "transformers",
        "autoawq",
        "exllamav2",
        "llm-compression"
      ],
      "venue": "Hugging Face Transformers docs",
      "source": "huggingface",
      "license": "",
      "published_year": null,
      "added_at": "2026-08-14T18:56:35.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/609",
      "markdown": "https://papers.projxon.ai/entries/609.md",
      "api": "https://papers.projxon.ai/api/entries/609"
    }
  ]
}
