Skip to content

Commit 6af41c3

Browse files
committed
add uv包管理
1 parent f8361f7 commit 6af41c3

File tree

7 files changed

+4183
-6346
lines changed

7 files changed

+4183
-6346
lines changed

.python-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.10

poetry.lock

-6,310
This file was deleted.

poetry.toml

-3
This file was deleted.

pyproject.toml

+24-32
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,27 @@
1-
[tool.poetry]
2-
name = "gpt-server"
3-
version = "0.3"
1+
[project]
2+
name = "gpt_server"
3+
version = "0.3.2"
44
description = "gpt_server是一个用于生产级部署LLMs或Embedding的开源框架。"
5-
authors = ["liuyu <[email protected]>"]
6-
license = "Apache 2.0"
75
readme = "README.md"
6+
requires-python = ">=3.10"
7+
dependencies = [
8+
"accelerate>=1.0.1",
9+
"fastapi==0.114.1",
10+
"ffmpy",
11+
"fschat==0.2.36",
12+
"gradio==4.26.0",
13+
"infinity-emb[all]==0.0.53",
14+
"lmdeploy",
15+
"loguru>=0.7.2",
16+
"openai==1.44.0",
17+
"setuptools==75.2.0",
18+
"streamlit==1.39.0",
19+
"torch==2.4.0",
20+
"torchvision==0.19",
21+
"transformers==4.45.2",
22+
"vllm==0.6.3",
23+
]
824

9-
[tool.poetry.dependencies]
10-
python = "^3.10"
11-
setuptools = "69.5.1"
12-
torch = "2.4.0"
13-
torchvision = "0.19"
14-
fschat = "0.2.36"
15-
transformers = "4.43.2"
16-
accelerate = "^0.33.0"
17-
vllm = "0.6.0"
18-
openai = "1.44.0"
19-
loguru = "^0.7.2"
20-
fastapi = "0.110.2"
21-
infinity-emb = {version = "0.0.53", extras = ["all"]}
22-
lmdeploy = {git = "https://gitee.com/liuyu_1997/lmdeploy.git"}
23-
ffmpy = {git = "https://gitee.com/liuyu_1997/ffmpy.git"}
24-
gradio = "4.26.0"
25-
26-
27-
28-
[[tool.poetry.source]]
29-
name = "tsinghua"
30-
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
31-
priority = "primary"
32-
33-
[build-system]
34-
requires = ["poetry-core"]
35-
build-backend = "poetry.core.masonry.api"
25+
[tool.uv.sources]
26+
lmdeploy = { git = "https://gitee.com/liuyu_1997/lmdeploy.git" }
27+
ffmpy = { git = "https://gitee.com/liuyu_1997/ffmpy.git" }

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
setuptools==69.5.1
1+
setuptools==75.2.0
22
torch==2.4.0
33
torchvision==0.19
44
fschat==0.2.36

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def get_version():
4545
setup(
4646
name="gpt_server",
4747
version=get_version(),
48+
license="Apache 2.0",
4849
description="gpt_server是一个用于生产级部署LLMs或Embedding的开源框架。",
4950
long_description=readme(),
5051
long_description_content_type="text/markdown",

uv.lock

+4,156
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)