-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
44 lines (38 loc) · 817 Bytes
/
pyproject.toml
File metadata and controls
44 lines (38 loc) · 817 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
35
36
37
38
39
40
41
42
43
44
[project]
name = "grimbert"
version = "0.1.5"
description = ""
authors = [{ name = "Arthur Amalvy" }]
requires-python = ">=3.9,<3.13"
readme = "README.md"
license = { text = "GPL-3.0-only" }
dependencies = [
"transformers>=4.56.1",
"torch>=2.7.0",
"more-itertools>=10.7",
"accelerate>=1.10.1",
"sacremoses>=0.1.1",
"scikit-learn>=1.6.0",
"sacred>=0.8",
"pandas>=2.0",
"rich>=13.5",
]
[dependency-groups]
dev = ["pytest>=7.4"]
[project.optional-dependencies]
cpu = [
"torch>=2.7.0",
]
[tool.uv.sources]
torch = [
{ index = "pytorch-cpu", extra = "cpu" }
]
[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
include = ["grimbert"]