[build-system] requires = ["hatchling>=1.28,<2"] build-backend = "hatchling.build" [project] name = "dflow" dynamic = ["version"] description = "Inference package for the dflow_2b text-to-image model" readme = "README.md" requires-python = ">=3.12" license = { file = "LICENSE" } dependencies = [ "torch>=2.13", "huggingface-hub>=1.15,<2", "numpy>=2,<3", "pillow>=12,<13", "safetensors>=0.7", "scipy>=1.17,<2", "timm==1.0.26", "torchsde==0.2.6", "transformers>=5.12,<6", ] [project.optional-dependencies] diffusers = ["diffusers>=0.40"] [tool.hatch.build.targets.wheel] packages = ["dflow"] [tool.hatch.version] path = "dflow/version.py"