-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (72 loc) · 1.98 KB
/
pyproject.toml
File metadata and controls
82 lines (72 loc) · 1.98 KB
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
77
78
79
80
81
[build-system]
requires = ["hatchling>=1.25"]
build-backend = "hatchling.build"
[project]
name = "floydnet"
version = "1.1.0"
description = "Floyd Multi-Head Attention: a drop-in variant of PyTorch MHA with module and function APIs"
readme = "README.md"
requires-python = ">=3.9"
license = { file = "LICENSE" }
authors = [
{ name = "Qiwei Ye", email = "chivee.ye@gmail.com" }
]
keywords = ["deep-learning", "pytorch", "attention", "multihead", "transformer","floydnet"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence"
]
dependencies = [
"torch>=2.1",
"typing-extensions>=4.6"
]
[project.optional-dependencies]
dev = [
"pytest>=7.4",
"pytest-cov>=4.1",
"ruff>=0.5",
"mypy>=1.8",
"numpy>=1.24"
]
[project.urls]
Homepage = "https://github.com/ocx-lab/FloydNet"
Repository = "https://github.com/ocx-lab/FloydNet"
Issues = "https://github.com/ocx-lab/FloydNet/issues"
[tool.hatch.build]
include = [
"README.md",
"LICENSE",
"CITATION.cff",
"CHANGELOG.md",
"src/**",
]
[tool.hatch.build.targets.wheel]
packages = ["src/floydnet"]
[tool.ruff]
line-length = 100
target-version = "py39"
select = ["E", "F", "I", "UP"]
[tool.mypy]
python_version = "3.9"
check_untyped_defs = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
no_implicit_optional = true
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra -q"
testpaths = ["tests"]
norecursedirs = ["example", "dist", ".git", ".venv"]
[tool.uv]
# This section is informational; uv uses pyproject to resolve dependencies.
index-url = "https://pypi.org/simple"