Skip to content

fastforks 0.2.0

Choose a tag to compare

@kleinicke kleinicke released this 17 Nov 00:45
· 2 commits to main since this release

New tasks and models, a more consistent API, and a readable weight cache. The full list is in CHANGELOG.md.

  • New models and tasks, among them YuNet face detection, Restormer and NAFNet restoration, volume segmentation (nnFoundation, TotalSegmentator, nnInteractive), DepthSplat and LingBot-Map multi-view, MatAnyone matting, MLSD / AnyLine edges, PARSeq / PP-OCRv5 OCR and several trackers. Each card lists speed and memory against the original code.
  • API: lists in, lists out for all single-image and pair tasks; save(path) on restoration, flow, volume and instance results; one video(...) verb for SAM 2 / SAM 3 / MatAnyone; keyword-only arguments where they were positional. The old 0.1.1 names keep working with a FutureWarning until 2026-12-15. The public API is frozen in tests/api_snapshot.txt from now on.
  • Weights: ~/.cache/fastforks is the content-addressed store; a readable <family>/<file> symlink view sits next to it. Weights that are already in the Hugging Face cache stay there.
  • Features that are known not to work in this release (a card's planned) raise a clear BackendUnavailableError before any work.
  • Apple Silicon: CPU channels-last convolutions are used on x86 only; float16 on MPS for many families.

Install: pip install fastforks==0.2.0 (also fastforks-core, fastforks-nc).