Repository navigation
Releases
Releases · neuroneural/brainchop-core
BrainChop Core v1.1.3
Restores bundler-visible static module worker instantiation in @brainchop/core so Vite, Rollup, and Webpack 5 emit the persistent segmentation worker chunk reliably.
Browser Package (@brainchop/core)
- Static Worker URL Fix: Restored the direct
new Worker(new URL(__BC_WORKER__, import.meta.url), { type: 'module' })expression injs/src/index.tswhile retaining the persistent singleton worker and pooled GPU workspace introduced in1.1.1. - Bundler Regression Guards: Added a build-time check in
js/esbuild.config.mjs(coveringdist/index.jsand all per-model entry points) and a unit assertion injs/test/webgpu_v4_unit.test.mjsverifying that every published entry preserves the literalnew Worker(new URL("./worker*.js", import.meta.url), { type: "module" })call.
Full Changelog: v1.1.2...v1.1.3
BrainChop Core v1.1.2
What's Changed
- feat(mindmap-fast): upgrade to MindMap-16 v4.1, refresh clinical docs, and use brainchop-core log prefix by @sergeyplis in #5
Full Changelog: v1.1.1...v1.1.2
BrainChop Core v1.1.1
What's Changed
- Preserve scaled NIfTI intensities in MindGrab output by @FFR48 in #2
- perf & guards (v1.1.1): small-brain norm & PVE fixes, JS worker/workspace pooling, ARM SDOT/x86 CPU turbo, Metal --pve turbo, and CUDA ABI 3 by @sergeyplis in #4
New Contributors
Full Changelog: v1.1.0...v1.1.1
BrainChop Core v1.1.0
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 brainchoporuvx 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=Trueto keep conformed 256³ outputs). - NIfTI-1 Provenance Stamping: Every output volume records version, model, 8-character
model.binSHA-256 weight digest, backend, and precision mode into its 80-bytedescripheader (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+, nonvcc/CUDA Toolkit), AMD HIP (embeddedgfx1151HSACO), 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
- Revamped Web App (
v5.0.0, 100% client-side): brainchop.org · Try 104-class live - Packages: PyPI (
brainchop) · npm (@brainchop/core) · Homebrew Tap - Full Changelog: CHANGELOG.md ·
v1.0.0...v1.1.0
BrainChop Core v1.0.0
Full Changelog: https://github.com/neuroneural/brainchop-core/commits/v1.0.0