This repository was archived by the owner on Dec 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (65 loc) · 1.38 KB
/
pyproject.toml
File metadata and controls
72 lines (65 loc) · 1.38 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
72
[tool.poetry]
name = "vae"
version = "0.1.0"
description = ""
authors = ["Tsvika S <tsvikas@gmail.com>"]
#readme = "README.md"
#packages = [{ include = "models", from = "src" }]
[tool.poetry.dependencies]
python = "^3.11,!=3.11.0"
torch = "^2.0.1"
torchvision = "^0.15.2"
pytorch-lightning = "^2.0.2"
wandb = "^0.15.2"
rich = "^13.3.5"
einops = "^0.6.1"
typer = {extras = ["all"], version = "^0.9.0"}
[tool.poetry.group.jupyter.dependencies]
jupyterlab = "^4.0.11"
matplotlib = "^3.7.1"
ipywidgets = "^8.0.6"
jupytext = "^1.14.5"
jupyter-collaboration = "^1.0.0a8"
python-lsp-server = "^1.7.3"
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.3.1"
ruff = "^0.0.264"
black = "^24.3.0"
[[tool.poetry.source]]
name = "pytorch"
# to use with cuda 11.8+, replace this with https://download.pytorch.org/whl/cu118
url = "https://pypi.org/"
priority = "explicit"
[tool.ruff]
select = ["ALL"]
ignore = [
"D",
"ANN",
"COM812",
"ARG002",
"PLR",
"RET504",
"S101",
"E501",
"ERA001",
"EM101",
"EM102",
"C408",
"TRY003",
"FBT002",
"PLW2901",
]
src = ["src"]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
"src/train.py" = ["INP001", "T201"]
"src/models/resnet_vae.py" = ["T201", "PD002"]
"src/explore_model.py" = [
"INP001",
"E703",
"S108",
"T201",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"