-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathpyproject.toml
More file actions
40 lines (36 loc) · 1015 Bytes
/
pyproject.toml
File metadata and controls
40 lines (36 loc) · 1015 Bytes
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
[project]
name = "native_sparse_attention"
dynamic = ["version"]
description = "Trtion kernels for Native Sparse Attention"
readme = "README.md"
authors = [
{ name = "Songlin Yang", email = "yangsl66@mit.edu" },
{ name = "Yu Zhang", email = "yzhang.cs@outlook.com" },
]
license = { file = "LICENSE" }
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
requires-python = ">=3.10"
dependencies = [
"torch>=2.5",
"transformers>=4.45.0",
"triton>=3.0",
"datasets>=3.3.0",
"einops",
"ninja",
]
[project.optional-dependencies]
conv1d = ["causal-conv1d>=1.4.0"]
dev = ["pytest"]
[project.urls]
Homepage = "https://github.com/fla-org/native-sparse-attention"
[build-system]
requires = ["setuptools>=45", "wheel", "ninja", "torch"]
build-backend = "setuptools.build_meta"
[tool.isort]
line_length = 127
multi_line_output = 3