Skip to content

BrainChop Core v1.1.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 23:20
· 14 commits to main since this release

BrainChop Core v1.1.0

Fast, zero-dependency 3D brain MRI segmentation and skull stripping for desktops, HPC clusters, Python pipelines, and web browsers — powered by four embedded 3D MeshNet models (84K–190K parameters) with no PyTorch, TensorFlow, tinygrad, CUDA Toolkit, or separate weight downloads required at runtime.

Quick Install

  • Python / PyPI (zero ML deps, ~2 s install): pip install brainchop or uvx brainchop input.nii.gz -o labels.nii.gz
  • Homebrew (macOS & Linux): brew install neuroneural/tap/brainchop
  • Browser / JS (WebGPU V4 + WebGL2 + threaded WASM CPU): npm install @brainchop/core
  • Standalone Native Binaries (zero Python): Download the macOS arm64 (2.7 MB), Linux x86-64 (6.2 MB), or Windows x86-64 (6.6 MB) archive attached below.

Embedded Models

  • mindgrab (--skull-strip) — Modality-agnostic skull stripping across T1, T2, FLAIR, DWI, EPI, MRA, PDw, qT1, CT, and PET (Fani et al., NeuroImage 2026).
  • mindmap (default) — 18-class cortical & subcortical parcellation + optional experimental GM/WM/CSF tissue fractions (--pve).
  • mindsnap — 104-class Desikan-Killiany cortical + subcortical + 5-part corpus callosum parcellation.
  • mindmap-fast — Fast 84K-parameter 18-class preview model.

What's New in v1.1.0

  • Unified Defaults Across Every Interface: Default model is now mindmap (full-capacity atrophy-repaired 18-class model) and default output space is now native input space across the C dispatcher, Python CLI/API, and @brainchop/core (pass --save-conform / save_conform=True to keep conformed 256³ outputs).
  • NIfTI-1 Provenance Stamping: Every output volume records version, model, 8-character model.bin SHA-256 weight digest, backend, and precision mode into its 80-byte descrip header (e.g., brainchop 1.1.0 mindmap/58006d19 metal turbo).
  • Compute Backends: Auto-selects native Apple Metal (8-bit Turbo ~0.8–1.2 s on M-series & exact FP16), NVIDIA CUDA (embedded offline fatbins sm60–sm90+, no nvcc/CUDA Toolkit), AMD HIP (embedded gfx1151 HSACO), or CPU SIMD (Apple SME/NEON, AVX-512 VNNI / AVX-VNNI / AVX2+FMA, plus bit-exact cross-compiler FP32 via --no-turbo).
  • Model Cards, Checksums & Input Guards: Added locked validation benchmarks, honest known limitations, SHA-256 weight provenance table in README.md, and explicit rejection of constant/zero-contrast volumes.

Companion Links