diff --git a/configs/cpu-fast.yaml b/configs/cpu-fast.yaml new file mode 100644 index 0000000..70332d0 --- /dev/null +++ b/configs/cpu-fast.yaml @@ -0,0 +1,20 @@ +# Urgent CPU-only lane: fp32, birefnet segmentation, NO cross-check, NO anime-seg. +# +# This is the lightest production path: base ViTMatte + one BiRefNet@1024, ~14-15s +# per 1.5 MP image on CPU. It needs ONLY these two weights provisioned -- +# BiRefNet_HR-matting (cross-check) and anime-seg are never loaded. +# +# Anything omitted here inherits the built-in defaults (identical to default.yaml). + +model: + device: cpu + precision: fp32 # fp32 only: this lane targets non-bf16 CPUs + +segmentation: + enabled: true + backend: birefnet # the only backend this lane uses + device: cpu + precision: fp32 + +cross_check: + enabled: false # no second-opinion HR-matting pass (the big cost/mem sink)