-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
75 lines (68 loc) · 1.79 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
[project]
name = "litgpt"
version = "0.3.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.3.1",
"lightning>=2.3.3",
"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",
"pytest-rerunfailures",
"pytest-timeout",
"transformers>=4.38.0",
"einops",
"protobuf",
"lightning-thunder; python_version >= '3.10'",
]
all = [
"bitsandbytes==0.42.0", # quantization
"sentencepiece", # llama-based models
"tokenizers", # pythia, falcon, redpajama
"datasets", # eval
"requests", # litgpt.data
"litdata", # litgpt.data
"zstandard", # litgpt.data.prepare_slimpajama.py
"pandas", # litgpt.data.prepare_starcoder.py
"pyarrow", # litgpt.data.prepare_starcoder.py
"torchmetrics", # litgpt.pretrain
"safetensors", # download
"huggingface_hub[hf_transfer]>=0.21.0", # download
"transformers", #tokenizer
"wandb",
"mosaicml-streaming",
"xformers",
"einops",
]
flashattn = [
"flash-attn",
]
[build-system]
requires = [
"setuptools",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = [
"litgpt",
"litgpt.*",
]
exclude = []
[tool.setuptools.package-data]
litgpt = [
"LICENSE",
"README.md",
]