-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
47 lines (42 loc) · 1.06 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
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "samba_pytorch"
dynamic = ["version"]
description = "Minimal implementation of Samba by Microsoft in PyTorch"
readme = "README.md"
requires-python = ">=3.9"
license = {text = "MIT"}
authors = [
{name = "Peter Szemraj", email = "peterszemraj+dev@gmail.com"},
]
dependencies = [
"causal-conv1d",
"einops>=0.3",
"fla @ git+https://github.com/sustcsonglin/flash-linear-attention@98c176e",
"flash-attn>=2.0.0.post1",
"mamba-ssm",
"numpy",
"rotary-embedding-torch",
"sentencepiece",
"torch>=2.0.0",
"tqdm",
"transformers",
"xformers",
]
[tool.setuptools]
packages = ["samba_pytorch"]
[tool.setuptools_scm]
write_to = "samba_pytorch/_version.py"
version_scheme = "no-guess-dev"
[project.urls]
Homepage = "https://github.com/pszemraj/samba-pytorch"
Repository = "https://github.com/pszemraj/samba-pytorch"
[project.optional-dependencies]
dev = [
"pytest>=6.0",
"ruff",
"isort",
"mypy",
]