File size: 678 Bytes
6daffc2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[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"