forked from caikit/caikit-nlp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
47 lines (42 loc) · 1.29 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
[build-system]
requires = [
"setuptools>=60",
"setuptools-scm>=8.0"]
[project]
name = "caikit-nlp"
dynamic = ["version"]
description = "Caikit NLP"
license = {text = "Apache-2.0"}
readme = "README.md"
requires-python = "~=3.9"
classifiers=[
"License :: OSI Approved :: Apache Software License"
]
dependencies = [
"caikit[runtime-grpc,runtime-http]>=0.25.0,<0.26.0",
"caikit-tgis-backend>=0.1.27,<0.2.0",
# TODO: loosen dependencies
"accelerate>=0.22.0",
"datasets>=2.4.0",
"huggingface-hub",
"numpy>=1.22.4",
"pandas>=1.5.0",
"scikit-learn>=1.1",
"scipy>=1.8.1",
"tokenizers>=0.13.3",
"torch>=2.0.1",
"tqdm>=4.65.0",
"transformers>=4.32.0",
# GK-AUG-25-2023 NOTE: mpt branch on Mayank's fork was merged to peft main on Aug 24 and it got deleted
# which broke caikit-nlp build. peft hasn't released newer version yet, so to get
# the build fix, we pulling peft from main branch commit. In future, we will pull PEFT from
# pypi
"peft@git+https://github.com/huggingface/peft.git@8c17d556a8fe9522e10d73d7bd3fad46a6ecae14"
]
[tool.setuptools.packages.find]
exclude = ["tests", "tests.*"]
namespaces = false
[tool.setuptools_scm]
version_file = "caikit_nlp/_version.py"
[project.urls]
Source = "https://github.com/caikit/caikit-nlp"