Skip to content

Commit 16b63f0

Browse files
committed
Replace poetry with uv in pyproject.toml
1 parent 26a7b22 commit 16b63f0

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

llmlib/pyproject.toml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
[tool.poetry]
1+
[project]
22
name = "llmlib"
33
version = "0.1.0"
44
description = ""
5-
authors = ["Tomas Ruiz <tomas.ruiz.te@gmail.com>"]
5+
authors = [
6+
{name = "Tomas Ruiz", email = "tomas.ruiz.te@gmail.com"}
7+
]
68
readme = "README.md"
7-
8-
[tool.poetry.dependencies]
9-
python = "^3.11"
10-
bugsnag = "^4.7.1"
11-
decord = "^0.6.0"
12-
google-cloud-aiplatform = "^1.64"
13-
decorator = "^5.1.1"
14-
lmdeploy = "^0.6.4" # for internvl2.5
15-
timm = "^1.0.12" # for internvl2.5
16-
replicate = "^1.0.4"
17-
transformers = "^4.47.1"
9+
requires-python = ">=3.11"
10+
dependencies = [
11+
"bugsnag>=4.7.1",
12+
"google-cloud-aiplatform>=1.64",
13+
"decorator>=5.1.1",
14+
"timm>=1.0.12", # for internvl2.5
15+
"replicate>=1.0.4",
16+
"transformers>=4.47.1",
17+
]
1818

1919
# I cannot add the dependencies below. I suspect that torch is a build-time dependency for flash-attn, or something like that.
20-
# accelerate = "^0.34.2"
21-
# flash-attn = "^2.6.3"
22-
# torch = "^2.4.0"
20+
# "accelerate>=0.34.2",
21+
# "flash-attn>=2.6.3",
22+
# "torch>=2.4.0",
2323

2424
[build-system]
25-
requires = ["poetry-core"]
26-
build-backend = "poetry.core.masonry.api"
25+
requires = ["hatchling"]
26+
build-backend = "hatchling.build"

0 commit comments

Comments
 (0)