forked from arcee-ai/mergekit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
65 lines (56 loc) · 1.49 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
63
64
65
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "mergekit"
description = "Tools for merging pre-trained large language models"
readme = "README.md"
license = { text = "LGPL-3.0-or-later" }
version = "0.0.4"
authors = [{ name = "Charles Goddard", email = "[email protected]" }]
dependencies = [
"torch>=2.0.0",
"tqdm==4.66.1",
"click==8.1.7",
"safetensors==0.4.1",
"accelerate==0.25.0",
"pydantic==2.5.3",
"immutables==0.20",
"transformers",
"huggingface_hub",
"peft",
"typing-extensions",
"sentencepiece",
"protobuf",
]
[project.optional-dependencies]
dev = ["black~=23.11.0", "isort~=5.12.0", "pre-commit~=3.5.0"]
test = ["pytest~=7.4.4"]
[project.urls]
repository = "https://github.com/cg123/mergekit"
[project.scripts]
mergekit-yaml = "mergekit.scripts.run_yaml:main"
mergekit-mega = "mergekit.scripts.megamerge:main"
mergekit-legacy = "mergekit.scripts.legacy:main"
mergekit-layershuffle = "mergekit.scripts.layershuffle:main"
bakllama = "mergekit.scripts.bakllama:main"
mergekit-moe = "mergekit.scripts.mixtral_moe:main"
[tool.setuptools]
packages = [
"mergekit",
"mergekit.io",
"mergekit.merge_methods",
"mergekit.scripts",
]
[tool.isort]
profile = "black"
[tool.black]
line-length = 88
target-version = ['py37']
include = '\.pyi?$'
[tool.pytest.ini_options]
minversion = "6.0"
filterwarnings = [
"ignore::pydantic.PydanticDeprecatedSince20:huggingface_hub.*:",
]
testpaths = ["tests"]