-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathpyproject.toml
More file actions
112 lines (102 loc) · 2.27 KB
/
pyproject.toml
File metadata and controls
112 lines (102 loc) · 2.27 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src", "."]
include = ["tplr*", "neurons*"]
[project]
name = "tplr"
description = "Incentivised Internet-Wide Training"
readme = "README.md"
dynamic = ["version"]
requires-python = ">=3.11"
dependencies = [
"bittensor>=9.10.1",
"bt-decode",
"torch>=2.7.1",
"boto3",
"einops",
"aiofiles",
"aiofiles==24.1.0",
"aioboto3==13.2.0",
"transformers",
"pip",
"wandb",
"python-dotenv",
"zstandard",
"s3fs",
"pyarrow",
"scipy",
"rich>=13.0.0",
"lm-eval>=0.4.8",
"psutil>=7.0.0",
"influxdb-client>=1.48.0",
"multiprocessing-logging>=0.3.4",
"python-logging-loki>=0.3.1",
"uvloop>=0.21.0",
"openskill>=6.0.2",
"dnspython>=2.7.0",
"torchtitan",
"pydantic>=2.11.7",
"ruff>=0.12.12",
]
[tool.setuptools.dynamic]
version = {attr = "tplr.__version__"}
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.23.0",
"pytest-cov>=4.1.0",
"pytest-asyncio",
"pytest-mock>=3.14.0",
"ipykernel",
"ipython",
"pandas",
"matplotlib",
"seaborn",
"ruff",
"pytest-xdist",
"bittensor-cli>=9.11.0",
"pytest-dotenv",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
addopts = "-v -s --capture=no --log-cli-level=INFO"
asyncio_mode = "auto"
markers = [
"asyncio: mark test as async",
]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
"ignore::FutureWarning",
"ignore::pytest_asyncio.plugin.PytestDeprecationWarning",
# Keep other warnings
"default::RuntimeWarning",
"default::UserWarning",
]
[tool.uv]
prerelease = "allow"
[tool.uv.sources]
torchtitan = { git = "https://github.com/one-covenant/torchtitan", branch = "templar-main" }
[tool.ruff]
# Exclude directories that often trigger permission issues
exclude = [
".git",
"venv",
".venv",
"node_modules",
"build",
"dist",
"__pycache__",
"downloads",
"eggs",
".eggs",
"influxdb_data"
]
[tool.ruff.lint]
select = ["I"]
[tool.ruff.lint.isort]
known-first-party = ["tplr", "neurons", "scripts", "tests"]
known-third-party = ["wandb"]