-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (78 loc) · 2.22 KB
/
Copy pathpyproject.toml
File metadata and controls
87 lines (78 loc) · 2.22 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
[build-system]
requires = ["setuptools>=69.0", "wheel", "pip>=21.0"]
build-backend = "setuptools.build_meta"
[project]
name = "gas"
dynamic = ["version"]
description = "SN34 on bittensor"
authors = [{ name = "GAS", email = "intern@bitmind.ai" }]
readme = "README.md"
requires-python = ">=3.10"
license = { text = "" }
urls = { homepage = "http://bitmind.ai" }
dependencies = [
"bittensor==10.4.0",
"bittensor-cli==9.22.0",
"pillow==12.2.0",
"numpy==2.0.1",
"pandas==2.3.0",
"torch==2.7.1",
"torchvision==0.22.1",
"flash-attn>=2.7.0",
"httpcore==1.0.9", # >=1.0.9 required for h11 0.16 (CVE: malformed chunked-encoding)
"httpx==0.28.1",
"pyarrow==23.0.1",
"ffmpeg-python==0.2.0",
"imageio-ffmpeg==0.6.0",
"bitsandbytes==0.45.4",
"diffusers==0.38.0",
"transformers==4.57.6", # >=4.57 required for Qwen3-VL support
"qwen-vl-utils>=0.0.14",
"av==14.2.0",
"opencv-python==4.11.0.86",
"wandb==0.19.9",
"uvicorn==0.27.1",
"httptools>=0.6.0",
"peft==0.17.0",
"aiohttp>=3.10.2",
"hf_xet==1.1.7",
"python-dotenv==1.2.2",
"accelerate==1.8.1",
"click>=8.0.0",
"datasets==4.0.0",
"async-substrate-interface==2.2.1",
"ftfy==6.3.1",
"huggingface_hub>=0.17.0",
"gasbench @ git+https://github.com/BitMind-AI/gasbench.git@dev",
"imagehash>=4.3.1",
"c2pa-python>=0.29.0",
"runwayml>=4.13.0",
]
[project.scripts]
gascli = "gas.cli:cli"
[dependency-groups]
dev = ["pytest>=8.0", "black>=26.3.1", "pre-commit>=4.2.0"]
[tool.uv.extra-build-dependencies]
flash-attn = ["torch==2.7.1"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
[tool.ruff.lint.per-file-ignores]
# T201 (print): allowed in genuine CLI presenters / tools / scripts, where
# stdout is the intended output. Library code must use bt.logging.
"gas/cache/util/miner_stats.py" = ["T201"]
"gas/protocol/miner_requests.py" = ["T201"]
"neurons/discriminator/push_model.py" = ["T201"]
"neurons/generator/helper/verify_c2pa.py" = ["T201"]
"scripts/**" = ["T201"]
"tests/**" = ["T201"]
[tool.setuptools]
packages = { find = { where = [
".",
], exclude = [
"docs*",
"wandb*",
"*.egg-info",
] } }
[tool.setuptools.dynamic]
version = { file = "VERSION" }