Download requirements.txt from kkytai/flux2-dev-handler: direct link, hf CLI and curl.
- Browser
- Download file 721 Bytes
-
https://huggingface.co/kkytai/flux2-dev-handler/resolve/main/requirements.txt
- Command line
-
hf download hf://kkytai/flux2-dev-handler/requirements.txt
-
curl -L -o requirements.txt https://huggingface.co/kkytai/flux2-dev-handler/resolve/main/requirements.txt
721 Bytes
| # FLUX.2-dev Dependencies for Custom Docker Container | |
| # | |
| # Base image: pytorch/pytorch:2.9.1-cuda12.8-cudnn9-runtime | |
| # torchao 0.14+ requires PyTorch 2.9.0+ for full FP8 support | |
| # Diffusion libraries | |
| diffusers>=0.32.0 | |
| transformers>=4.47.0 | |
| accelerate>=1.0.0 | |
| # FP8 quantization support with torchao | |
| torchao>=0.14.0 | |
| # Required for FLUX.2 models (Mistral Small 3.1 text encoder) | |
| sentencepiece>=0.1.99 | |
| protobuf>=4.25.0 | |
| # Image processing | |
| Pillow>=10.0.0 | |
| # Model loading | |
| safetensors>=0.4.0 | |
| # HuggingFace Hub | |
| huggingface_hub>=0.20.0 | |
| hf_transfer>=0.1.4 # Fast model downloads | |
| # FastAPI server | |
| fastapi>=0.109.0 | |
| uvicorn[standard]>=0.27.0 | |
| pydantic>=2.0.0 | |
| # Utilities | |
| python-multipart>=0.0.6 | |