z-image-studio / requirements.txt
techfreakworm's picture
fix(deps): add torchaudio + pin transformers<5
5ab6428 unverified
raw
history blame contribute delete
731 Bytes
# Core
gradio==5.50.0
# `spaces` is auto-injected by HF Spaces on ZeroGPU at build time (pin would conflict).
# Locally, install it ad-hoc if you want to test the @spaces.GPU decorator path.
diffsynth @ git+https://github.com/modelscope/DiffSynth-Studio.git
torch>=2.4
torchaudio>=2.4 # DiffSynth blanket-imports torchaudio in diffsynth.core.data.operators
safetensors>=0.4.5
huggingface-hub>=0.27
transformers>=4.45,<5.0 # DiffSynth 2.0.7 imports SiglipVisionTransformer (removed in transformers 5.x)
# ControlNet preprocessors
controlnet-aux>=0.0.9
opencv-python-headless>=4.9.0
einops>=0.8.0
# Upscaler
realesrgan>=0.3.0
basicsr>=1.4.2
# Imaging
pillow>=10.4.0
numpy>=1.26
# Dev
ruff>=0.6.0
pytest>=8.0
pytest-mock>=3.14