forked from kyegomez/OpenMythos
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (73 loc) · 1.86 KB
/
pyproject.toml
File metadata and controls
86 lines (73 loc) · 1.86 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
82
83
84
85
86
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "open-mythos"
version = "0.5.0"
description = "OpenMythos — open-source theoretical reconstruction of the Claude Mythos Recurrent-Depth Transformer architecture"
license = "MIT"
authors = ["Kye Gomez <kye@swarms.world>"]
homepage = "https://github.com/The-Swarm-Corporation/OpenMythos"
documentation = "https://github.com/The-Swarm-Corporation/OpenMythos/blob/main/docs/open_mythos.md"
readme = "README.md"
repository = "https://github.com/The-Swarm-Corporation/OpenMythos"
keywords = [
"artificial intelligence",
"deep learning",
"transformers",
"recurrent transformers",
"looped transformers",
"mixture of experts",
"multi-latent attention",
"grouped query attention",
"adaptive computation time",
"recurrent depth transformer",
"LTI stability",
"inference-time scaling",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
]
[tool.poetry.dependencies]
python = ">=3.10,<4.0"
torch = "2.11.0"
transformers = ">=4.40.0"
datasets = ">=2.18.0"
[tool.poetry.extras]
flash = ["flash-attn"]
[tool.poetry.dependencies.flash-attn]
version = ">=2.8.3"
optional = true
[tool.poetry.group.lint.dependencies]
black = ">=23.1,<27.0"
ruff = ">=0.5.1,<0.15.9"
[tool.poetry.group.test.dependencies]
pytest = ">=8.1.1,<10.0.0"
[tool.poetry.group.dev.dependencies]
black = "*"
ruff = "*"
pytest = "*"
[tool.ruff]
line-length = 88
[tool.black]
target-version = ["py310"]
line-length = 88
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| docs
)/
'''