-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
34 lines (32 loc) · 823 Bytes
/
Copy pathpyproject.toml
File metadata and controls
34 lines (32 loc) · 823 Bytes
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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "miniinfer"
version = "0.1.0"
description = "a lightweight LLM inference framework implementation built from scratch"
authors = [{ name = "lzy", email = "tomlzy213@gmail.com" }]
requires-python = ">=3.10,<3.13"
readme = "README.md"
license = "MIT"
dependencies = [
"torch>=2.6.0",
"triton>=3.0.0",
"transformers>=4.51.0",
"xxhash",
"numpy>=2.2.4",
"accelerate>=1.11.0",
#"flash-attn>=2.8.3",
"ruff>=0.11.6",
"pre-commit>=4.0.0",
"pandas",
"matplotlib",
"pytest",
]
[tool.pytest.ini_options]
addopts = ["--import-mode=importlib"]
pythonpath = "."
[tool.setuptools.packages.find]
where = ["miniinfer"]
#[tool.uv.extra-build-dependencies]
#flash-attn = ["torch"]