forked from XPU-Forces/mojo_opset
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (54 loc) · 1.16 KB
/
Copy pathpyproject.toml
File metadata and controls
62 lines (54 loc) · 1.16 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
[build-system]
requires = ["setuptools>=42", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
version = "0.0.3.post11"
name = "byted-mojo-opset"
requires-python = ">=3.9"
description = "LLM opset with effecient implementents"
urls = { "Homepage" = "https://code.byted.org/data/mojo_opset" }
readme = { file = "README.md", content-type = "text/markdown" }
authors = [{name="SeedXPU", email='yuminghui.exp@bytedance.com'}]
dependencies = [
"einops",
]
[project.optional-dependencies]
npu = [
"byted-triton-x >= 3.2.0.post19"
]
mlu = [
]
amd = [
]
ilu = [
]
xpu = [
]
[tool.setuptools.packages.find]
include = ["mojo_opset*"]
[tool.ruff]
line-length = 120
target-version = "py39"
respect-gitignore = true
src = ["mojo_opset"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
]
ignore = ["B006", "E731", "A002", "E203"]
exclude = [
".git",
"__pycache__",
".venv",
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.ruff.lint.isort]
known-first-party = ["mojo_opset"]
force-single-line = true
lines-between-types = 1