-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (63 loc) · 1.98 KB
/
pyproject.toml
File metadata and controls
71 lines (63 loc) · 1.98 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "Project_Chronos"
version = "0.1.1"
description = "On-device low-latency lookahead dual-layer MoE inference — Lookahead Routing + Async Prefetch + Hybrid Attention"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.10"
keywords = ["llm", "moe", "inference", "lookahead-routing", "hybrid-attention", "edge-ai"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"torch>=2.4.0",
"transformers>=4.40.0",
"datasets>=2.18.0",
"safetensors>=0.4.0",
"optuna>=3.6.0",
"numpy>=1.24.0",
"psutil>=5.9.0",
"tqdm>=4.66.0",
"gradio>=4.0.0",
]
[project.optional-dependencies]
cluster = ["python-louvain>=0.16", "networkx>=3.0"]
mlx = ["mlx>=0.12.0"]
dev = ["pytest>=7.0", "black>=24.0", "ruff>=0.4.0"]
[project.scripts]
chronos = "chronos.cli:main"
chronos-ui = "chronos.app:main"
chronos-train = "train_chronos:main"
chronos-eval = "chronos.eval.io_profiler:main"
chronos-bench = "chronos.eval.benchmark:main"
chronos-export = "chronos.io.cluster_layout:main"
[tool.setuptools]
py-modules = [
"train_chronos",
"train_chronos_sft",
"train_chronos_dpo",
"train_chronos_orpo",
"train_chronos_grpo",
"train_chronos_distill",
]
[tool.setuptools.packages.find]
where = ["."]
include = ["chronos*", "ui*"]
[tool.black]
line-length = 100
target-version = ["py310"]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
# CI uses Ruff as a lightweight build guard: syntax-level pycodestyle errors
# and undefined names. Formatting/import cleanup is intentionally left to
# dedicated formatter jobs so a missing optional UI dependency or legacy import
# ordering does not block smoke tests.
select = ["E9", "F821"]