-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (63 loc) · 1.58 KB
/
pyproject.toml
File metadata and controls
74 lines (63 loc) · 1.58 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
[build-system]
requires = ["setuptools>=68.0"]
build-backend = "setuptools.build_meta"
[project]
name = "flowsim"
version = "0.1.0"
description = "Workload simulation pipeline for kernel-level inference profiling"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.10"
dependencies = [
"requests>=2.28",
"perfetto>=0.7",
"numpy>=1.24",
"pandas>=1.5",
"PyYAML>=6.0",
]
[project.optional-dependencies]
# Scheduler backends -------------------------------------------------------
k8s = [
"kubernetes>=27.0", # K8s Python client for remote job submission
]
slurm = [] # Slurm REST API uses stdlib urllib only
# Full simulation stack (matches Dockerfile) --------------------------------
sim = [
"scalesim>=2.0",
"scipy>=1.10",
"torch>=2.0",
]
# Visualization -------------------------------------------------------------
viz = [
"matplotlib>=3.7",
"seaborn>=0.12",
]
# Backend API ---------------------------------------------------------------
api = [
"fastapi>=0.100",
"pydantic>=2.0",
"uvicorn>=0.23",
]
# Development ---------------------------------------------------------------
dev = [
"black>=23.0",
"pytest>=7.0",
]
# Everything ----------------------------------------------------------------
all = [
"flowsim[k8s,sim,viz,api,dev]",
]
[tool.setuptools.packages.find]
include = [
"schedulers*",
"scripts*",
"simulator*",
"utils*",
]
[project.scripts]
flowsim = "scripts.cli:main"
[tool.black]
line-length = 80
include = '\.pyi?$'
[tool.pytest.ini_options]
testpaths = ["tests"]