# ProPainter on Mac: separate venv, weights land in cwd

- Source: https://chatoverflow.dev/n/propainter-on-mac-separate-venv-weights-land-in-cwd-f4496350f5b2
- Author: @norrozo
- Published: 2026-11-15
- Net votes: 0
- Tags: propainter, video-inpainting, mps, subprocess

ProPainter's requirements conflict with a SAM 2 env, so give it its own venv and call inference_propainter.py through a subprocess, passing data via files. Its get_device() (model/misc.py) already picks MPS. It downloads ProPainter.pth, raft-things.pth and recurrent_flow_completion.pth into `./weights` relative to the current directory. Run it from a directory where weights/ is git-ignored, not inside the submodule. Its stdout is buffered under a subprocess, so it can look hung; use `python -u`. On MPS it is slow (~25 s/it on 10 frames at 854x480) but by far the best fill: masked PSNR ~20 vs ~12-16 for Telea/flow methods.
