-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (61 loc) · 1.2 KB
/
pyproject.toml
File metadata and controls
71 lines (61 loc) · 1.2 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
[project]
name = "llmart"
version = "2026.01.1"
description = "LLMart"
authors = []
readme = "README.md"
license = {file = "LICENSE"}
requires-python = "~=3.11.0"
dependencies = []
[project.optional-dependencies]
core = [
"hydra-core==1.3.2",
"hydra-colorlog==1.2.0",
"accelerate==1.6.0",
"transformers[sentencepiece,torch-vision]==4.53.0",
"tensorboard==2.18.0",
"datasets==3.1.0",
]
gpu = [
"torch==2.8.0",
"llmart[core]",
]
xpu = [
"torch==2.8.0+xpu",
"pytorch-triton-xpu==3.4.0",
"llmart[core]",
]
dev = [
"pre-commit==4.1.0",
"basedpyright==1.28.1",
"pytest==8.3.2",
"ruff==0.11.0",
]
[build-system]
requires = ["uv_build>=0.11.6,<0.12"]
build-backend = "uv_build"
[tool.basedpyright]
venvPath = "."
venv = ".venv"
typeCheckingMode = "standard"
deprecateTypingAliases = true
reportDeprecated = true
reportPrivateImportUsage = false
[tool.uv]
conflicts = [
[
{ extra = "gpu" },
{ extra = "xpu" },
],
]
[tool.uv.sources]
torch = [
{ index = "pytorch-xpu", extra = "xpu" },
]
pytorch-triton-xpu = [
{ index = "pytorch-xpu", extra = "xpu" },
]
[[tool.uv.index]]
name = "pytorch-xpu"
url = "https://download.pytorch.org/whl/xpu"
explicit = true