Skip to content

Releases

BrainChop Core v1.1.3

Choose a tag to compare

@github-actions github-actions released this 27 Nov 20:48

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 in js/src/index.ts while retaining the persistent singleton worker and pooled GPU workspace introduced in 1.1.1.
  • Bundler Regression Guards: Added a build-time check in js/esbuild.config.mjs (covering dist/index.js and all per-model entry points) and a unit assertion in js/test/webgpu_v4_unit.test.mjs verifying that every published entry preserves the literal new Worker(new URL("./worker*.js", import.meta.url), { type: "module" }) call.

Full Changelog: v1.1.2...v1.1.3

BrainChop Core v1.1.2

Choose a tag to compare

@github-actions github-actions released this 27 Nov 16:32

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

Choose a tag to compare

@github-actions github-actions released this 27 Nov 00:18

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

  • @FFR48 made their first contribution in #2

Full Changelog: v1.1.0...v1.1.1

BrainChop Core v1.1.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 23:20

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

BrainChop Core v1.0.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 23:40