-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
56 lines (50 loc) · 1.28 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
[build-system]
requires = ["poetry-core>=2.0,<3.0"]
build-backend = "poetry.core.masonry.api"
[project]
name = "mf_torch"
version = "0.1.0"
description = "Matrix Factorization Recommender Models in PyTorch with MovieLens"
authors = [{ name = "YuXuan Tay", email = "[email protected]" }]
license = "MIT"
readme = "README.md"
requires-python = "~=3.11"
dependencies = [
"bentoml~=1.3",
"flaml[blendsearch]~=2.3",
"jsonargparse[signatures]~=4.35",
"lancedb>=0.19,<0.20",
"lightning~=2.5",
"loguru>=0.7,<0.8",
"mlflow~=2.19",
"numpydantic~=1.6",
"onnxscript>=0.0,<0.2",
"onnxruntime~=1.20",
"pandas~=2.2",
"polars[pandas,deltalake]~=1.19",
"ray[data,train,tune]~=2.40",
"tensorboard~=2.17",
"torch~=2.5",
"xxhash~=3.4",
]
[dependency-groups]
dev = ["pre-commit~=4.0", "ruff>=0.6,<0.10"]
[tool.ruff]
fix = true
src = [".", "src", "tests"]
extend-include = ["*.ipynb"]
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"D", # pydocstyle
"E501", # line-too-long
"COM812", # missing-trailing-comma, conflicts with ruff formatter
"ERA001", # commented-out-code
"ISC001", # single-line-implicit-string-concatenation, conflicts with ruff formatter
]
[tool.ruff.lint.pydocstyle]
convention = "pep257"
[tool.ruff.lint.per-file-ignores]
"**/tests/**" = [
"S101", # assert
]