-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
62 lines (53 loc) · 1.33 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
57
58
59
60
61
62
[project]
name = "statedict2pytree"
version = "0.6.0"
description = "Converts torch models into PyTrees for Equinox"
readme = "README.md"
requires-python = "~=3.10"
authors = [{ name = "Artur A. Galstyan", email = "[email protected]" }]
dependencies = [
"jax",
"equinox",
"jaxlib",
"beartype",
"typing_extensions",
"loguru",
"jaxtyping",
"torch",
"flask",
"pydantic",
"penzai",
"torchvision",
"jaxonmodels",
"anthropic",
"python-dotenv",
"pytest",
]
[project.optional-dependencies]
dev = ["nox", "pre-commit", "pytest", "mkdocs"]
examples = ["jaxonmodels"]
[tool.ruff]
extend-include = ["*.ipynb"]
src = []
[tool.ruff.lint]
fixable = ["I001", "F401"]
ignore = ["E402", "E721", "E731", "E741", "F722", "F841", "F821"]
ignore-init-module-imports = true
select = ["E", "F", "I001"]
[tool.ruff.lint.isort]
combine-as-imports = true
extra-standard-library = ["typing_extensions"]
lines-after-imports = 2
order-by-type = false
[tool.pyright]
reportIncompatibleMethodOverride = true
reportMissingImports = false
include = ["statedict2pytree", "tests", "examples"]
exclude = ["testing_ground", "examples/llama/tokenizer.py"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build]
include = ['client/']