forked from dottxt-ai/outlines
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
72 lines (66 loc) · 1.45 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
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "outlines"
authors= [{name = "Normal Computing", email = "support@normalcomputing.com"}]
description = "Probabilistic Generative Model Programming"
requires-python = ">=3.7"
keywords=[
"normal computing",
"machine learning",
"deep learning",
"language models",
"diffusion models",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"jinja2",
"joblib",
"numpy",
"pillow",
"pydantic",
"scipy",
"tiktoken",
]
dynamic = ["version"]
[project.optional-dependencies]
test = [
"pre-commit",
"pytest"
]
[tool.setuptools_scm]
write_to = "outlines/_version.py"
[tool.pytest.ini_options]
testpaths = ["tests"]
filterwarnings = [
"error",
"ignore::FutureWarning:transformers.*"
]
[tool.mypy]
exclude=["examples"]
[[tool.mypy.overrides]]
module = [
"diffusers",
"jinja2",
"joblib",
"numpy.*",
"openai",
"PIL",
"PIL.Image",
"pydantic",
"pytest",
"scipy.*",
"tiktoken.*",
"torch",
"transformers",
]
ignore_missing_imports = true