ReShot — copy the shot, not the actors. Video → depth map, OpenPose skeleton or canny lines for Seedance 2.0/2.5 reference video, MiniMax H3 Fun ControlNet and Wan VACE. Apache-2.0. Open-sourced by Maosika 猫斯卡 (www.maosika.com), the AI short-drama production system.
Python ai-short-dramaai-videocannycomfyuicontrolnetdepth-anythingdepth-estimationdwposemaosikaminimaxopenposepose-controlnetpose-estimationseedanceshort-dramavideo-generationvideo-to-videowan
0.3.8: fix MPS low-watermark error on torch >= 2.14; AGENT_INSTALL.md for AI coding agents
wangfeng9665da50dca9
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 827c504..3e55592 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,5 +1,11 @@# Changelog+## 0.3.8 — 2026-09-12+- Fix: on Apple Silicon with torch ≥ 2.14 the model failed to load with+ `invalid low watermark ratio 1.4` — the MPS low watermark is now set alongside the high one.+- `docs/AGENT_INSTALL.md`: a step-by-step install guide written for AI coding agents, and a+ copy-paste prompt in the README that points them at it.+## 0.3.7 — 2026-09-12- **On PyPI**: `pip install reshot` (and `uvx reshot …`). No git needed any more.diff --git a/demo/requirements.txt b/demo/requirements.txtindex 6d4fc33..08e576d 100644--- a/demo/requirements.txt+++ b/demo/requirements.txt@@ -1,5 +1,5 @@--extra-index-url https://download.pytorch.org/whl/cputorchtorchvision-reshot[ffmpeg]==0.3.7+reshot[ffmpeg]==0.3.8gradio>=4.0diff --git a/reshot/__init__.py b/reshot/__init__.pyindex 149ee07..c86994a 100644--- a/reshot/__init__.py+++ b/reshot/__init__.py@@ -16,8 +16,11 @@ import os# Apple Silicon: cap the MPS allocator at 60 % of the recommended working set. Unified# memory means GPU allocations count against the same RAM as everything else; without a# cap a long clip grows until the OS kills processes (seen 2026-09-11). Must be set-# before torch is imported, which is why it lives here.+# before torch is imported, which is why it lives here. The LOW watermark must be set+# too: torch's default low (1.4) is above our high, and torch ≥ 2.14 refuses to start+# with "invalid low watermark ratio" instead of ignoring it (found 2026-09-12).os.environ.setdefault("PYTORCH_MPS_HIGH_WATERMARK_RATIO", "0.6")+os.environ.setdefault("PYTORCH_MPS_LOW_WATERMARK_RATIO", "0.5")from ._version import __version__from .config import RunConfigdiff --git a/reshot/_version.py b/reshot/_version.pyindex 8879c6c..4ad67eb 100644--- a/reshot/_version.py+++ b/reshot/_version.py@@ -1 +1 @@-__version__ = "0.3.7"+__version__ = "0.3.8"