-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (66 loc) · 1.78 KB
/
Copy pathpyproject.toml
File metadata and controls
77 lines (66 loc) · 1.78 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
[project]
name = "prism-challenge"
version = "0.1.0"
description = "Prism neural architecture search challenge for BASE"
requires-python = ">=3.12"
dependencies = [
"aiosqlite>=0.20",
"fastapi>=0.115",
"httpx>=0.27",
"base @ https://github.com/BaseIntelligence/base/releases/download/v3.1.2/base-3.1.2-py3-none-any.whl#sha256=3a61c2d3a343ed6de55e80215486e3de0c9639276443d08f2ed316bc807f2ff0",
"pydantic>=2.8",
"pydantic-settings>=2.4",
"PyYAML>=6.0",
"numpy>=1.26",
"torch>=2.3",
"uvicorn[standard]>=0.30",
"tiktoken>=0.7",
"sentencepiece>=0.2",
"huggingface_hub>=0.24",
"cryptography>=49.0.0",
"pyjwt[crypto]>=2.13.0",
]
[project.optional-dependencies]
bittensor = ["bittensor>=9"]
dev = [
"pytest>=8",
"pytest-asyncio>=0.23",
"pytest-cov>=5",
"pytest-timeout>=2.3",
"ruff>=0.6",
"mypy>=1.10",
"bittensor>=9"
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project.scripts]
prism-worker = "prism_challenge.worker:main"
[tool.hatch.build.targets.wheel]
packages = ["src/prism_challenge"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
pythonpath = ["src"]
markers = [
"distributed_gloo: multi-rank gloo collective functional tests; quarantined from the publish-gating CI suite and run in a separate non-gating job with a per-test timeout so a collective hang never stalls image publish",
]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
ignore = ["B008"]
[tool.mypy]
python_version = "3.12"
packages = ["prism_challenge"]
ignore_missing_imports = true
warn_unused_ignores = false
[tool.coverage.run]
source = ["prism_challenge"]
branch = true
[tool.coverage.report]
fail_under = 80
show_missing = true