forked from Lightning-AI/litgpt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
72 lines (65 loc) · 2 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
[project]
name = "litgpt"
version = "0.4.0.dev0"
description = "Hackable implementation of state-of-the-art open-source LLMs"
authors = [
{ name = "Lightning AI", email = "[email protected]" },
]
readme = "README.md"
license = { file = "LICENSE" }
dependencies = [
"torch>=2.2.0",
"lightning==2.3.0.dev20240428",
"jsonargparse[signatures]>=4.27.6"
]
[project.urls]
homepage = "https://github.com/lightning-AI/litgpt"
documentation = "https://github.com/lightning-AI/litgpt/tutorials"
[project.scripts]
litgpt = "litgpt.__main__:main"
[project.optional-dependencies]
test = [
"pytest>=8.1.1",
"pytest-rerunfailures>=14.0",
"pytest-timeout>=2.3.1",
"pytest-dependency>=0.6.0",
"transformers>=4.38.0", # numerical comparisons
"einops>=0.7.0",
"protobuf>=4.23.4",
"lightning-thunder==0.2.0.dev20240505; python_version >= '3.10'",
]
all = [
"bitsandbytes==0.42.0", # quantization
"sentencepiece>=0.2.0", # llama-based models
"tokenizers>=0.15.2", # pythia, falcon, redpajama
"requests>=2.31.0", # litgpt.data
"litdata==0.2.6", # litgpt.data
"litserve>=0.1.0", # litgpt.deploy
"zstandard>=0.22.0", # litgpt.data.prepare_slimpajama.py
"pandas>=1.9.0", # litgpt.data.prepare_starcoder.py
"pyarrow>=15.0.2", # litgpt.data.prepare_starcoder.py
"tensorboard>=2.14.0", # litgpt.pretrain
"torchmetrics>=1.3.1", # litgpt.pretrain
"datasets>=2.18.0", # litgpt.evaluate
"transformers>=4.38.0", # litgpt.evaluate
"lm-eval>=0.4.2", # litgpt.evaluate
"safetensors>=0.4.3", # download
"huggingface_hub[hf_transfer]>=0.21.0" # download
]
[build-system]
requires = [
"setuptools>=68.2.2",
"wheel>=0.41.2",
]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = [
"litgpt",
"litgpt.*",
]
exclude = []
[tool.setuptools.package-data]
litgpt = [
"LICENSE",
"README.md",
]