This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
/
pyproject.toml
82 lines (73 loc) · 1.82 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
77
78
79
80
81
82
[build-system]
requires = ["poetry-core", "setuptools", "wheel"]
build-backend = "poetry.core.masonry.api"
[tool.setuptools_scm]
write_to = "synthesizer/_version.py"
[tool.poetry]
description = "Synthesizer: A Framework for LLM Powered Data."
authors = ["Owen Colegrove <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
name = 'sciphi-synthesizer'
version = '1.0.5'
packages = [
{ include = "synthesizer" }
]
[tool.poetry.dependencies]
# python version
python = ">=3.9,<3.12"
# package dependencies
fire = "^0.5.0"
pyyaml = "^6.0.1"
retrying = "^1.3.4"
[tool.poetry.extras]
anthropic_support = ["anthropic"]
hf_support = ["accelerate", "datasets", "torch", "transformers"]
vllm_support = ["accelerate", "torch", "vllm"]
ollama_support = ["litellm"]
all = [
# anthropic
"anthropic",
# hf
"accelerate",
"datasets",
"torch",
"transformers",
"litellm"
]
all_with_extras = [
# all
# anthropic
"anthropic",
# hf
"accelerate",
"datasets",
"torch",
"transformers",
# More Extras
"vllm",
# ollama
"litellm"
]
# To export dependencies to pip, use:
# poetry export -f requirements.txt --with dev --without-hashes --output requirements-dev.txt
# poetry export -f requirements.txt --without-hashes --extras all --output requirements.txt
# poetry export -f requirements.txt --without-hashes --extras all_with_extras --output requirements_with_extras.txt
[tool.poetry.group.dev.dependencies]
black = "^23.3.0"
flake8 = "6.1.0"
isort = "5.12.0"
pre-commit = "^3.3.3"
mypy = "^1.5.1"
sourcery = "^1.6.0"
types-requests = "^2.31.0.2"
types-attrs = "^19.1.0"
yapf = "0.40.1"
[tool.black]
line-length = 79
[tool.mypy]
ignore_missing_imports = true
exclude = 'playground/.*|deprecated/.*|dump/.*|docs/source'
[[tool.mypy.overrides]]
module = "yaml"
ignore_missing_imports = true