-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
122 lines (106 loc) · 2.58 KB
/
Copy pathpyproject.toml
File metadata and controls
122 lines (106 loc) · 2.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
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
[project]
name = "mate"
description = "MATE: MUSA AI Tensor Engine - A centralized library for Generative AI"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.10,<4.0"
authors = [
{ name = "MATE Contributors" }
]
keywords = ["musa", "ai", "attention", "gemm", "pytorch"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dynamic = ["version"]
dependencies = [
"apache-tvm-ffi>=0.1.8",
"torch>=2.7.0",
"click>=8.0.0",
"jinja2",
"packaging>=24",
]
[tool.setuptools.dynamic]
version = { attr = "mate._build_meta.__version__" }
[build-system]
requires = [
"setuptools>=77",
"packaging>=24",
"ninja",
"apache-tvm-ffi>=0.1.8",
"torch>=2.7.0",
]
build-backend = "build_backend"
backend-path = ["."]
[tool.setuptools]
include-package-data = false
py-modules = ["build_backend", "build_utils"]
[tool.mypy]
files = ["mate"]
ignore_missing_imports = true
show_column_numbers = true
show_error_context = true
follow_imports = "skip"
ignore_errors = false
strict_optional = false
exclude = [
"wrappers/",
"3rdparty/",
"build/",
]
[tool.ruff.lint]
ignore = [
# assign `lambda` expressions
"E731",
# temp disable
"F821",
]
[tool.setuptools.packages.find]
where=["."]
include=["mate*"]
[tool.setuptools.package-data]
"mate" = ["_build_meta.py"]
"mate.data" = ["csrc/**", "include/**", "aot/**"]
"mate.data.mutlass" = ["include/**", "experimental/**", "tools/**"]
[project.optional-dependencies]
# Full functionality including safetensors support and TileLang-backed ops
all = [
"safetensors>=0.4.0",
"tilelang",
]
# CLI extension for full replay support (safetensors enables tensor dump/replay)
cli = ["safetensors>=0.4.0"]
# TileLang-backed operators such as FlashMLA / GDN
tilelang = ["tilelang-musa"]
# Testing dependencies
testing = [
"einops",
"numpy",
"pytest>=7.0.0",
]
# Benchmark dependencies
benchmark = [
"einops",
"numpy",
"triton",
]
# Development dependencies
dev = [
"einops",
"numpy",
"safetensors>=0.4.0",
"pytest>=7.0.0",
"tilelang-musa",
"triton",
]
[project.urls]
Homepage = "https://github.com/MooreThreads/mate"
Repository = "https://github.com/MooreThreads/mate"
Documentation = "https://github.com/MooreThreads/mate/tree/main/docs"
[project.scripts]
mate = "mate.__main__:cli"