-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
45 lines (38 loc) · 913 Bytes
/
pyproject.toml
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
[project]
name = "llm-server"
version = "0.1.0"
description = "Add your description here"
authors = [
{ name = "Kei Ishikawa", email = "[email protected]" }
]
dependencies = [
"flask>=3.0.3",
"transformers>=4.44.2",
"sentencepiece>=0.2.0",
"accelerate>=0.34.2",
"unsloth>=2024.9",
"torch==2.4.0",
]
readme = "README.md"
requires-python = ">= 3.8"
[project.scripts]
"llm-server" = "llm_server.app:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = [
"mypy>=1.11.2",
"isort>=5.13.2",
]
[tool.rye.scripts] # Run as "rye run <command>"
fmt = "rye fmt"
lint = "rye lint --fix"
check-all = { chain = ["isort .", "fmt", "lint", "mypy ." ] }
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/llm_server"]
[tool.mypy]
ignore_missing_imports = true