-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
137 lines (119 loc) · 3.15 KB
/
pyproject.toml
File metadata and controls
137 lines (119 loc) · 3.15 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "aorta"
version = "0.2.0"
description = "PyTorch compute-communication overlap debugging toolkit with GPU hardware queue evaluation"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.10"
authors = [
{name = "AMD ROCm Team"}
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: System :: Hardware",
]
keywords = ["gpu", "rocm", "amd", "pytorch", "cuda", "benchmark", "fsdp", "distributed-training", "hardware-queue"]
# Base dependencies (PyTorch installed separately - see requirements.txt)
dependencies = [
"pyyaml>=6.0",
"click>=8.0.0", # For aorta-report CLI
]
[project.scripts]
aorta-report = "aorta.report:main"
[project.optional-dependencies]
# For analysis/visualization scripts
analysis = [
"matplotlib>=3.7.0",
]
# For aorta-report CLI (full functionality)
report = [
"numpy>=1.20.0",
"pandas>=1.3.0",
"openpyxl>=3.0.0",
"matplotlib>=3.7.0",
"seaborn>=0.12.0",
"beautifulsoup4>=4.12.0",
]
# For hw_queue_eval subpackage
hw-queue = [
"numpy>=1.20.0",
"pandas>=1.3.0",
"tabulate>=0.9.0",
]
# For hw_queue_eval profiling features
hw-queue-profiling = [
"aorta[hw-queue]",
"matplotlib>=3.5.0",
"seaborn>=0.12.0",
]
# Magpie integration (GPU hardware control, kernel evaluation)
magpie = [
"magpie-eval @ git+https://github.com/AMD-AGI/Magpie.git",
]
# Development dependencies
dev = [
"pytest>=8.0.0",
"pytest-cov>=4.1.0",
"pytest-timeout>=2.1.0",
"pytest-xdist>=3.3.0",
"pre-commit>=3.0.0",
"black>=23.0.0",
"isort>=5.12.0",
"mypy>=1.0.0",
"ruff>=0.1.0",
]
# Full installation
all = [
"aorta[analysis]",
"aorta[report]",
"aorta[hw-queue]",
"aorta[hw-queue-profiling]",
"aorta[magpie]",
"aorta[dev]",
]
[project.urls]
Homepage = "https://github.com/ROCm/aorta"
Documentation = "https://github.com/ROCm/aorta#readme"
Repository = "https://github.com/ROCm/aorta"
[tool.setuptools.packages.find]
where = ["src"]
include = ["aorta*"]
[tool.setuptools.package-data]
aorta = ["py.typed"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"gpu: marks tests that require GPU",
"rocm: marks tests that require ROCm specifically",
"hw_queue: marks hw_queue_eval tests",
]
[tool.black]
line-length = 100
target-version = ['py310', 'py311', 'py312']
include = '\.pyi?$'
[tool.isort]
profile = "black"
line_length = 100
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.ruff]
line-length = 100
select = ["E", "F", "W", "I", "N", "UP", "B", "C4"]
ignore = ["E501"]