# Core runtime — every node pack install pulls this.
# Heavy / platform-specific extras live in pyproject.toml under
# [project.optional-dependencies]. Install via:
#   pip install -r requirements.txt
#   pip install bitsandbytes        # for TS_Qwen3_VL_V3 int4/int8
#   pip install demucs geomloss pykeops  # for the older Demucs engine in TS_Music_Stems
#   pip install silero silero-stress  # Russian TTS / stress marks
#   python -m pip install litert-lm-api==0.19.0  # TS Super Prompt RT / TS RT Prompt Enhancer
# LiteRT nodes use the API package only. If an UNUSED old litert-lm CLI reports
# a conflicting API pin, remove its CLI/builder; do not downgrade the API:
#   python -m pip uninstall litert-lm litert-lm-builder
#
# TS RTX Upscaler needs NVIDIA's own package index — the copy on PyPI is a
# 2.7 KB stub that fails to build, while the real wheel (~436 MB of VFX SDK,
# TensorRT and NPP libraries) lives only here:
#   pip install --upgrade nvidia-vfx==0.2.0.0 --no-build-isolation --index-url https://pypi.nvidia.com
# The rtx-upscaler extra requires >=0.2.0.0,<0.3, matching official Nvidia VFX
# Nodes (>=0.2). Keep this optional; it is not a dependency of CPU/non-RTX nodes.
#
# ⚠️ litert-lm-api СОЗНАТЕЛЬНО не в списке ниже и не в extra `all`: это
# нативный рантайм с точной версией ради двух нод, и колёс под Intel-мак у него
# нет. (Прежняя пометка «колёс под Linux нет» была ошибкой: manylinux_2_27
# x86_64/aarch64 есть, проверено 27.09.2026.) Ноды без него грузятся и
# объясняют, чего не хватает.
huggingface_hub>=0.20.0
# TS Music Stems runs BS-RoFormer and Mel-Band RoFormer as its default engines,
# and the vendored architectures need these two. Small, pure-Python, no build
# step — core rather than optional, because without them the node's default
# model does not load at all.
einops>=0.7.0
rotary-embedding-torch>=0.5.0
# The vendored attend.py compares torch versions with `packaging` at import
# time. It usually arrives with pip/setuptools/transformers, which is not a
# promise — declared so the default stems model never fails on a lean env.
packaging>=21.0
# ⚠️ 5.2.0, а не 4.x. Модель по умолчанию у TS Super Prompt — Qwen3.5, а её
# архитектуру (`qwen3_5`) transformers впервые понимает начиная с 5.2.0
# (проверено по тегам репозитория: в 5.1.0 её ещё нет). На более старой
# библиотеке нода скачивала гигабайты и лишь потом падала «Transformers does
# not recognize this architecture» — реальная жалоба пользователя. Теперь она
# ещё и проверяет это ДО скачивания, но floor обязан говорить правду.
transformers>=5.2.0
accelerate>=0.21.0
srt>=3.5.0
# Native OpenAI Whisper — unified engine for TS Whisper + TS Super Prompt voice.
openai-whisper>=20231117
opencv-python-headless>=4.5.0
# Фронтенд пака живёт внутри ComfyUI (DOM-виджеты, оверлей, темы). Держим в
# обоих файлах: pip install -r requirements.txt не читает pyproject.toml, и
# строка была только там.
comfyui-frontend-package>=1.48.0
matplotlib>=3.4.0
imageio>=2.20.0
imageio-ffmpeg>=0.4.0
# TS Files Downloader talks HTTP directly; it arrived transitively via
# huggingface_hub, which is not a promise to keep shipping it.
requests>=2.28.0
urllib3>=1.26.0
easydict>=1.10.0
tiktoken
