-
Notifications
You must be signed in to change notification settings - Fork 249
/
Copy pathpyproject.toml
59 lines (47 loc) · 1.04 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "torchchat"
version = "0.1.0"
description = "PyTorch showcase for running LLMs on local devices"
authors = [
{name="PyTorch Team", email="[email protected]"},
]
license = { file = "LICENSE" }
keywords = ["pytorch", "machine learning", "llm"]
readme = "README.md"
requires-python = ">=3.10"
dependencies=[
# Hugging Face downloads
"huggingface_hub",
# GGUF import
"gguf",
# Tiktoken tokenizer for Llama 3 and other advanced models
"tiktoken",
# Tokenizers and jinja2 for other non-llama models that use HF tokenizers
"tokenizers",
"jinja2",
# Miscellaneous
"snakeviz",
"sentencepiece",
"numpy>=1.17",
"blobfile",
"tomli>=1.1.0; python_version<'3.11'",
"openai",
# Build tools
"wheel",
"cmake>=3.24,<4.0.0", # 4.0 is BC breaking
"ninja",
"zstd",
# Test tools
"pytest",
# Browser mode
"streamlit",
# Server mode
"flask",
# eval
"lm-eval==0.4.7",
]
[tool.setuptools]
packages = ["torchchat"]