Skip to content

Commit c0e9b2c

Browse files
loadamstjruwasetohtana
authored
Enable python 3.11 and 3.12 tests (#7007)
Signed-off-by: Logan Adams <loadams@microsoft.com> Signed-off-by: Masahiro Tanaka <mtanaka@anyscale.com> Co-authored-by: Olatunji Ruwase <olruwase@microsoft.com> Co-authored-by: Olatunji Ruwase <tjruwase@gmail.com> Co-authored-by: Masahiro Tanaka <81312776+tohtana@users.noreply.github.com> Co-authored-by: Masahiro Tanaka <mtanaka@anyscale.com>
1 parent 4809072 commit c0e9b2c

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/python.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,29 @@ jobs:
2121
unit-tests:
2222
strategy:
2323
matrix:
24-
pyVersion: ["3.8", "3.9", "3.10"]
24+
pyVersion: ["3.10", "3.11", "3.12"]
2525
fail-fast: false
2626

2727
runs-on: ubuntu-24.04
2828
container:
29-
image: deepspeed/gh-builder:py${{ matrix.pyVersion }}
29+
image: python:${{ matrix.pyVersion }}-slim
3030

3131
steps:
3232
- uses: actions/checkout@v4
3333

34+
- name: Install build dependencies
35+
run: |
36+
apt-get update && apt-get install -y build-essential ninja-build
3437
- name: environment
3538
run: |
3639
which python
3740
python --version
41+
- name: Install PyTorch (CPU)
42+
run: |
43+
pip install torch --index-url https://download.pytorch.org/whl/cpu
3844
- name: Install deepspeed
3945
run: |
40-
pip3 install .
46+
pip install .
4147
- name: DS Report
4248
run: |
4349
ds_report

0 commit comments

Comments
 (0)