-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (65 loc) · 1.85 KB
/
pyproject.toml
File metadata and controls
75 lines (65 loc) · 1.85 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
73
74
75
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "vlora-dev"
version = "1.0.0"
description = "Various LoRA adapters. One shared basis. Up to 122x compression at scale."
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.9"
authors = [{ name = "Tim Veseli" }]
keywords = ["lora", "llm", "parameter-efficient", "fine-tuning", "subspace"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"torch>=2.0",
"safetensors>=0.4",
"packaging>=21.0",
"numpy>=1.21",
"click>=8.0",
]
[project.scripts]
vlora = "vlora.cli:cli"
[project.optional-dependencies]
hub = ["huggingface-hub>=0.20"]
hf = ["transformers>=4.38", "huggingface-hub>=0.20"]
docs = ["mkdocs-material>=9.5", "mkdocstrings[python]>=0.24"]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"huggingface-hub>=0.20",
"pre-commit>=3.0",
"ruff>=0.8",
"mypy>=1.0",
]
[project.urls]
Homepage = "https://github.com/vlora-dev/vlora"
Repository = "https://github.com/vlora-dev/vlora"
Changelog = "https://github.com/vlora-dev/vlora/blob/main/CHANGELOG.md"
Issues = "https://github.com/vlora-dev/vlora/issues"
[tool.hatch.build.targets.wheel]
packages = ["src/vlora"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff]
target-version = "py39"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
ignore = ["E501", "E741", "E402"]
[tool.mypy]
python_version = "3.9"
ignore_missing_imports = true
warn_return_any = true
check_untyped_defs = true
follow_imports = "skip"
exclude = ["build/", "dist/"]
[[tool.mypy.overrides]]
module = ["torch.*", "safetensors.*"]
follow_imports = "skip"