-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
68 lines (61 loc) · 1.85 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
[tool.poetry]
name = "llmeter"
# Note: version is automatically set from tag name in our GitHub CD release workflow
version = "0.0.0"
description = "A lightweight, cross-platform latency and throughput profiler for LLMs"
authors = ["Amazon Web Services"]
readme = "README.md"
keywords = ["llm", "genai", "testing", "performance"]
license = "Apache-2.0"
maintainers = ["llmeter-maintainers <[email protected]>"]
repository = "https://github.com/awslabs/llmeter"
[tool.poetry.dependencies]
python = ">=3.10, <3.13"
tqdm = ">=4.66.0"
jmespath = ">=0.7.1,<2.0.0"
boto3 = ">=1.34.129"
universal-pathlib = ">=0.2.1"
fsspec = { extras = ["http", "s3"], version = ">=2023.6.0" }
seaborn = { version = ">=0.13.2", optional = true }
openai = { version = ">=1.35.1", optional = true }
litellm = { version = ">=1.47.1", optional = true }
mlflow-skinny = { version = ">=2.13.0", optional = true }
[tool.poetry.group.dev.dependencies]
boto3-stubs = { extras = [
"bedrock",
"bedrock-runtime",
"essential",
"sagemaker"
], version = "^1.35.24" }
ipykernel = "^6.29.0"
ipywidgets = "^8.1.3"
transformers = "^4.40.2"
sagemaker = "^2.224.0"
ruff = "^0.6.5"
tiktoken = "^0.7.0"
psutil = "^6.1.0"
[tool.poetry.group.test.dependencies]
pytest = "^8.3.3"
pytest-asyncio = "^0.24.0"
bandit = "^1.7.10"
moto = { extras = [
"bedrock-runtime",
"sagemaker-runtime"
], version = "^5.0.16" }
pytest-reportlog = "^0.4.0"
pytest-cov = "^5.0.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.extras]
all = ["seaborn", "openai", "litellm", "mlflow-skinny"]
plotting = ["seaborn"]
openai = ["openai"]
litellm = ["litellm"]
mlflow = ["mlflow-skinny"]
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "function"
filterwarnings = ["ignore::DeprecationWarning"]
[tool.bandit]
exclude_dirs = ["tests"]
targets = ["llmeter"]