-
Notifications
You must be signed in to change notification settings - Fork 34
/
pyproject.toml
76 lines (66 loc) · 1.44 KB
/
pyproject.toml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[project]
name = "transfusion-pytorch"
version = "0.7.0"
description = "Transfusion in Pytorch"
authors = [
{ name = "Phil Wang", email = "[email protected]" }
]
readme = "README.md"
requires-python = ">= 3.8"
license = { file = "LICENSE" }
keywords = [
'artificial intelligence',
'deep learning',
'transformers',
'attention mechanism',
'rectified flow',
]
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.8',
]
dependencies = [
'beartype',
'einx>=0.3.0',
'einops>=0.8.0',
'ema-pytorch',
'loguru',
'jaxtyping',
'rotary_embedding_torch>=0.8.4',
'torchdiffeq',
'torch>=2.0',
'tqdm'
]
[project.urls]
Homepage = "https://pypi.org/project/transfusion-pytorch/"
Repository = "https://github.com/lucidrains/transfusion-pytorch"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project.optional-dependencies]
examples = [
"datasets",
"diffusers"
]
test = [
"pytest",
]
[tool.ruff]
line-length = 1000
lint.ignore = [
"F722", # for jaxtyping shape annotation
"F401",
"F821",
"E402"
]
[tool.pytest.ini_options]
pythonpath = [
"."
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["transfusion_pytorch"]