Repository navigation
fastforks 0.2.0
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; onevideo(...)verb for SAM 2 / SAM 3 / MatAnyone; keyword-only arguments where they were positional. The old 0.1.1 names keep working with aFutureWarninguntil 2026-12-15. The public API is frozen intests/api_snapshot.txtfrom now on. - Weights:
~/.cache/fastforksis 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 clearBackendUnavailableErrorbefore 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).