diff --git a/CHANGELOG.md b/CHANGELOG.md index 121a3fd..92b337d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ ### ⚡ Improvements -- **Installation**: The pack now ships a **`requirements.txt`**, so ComfyUI Manager installs the dependencies automatically and manual/portable installs have a one-line command (`python_embeded\python.exe -m pip install -r ...` for ComfyUI Portable — see the new "Installing dependencies" section in the README). Because this pack targets **NVIDIA RTX 3060+ GPUs only**, every feature dependency is mandatory: `soundfile`, `jieba`, `huggingface_hub`, `ffmpeg-python`, `opencv-python`, `imageio` (smart split), `nvidia-vfx` (RTX VSR upscale), `openai-whisper` and `qwen-asr` (subtitle recognition), and `voxcpm` (speech). No optional extras remain — previously these were installed on demand with error messages naming the missing package. +- **Installation**: The pack now ships a **`requirements.txt`**, so ComfyUI Manager installs the dependencies automatically and manual/portable installs have a one-line command (`python_embeded\python.exe -m pip install -r ...` for ComfyUI Portable — see the new "Installing dependencies" section in the README). Because this pack targets **NVIDIA RTX 3060+ GPUs only**, every feature dependency is mandatory: `soundfile`, `jieba`, `huggingface_hub`, `ffmpeg-python`, `opencv-python`, `imageio` (smart split), `nvidia-vfx` (RTX VSR upscale), `openai-whisper` and `qwen-asr` (subtitle recognition), and `voxcpm` (speech). No optional extras remain — previously these were installed on demand with error messages naming the missing package. The file also routes `nvidia-vfx` to NVIDIA's own index (`--extra-index-url https://pypi.nvidia.com/` + `--only-binary=nvidia-vfx`): the PyPI copy is a stub sdist whose `wheel_stub` build backend can abort the whole install (`Cannot import 'wheel_stub.buildapi'`), while NVIDIA's index serves real prebuilt wheels. - **Installation**: Removed the bundled `download_models.sh` downloader. All model files live in the Hugging Face version of the repository — cloning it downloads the complete model set, so there is no separate downloader step (the README's Models section now explains this). - **MultiTrack Editor**: The editor frontend was **reverted to the pristine upstream v1.3.3 source** — the MiniMax/Moxie format display-label mapping and every workaround built around it were removed. The shipped editor bundle is now built from that pristine source, so its behavior is exactly the battle-tested upstream editor (Shot/Context continuity, reference-size, audio lock, and MiniMax prompt placeholders all key on the native `MiniMax` format value again). - **Editor delivery fix**: A fresh browser could previously end up without the editor bundle entirely. ComfyUI core lets a pack's `WEB_DIRECTORY` overwrite its extension web-dir registration, so the browser's `/extensions` listing only ever contained this pack's helper scripts — never the editor entry — and the editor only appeared from stale browser cache. A small static loader (`web/js/editor-loader.js`, served with the helpers) now imports the editor entry from the pack's own route, which serves `index.js` with `no-cache` so the entry is always revalidated while its content-hashed chunks stay cacheable. After updating: restart ComfyUI and reload the page once; no cache-clearing gymnastics required. diff --git a/README.md b/README.md index 9d19d0f..a6ab6fa 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ pip install -r Your_ComfyUI_Path/custom_nodes/Moxie-Multimedia/requirements.txt Restart ComfyUI afterwards. > [!NOTE] -> The pack targets **NVIDIA RTX 3060+ GPUs only**, so every feature dependency is mandatory and installed by the command above — including speech generation (`voxcpm`), subtitle recognition (`openai-whisper`, `qwen-asr`), and the RTX Video Super Resolution upscale (`nvidia-vfx`). Expect a sizable first install: `qwen-asr` pins `transformers==4.57.6` (pip may upgrade it inside your ComfyUI environment) and `voxcpm` needs `torch>=2.5.0`, so keep ComfyUI reasonably current. If the command is interrupted, re-run it — it resumes where it stopped. +> The pack targets **NVIDIA RTX 3060+ GPUs only**, so every feature dependency is mandatory and installed by the command above — including speech generation (`voxcpm`), subtitle recognition (`openai-whisper`, `qwen-asr`), and the RTX Video Super Resolution upscale (`nvidia-vfx`). Expect a sizable first install: `qwen-asr` pins `transformers==4.57.6` (pip may upgrade it inside your ComfyUI environment) and `voxcpm` needs `torch>=2.5.0`, so keep ComfyUI reasonably current. `nvidia-vfx` is pulled from NVIDIA's own package index (`pypi.nvidia.com`, wired up inside `requirements.txt`) because the PyPI copy is a stub that fails to build on some setups — if the command is interrupted, re-run it and it resumes where it stopped. ### Models diff --git a/requirements.txt b/requirements.txt index 4f85616..e90ddac 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,12 +14,20 @@ # Notes: # - Core stack (torch, numpy, Pillow, PyYAML, aiohttp) comes with # ComfyUI itself. +# - The two pip options below route nvidia-vfx to NVIDIA's own package +# index: PyPI only hosts a stub sdist for nvidia-vfx whose build +# backend (wheel_stub) fails on some setups, while pypi.nvidia.com +# hosts the real prebuilt wheels (Windows + Linux, python 3.10-3.13). +# --only-binary=nvidia-vfx guarantees the stub sdist is never built. # - qwen-asr pins transformers==4.57.6 / accelerate==1.12.0, so pip may # upgrade those two packages inside your ComfyUI environment. # - voxcpm needs torch>=2.5.0 and torchcodec (wheels exist for Windows # and Linux, python 3.10-3.14); keep ComfyUI reasonably current. # - ffmpeg-python drives the FFmpeg binary - keep FFmpeg in PATH. +--extra-index-url https://pypi.nvidia.com/ +--only-binary=nvidia-vfx + # Audio: reading/writing merged and generated audio soundfile