Skip to content

Commit 29dac23

Browse files
committed
remove python3.8 support and add python3.13 support
1 parent 9617d7d commit 29dac23

File tree

11 files changed

+22
-22
lines changed

11 files changed

+22
-22
lines changed

.github/workflows/cuda11.8-whl-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
linux-build:
1414
strategy:
1515
matrix:
16-
pyver: [py38, py39, py310, py311, py312]
16+
pyver: [py39, py310, py311, py312, py313]
1717
runs-on: ubuntu-latest
1818
env:
1919
PYTHON_VERSION: ${{ matrix.pyver }}
@@ -56,7 +56,7 @@ jobs:
5656
windows-build:
5757
strategy:
5858
matrix:
59-
pyver: ['3.8', '3.9', '3.10', '3.11', '3.12']
59+
pyver: ['3.9', '3.10', '3.11', '3.12', '3.13']
6060
runs-on: windows-latest
6161
steps:
6262
- name: Checkout repository

.github/workflows/pypi.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
linux-build:
1414
strategy:
1515
matrix:
16-
pyver: [py38, py39, py310, py311, py312]
16+
pyver: [py39, py310, py311, py312, py313]
1717
runs-on: ubuntu-latest
1818
env:
1919
PYTHON_VERSION: ${{ matrix.pyver }}
@@ -55,7 +55,7 @@ jobs:
5555
windows-build:
5656
strategy:
5757
matrix:
58-
pyver: ['3.8', '3.9', '3.10', '3.11', '3.12']
58+
pyver: ['3.9', '3.10', '3.11', '3.12', '3.13']
5959
runs-on: windows-latest
6060
steps:
6161
- name: Checkout repository
@@ -112,10 +112,10 @@ jobs:
112112
merge-multiple: true
113113
- name: Display artifacts
114114
run: ls artifact/ -lh
115-
- name: Set up python3.8
115+
- name: Set up python 3.10
116116
uses: actions/setup-python@v4
117117
with:
118-
python-version: '3.8'
118+
python-version: '3.10'
119119
- name: Upload to pypi
120120
run: |
121121
pip install twine

.github/workflows/windows-x64-gpu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Set up python
3838
uses: actions/setup-python@v4
3939
with:
40-
python-version: '3.8'
40+
python-version: '3.10'
4141
- name: Install python packages
4242
run: |
4343
pip install -r requirements/build.txt

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,10 @@ They differ in the types of supported models and the inference data type. Please
187187

188188
## Installation
189189

190-
It is recommended installing lmdeploy using pip in a conda environment (python 3.8 - 3.12):
190+
It is recommended installing lmdeploy using pip in a conda environment (python 3.9 - 3.13):
191191

192192
```shell
193-
conda create -n lmdeploy python=3.8 -y
193+
conda create -n lmdeploy python=3.10 -y
194194
conda activate lmdeploy
195195
pip install lmdeploy
196196
```

README_ja.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,10 @@ LMDeployは、[TurboMind](./docs/en/inference/turbomind.md)および[PyTorch](./
185185

186186
## インストール
187187

188-
クリーンなconda環境(Python 3.8 - 3.12)でlmdeployをインストールすることをお勧めします。
188+
クリーンなconda環境(Python 3.9 - 3.12)でlmdeployをインストールすることをお勧めします。
189189

190190
```shell
191-
conda create -n lmdeploy python=3.8 -y
191+
conda create -n lmdeploy python=3.10 -y
192192
conda activate lmdeploy
193193
pip install lmdeploy
194194
```

README_zh-CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,10 @@ LMDeploy 支持 2 种推理引擎: [TurboMind](./docs/zh_cn/inference/turbomin
189189

190190
## 安装
191191

192-
我们推荐在一个干净的conda环境下(python3.8 - 3.12),安装 lmdeploy:
192+
我们推荐在一个干净的conda环境下(python3.9 - 3.12),安装 lmdeploy:
193193

194194
```shell
195-
conda create -n lmdeploy python=3.8 -y
195+
conda create -n lmdeploy python=3.10 -y
196196
conda activate lmdeploy
197197
pip install lmdeploy
198198
```

builder/manywheel/Dockerfile_2014

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ FROM base as conda
2626
ADD manywheel/scripts/install_conda.sh install_conda.sh
2727
RUN bash ./install_conda.sh && rm install_conda.sh
2828
RUN
29-
RUN /opt/conda/bin/conda create -n py38 python=3.8 -yq && \
30-
/opt/conda/envs/py38/bin/pip install pybind11 && \
31-
/opt/conda/bin/conda create -n py39 python=3.9 -yq && \
29+
RUN /opt/conda/bin/conda create -n py39 python=3.9 -yq && \
3230
/opt/conda/envs/py39/bin/pip install pybind11 && \
3331
/opt/conda/bin/conda create -n py310 python=3.10 -yq && \
3432
/opt/conda/envs/py310/bin/pip install pybind11 && \
3533
/opt/conda/bin/conda create -n py311 python=3.11 -yq && \
3634
/opt/conda/envs/py311/bin/pip install pybind11 && \
3735
/opt/conda/bin/conda create -n py312 python=3.12 -yq && \
3836
/opt/conda/envs/py312/bin/pip install pybind11
37+
/opt/conda/bin/conda create -n py313 python=3.13 -yq && \
38+
/opt/conda/envs/py313/bin/pip install pybind11
3939

4040
FROM base as mpi
4141
ADD manywheel/scripts/install_openmpi.sh install_openmpi.sh

builder/manywheel/build_all_wheel.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ PLAT_NAME=manylinux2014_x86_64
1010
for cuver in ${CUDA_VER}; do
1111
DOCKER_TAG=cuda${cuver}
1212
OUTPUT_FOLDER=cuda${cuver}_dist
13-
for pyver in py38 py39 py310 py311 py312; do
13+
for pyver in py39 py310 py311 py312 py313; do
1414
bash ${TOPDIR}/manywheel/build_wheel.sh ${pyver} ${PLAT_NAME} ${DOCKER_TAG} ${OUTPUT_FOLDER} \
1515
|& tee ${PLAT_NAME}.${pyver}.cuda${cuver}.log.txt
1616
done

docs/en/get_started/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ It supports LLMs and VLMs deployment on both Linux and Windows platform, with mi
1212

1313
## Install with pip (Recommend)
1414

15-
It is recommended installing lmdeploy using pip in a conda environment (python 3.8 - 3.12):
15+
It is recommended installing lmdeploy using pip in a conda environment (python 3.9 - 3.13):
1616

1717
```shell
18-
conda create -n lmdeploy python=3.8 -y
18+
conda create -n lmdeploy python=3.10 -y
1919
conda activate lmdeploy
2020
pip install lmdeploy
2121
```

docs/zh_cn/get_started/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ Ada Lovelace(sm89): 40 系列
1212

1313
## 使用 pip 安装(推荐)
1414

15-
我们推荐在一个干净的conda环境下(python3.8 - 3.12),安装 lmdeploy:
15+
我们推荐在一个干净的conda环境下(python3.9 - 3.13),安装 lmdeploy:
1616

1717
```shell
18-
conda create -n lmdeploy python=3.8 -y
18+
conda create -n lmdeploy python=3.10 -y
1919
conda activate lmdeploy
2020
pip install lmdeploy
2121
```

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,11 @@ def gen_packages_items():
150150
},
151151
has_ext_modules=check_ext_modules,
152152
classifiers=[
153-
'Programming Language :: Python :: 3.8',
154153
'Programming Language :: Python :: 3.9',
155154
'Programming Language :: Python :: 3.10',
156155
'Programming Language :: Python :: 3.11',
157156
'Programming Language :: Python :: 3.12',
157+
'Programming Language :: Python :: 3.13',
158158
'Intended Audience :: Developers',
159159
'Intended Audience :: Education',
160160
'Intended Audience :: Science/Research',

0 commit comments

Comments
 (0)