Fix: Remove incompatible dependencies (torchao, transformers)
Browse files123456789101112131434567891617181011121314153 unmodified lines192021222324# FLUX.2-dev Dependencies for HuggingFace Dedicated Endpoint
#
# FLUX.2-dev: 32B parameter model with Mistral Small 3.1 text encoder
# Requires substantial VRAM - recommended H200 (141GB) or H100 (80GB) with FP8
# Diffusion libraries
# Note: FLUX.2 support may require diffusers >= 0.33.0 or later
diffusers>=0.32.0
transformers>=4.47.0
accelerate>=1.0.0
# FP8 quantization support with torchao
# float8dq_e4m3_row provides best accuracy/speed tradeoff
torchao>=0.14.0
# USES REMOTE TEXT ENCODING - No local Mistral3 text encoder
# This avoids PyTorch version conflicts (HF Endpoints has PyTorch 2.2.0)
# Remote encoding saves ~24GB VRAM
#
# Note: Do NOT upgrade transformers beyond what HF Endpoints provides (4.48.0)
# as newer versions require PyTorch 2.6+ (torch.int1 attribute)
# Required for FLUX.2 models (Mistral Small 3.1 text encoder)
sentencepiece>=0.1.99
protobuf>=4.25.0
# Diffusion libraries - use HF Endpoints defaults where possible
# diffusers is pre-installed on HF Endpoints
accelerate>=0.25.0
# Image processing
Pillow>=10.0.03 unmodified lines
# HuggingFace Hub
huggingface_hub>=0.20.0
# HTTP requests for remote text encoding API
requests>=2.28.0requirements.txt+12-15