MMnode/requirements.txt
Z User 0a6a5d6aa9 fix: install nvidia-vfx from NVIDIA's index, never build the PyPI stub
PyPI only hosts a stub sdist for nvidia-vfx whose wheel_stub build
backend aborts the entire 'pip install -r requirements.txt' run
(BackendUnavailable: Cannot import 'wheel_stub.buildapi'). The real
prebuilt wheels (win_amd64 cp310/cp311/cp312-abi3 + manylinux) live on
pypi.nvidia.com. Route nvidia-vfx there with file-level pip options
(--extra-index-url + --only-binary=nvidia-vfx) so pip always picks the
wheel and the stub is never built. Validated in a clean venv: the
wheel installs and provides the nvvfx module rtx_vsr.py imports.
2026-09-29 02:37:56 +00:00

60 lines
2.0 KiB
Plaintext

# Moxie Multimedia Suite - Python dependencies
#
# ComfyUI-Manager installs this file automatically.
# If you cloned the pack manually, install it yourself - see README.md
# ("Installing dependencies") for the ComfyUI Portable command.
#
# This pack targets NVIDIA RTX 3060+ GPUs only, so every feature
# dependency ships as mandatory - speech, subtitle recognition, and the
# RTX Video Super Resolution upscale are all installed up front. The
# list is ordered light -> heavy: if a large package ever fails to
# install, everything above it is already in place and re-running the
# command resumes.
#
# 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
# Subtitles: CJK-aware smart line splitting
jieba
# Model downloads from the media browser / helper routes
huggingface_hub
# Smart split (shot detection) - ffmpeg CLI wrapper
ffmpeg-python
# Smart split (shot detection helpers)
opencv-python
# Smart split (dataset loaders)
imageio
# RTX Video Super Resolution upscale (NVIDIA RTX GPUs only)
nvidia-vfx
# Subtitle recognition (local Whisper)
openai-whisper
# Subtitle recognition (Qwen ASR) - pins transformers==4.57.6
qwen-asr
# Speech / voiceover generation (VoxCPM)
voxcpm