File tree Expand file tree Collapse file tree 8 files changed +306
-1693
lines changed
Expand file tree Collapse file tree 8 files changed +306
-1693
lines changed Original file line number Diff line number Diff line change @@ -7,4 +7,5 @@ __pycache__/
77logs /
88outputs /
99data /
10- .env
10+ .env
11+ * .db
Original file line number Diff line number Diff line change 99.venv /
1010config.yaml
1111.env
12- * _test.yaml
12+ * _test.yaml
13+ * .db
Original file line number Diff line number Diff line change 11# FROM docker.1ms.run/506610466/cuda:12.2.2-runtime-ubuntu20.04-uv
22FROM 506610466/cuda:12.2.2-devel-ubuntu20.04-uv
33# 从基础镜像开始构建,加快构建速度
4- # FROM 506610466/gpt_server:base
5- RUN apt-get update -y && apt-get install -y numactl build-essential && rm -rf /var/lib/apt/lists/*
4+
5+ RUN apt-get update -y && apt-get install -y ffmpeg numactl build-essential && rm -rf /var/lib/apt/lists/*
66COPY ./ /gpt_server
77WORKDIR /gpt_server
88# RUN uv sync && uv cache clean
Original file line number Diff line number Diff line change @@ -156,18 +156,6 @@ uv sync
156156source .venv/bin/activate # 激活 uv 环境
157157```
158158
159- #### 1.2 conda 方式 安装(后期将弃用,可选)
160-
161- ``` bash
162- # 1. 创建conda 环境
163- conda create -n gpt_server python=3.11
164-
165- # 2. 激活conda 环境
166- conda activate gpt_server
167-
168- # 3. 安装仓库(一定要使用 install.sh 安装,否则无法解决依赖冲突)
169- bash install.sh
170- ```
171159
172160### 2. 修改启动配置文件
173161
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11[project ]
22name = " gpt_server"
3- version = " 0.6.7 "
3+ version = " 0.6.8 "
44description = " gpt_server是一个用于生产级部署LLMs、Embedding、Reranker、ASR和TTS的开源框架。"
55readme = " README.md"
66license = { text = " Apache 2.0" }
@@ -17,21 +17,20 @@ dependencies = [
1717 " openai==2.6.1" ,
1818 " setuptools==75.2.0" ,
1919 " streamlit>=1.50.0" ,
20- " torch==2.8 .0" ,
21- " torchvision==0.23 .0" ,
22- " vllm==0.11.0 " ,
20+ " torch==2.9 .0" ,
21+ " torchvision==0.24 .0" ,
22+ " vllm==0.11.2 " ,
2323 " qwen_vl_utils" ,
2424 " evalscope[perf,rag]>=1.1.1" ,
2525 " modelscope>=1.31.0" ,
26- " edge-tts>=7.0.0" ,
27- " funasr>=1.2.6" ,
28- " sglang[all]>=0.5.5" ,
26+ " funasr>=1.2.7" ,
27+ " sglang[all]>=0.5.5.post3" ,
2928 " flashinfer-python" ,
3029 " flashtts>=0.1.7" ,
3130 " diffusers>=0.35.2" ,
3231 " sqlmodel>=0.0.27" ,
3332 " autoawq>=0.2.9" ,
34- " lmcache>=0.3.9.post1 " ,
33+ " lmcache>=0.3.9.post2 " ,
3534]
3635
3736[tool .uv ]
@@ -43,6 +42,11 @@ override-dependencies = [
4342 " soundfile==0.13.1" , # infinity
4443 " outlines-core==0.2.11" , # sglang 和 vllm 的冲突
4544 " peft>=0.17.0" , # 和 lmdeloy 冲突
45+ " torchvision==0.24.0" ,
46+ " torch==2.9.0" ,
47+ " llguidance>=1.3.0" ,
48+ " torchaudio==2.9.0" ,
49+ " triton==3.5.0" ,
4650]
4751
4852[project .scripts ]
You can’t perform that action at this time.
0 commit comments