forked from arcee-ai/mergekit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
76 lines (67 loc) · 1.93 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
66
67
68
69
70
71
72
73
74
75
76
[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.3"
authors = [{ name = "Charles Goddard", email = "chargoddard@gmail.com" }]
dependencies = [
"torch>=2.0.0",
"tqdm==4.66.4",
"click==8.1.7",
"safetensors~=0.4.3",
"accelerate~=0.30.1",
"pydantic==2.7.1",
"immutables==0.20",
"transformers>=4.39.3",
"huggingface_hub",
"peft",
"typing-extensions",
"sentencepiece",
"protobuf",
]
[project.optional-dependencies]
dev = ["black~=24.4.2", "isort~=5.13.2", "pre-commit~=3.7.1"]
test = ["pytest~=8.2.1"]
evolve = ["ray", "cma", "lm_eval", "wandb"]
vllm = ["vllm==0.3.2", "lm_eval[vllm]"]
[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.moe:main"
mergekit-tokensurgeon = "mergekit.scripts.tokensurgeon:main"
mergekit-extract-lora = "mergekit.scripts.extract_lora:main"
mergekit-evolve = "mergekit.scripts.evolve:main"
[tool.setuptools]
packages = [
"mergekit",
"mergekit.io",
"mergekit.merge_methods",
"mergekit.moe",
"mergekit.scripts",
"mergekit.evo",
"mergekit._data",
"mergekit._data.architectures",
]
include-package-data = true
package-data = { "mergekit._data.architectures" = ["*.json"] }
[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"]