Skip to content

Commit

Permalink
add project meta & build config for pdm
Browse files Browse the repository at this point in the history
mv /routellm/ to /src/
mv /routellm/tests/ to /tests/

addresses lm-sys#47
  • Loading branch information
bitnom committed Aug 6, 2024
1 parent 88b8dec commit 079dc90
Show file tree
Hide file tree
Showing 91 changed files with 1,480 additions and 16 deletions.
1,443 changes: 1,443 additions & 0 deletions pdm.lock

Large diffs are not rendered by default.

53 changes: 37 additions & 16 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools"]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"

[project]
Expand All @@ -9,24 +9,42 @@ description = "A framework for serving and evaluating large language model route
readme = "README.md"
classifiers = ["Programming Language :: Python :: 3"]
dependencies = [
'importlib-metadata; python_version<"3.10"',
'pyyaml',
'pydantic',
'numpy',
'pandas',
'torch',
'scikit-learn',
'tqdm',
'openai',
'transformers',
'datasets',
'litellm'
'importlib-metadata; python_version<"3.10"',
'pyyaml',
'pydantic',
"numpy",
'pandas',
'torch',
'scikit-learn',
'tqdm',
'openai',
'transformers',
'datasets',
'litellm',
]
authors = [
{name = "iojw", email = "[email protected]"},
]
requires-python = ">=3.10"
license = {text = "Apache 2.0"}

[project.optional-dependencies]
serve = ["fastapi", "shortuuid", "uvicorn"]
eval = ["matplotlib", "pandarallel", "sglang", 'tiktoken']
dev = ["black", "isort", "pre-commit"]
serve = [
"fastapi",
"shortuuid",
"uvicorn"
]
eval = [
"matplotlib",
"pandarallel>=1.6.5",
"sglang",
'tiktoken'
]
dev = [
"black",
"isort",
"pre-commit"
]

[project.urls]
"Homepage" = "https://github.com/lm-sys/RouteLLM"
Expand All @@ -40,3 +58,6 @@ exclude = ["assets*", "benchmarks*"]

[tool.wheel]
exclude = ["assets*", "benchmarks*"]

[tool.pdm]
distribution = true
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file added tests/__init__.py
Empty file.
File renamed without changes.
File renamed without changes.

0 comments on commit 079dc90

Please sign in to comment.