Fix: Remove incompatible dependencies (torchao, transformers)
Browse files1234567891011121314151617181920213 unmodified lines252627# 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 laterdiffusers>=0.32.0transformers>=4.47.0accelerate>=1.0.0# FP8 quantization support with torchao# float8dq_e4m3_row provides best accuracy/speed tradeofftorchao>=0.14.0# Required for FLUX.2 models (Mistral Small 3.1 text encoder)sentencepiece>=0.1.99protobuf>=4.25.0# Image processingPillow>=10.0.03 unmodified lines# HuggingFace Hubhuggingface_hub>=0.20.01234567891011121314153 unmodified lines192021222324# FLUX.2-dev Dependencies for HuggingFace Dedicated Endpoint## 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)# Diffusion libraries - use HF Endpoints defaults where possible# diffusers is pre-installed on HF Endpointsaccelerate>=0.25.0# Image processingPillow>=10.0.03 unmodified lines# HuggingFace Hubhuggingface_hub>=0.20.0# HTTP requests for remote text encoding APIrequests>=2.28.0
requirements.txt+12-15