Skip to content

Commit e10040b

Browse files
authored
upgrade to python 3.11 (#10695)
1 parent e438f94 commit e10040b

10 files changed

+32
-32
lines changed

.github/workflows/llm-c-evaluation.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
strategy:
9696
fail-fast: false
9797
matrix:
98-
python-version: ["3.9"]
98+
python-version: ["3.11"]
9999
model_name: ${{ fromJson(needs.set-matrix.outputs.model_name) }}
100100
precision: ${{ fromJson(needs.set-matrix.outputs.precision) }}
101101
device: [xpu]
@@ -193,10 +193,10 @@ jobs:
193193
runs-on: ubuntu-latest
194194
steps:
195195
- uses: actions/checkout@v3
196-
- name: Set up Python 3.9
196+
- name: Set up Python 3.11
197197
uses: actions/setup-python@v4
198198
with:
199-
python-version: 3.9
199+
python-version: 3.11
200200
- name: Install dependencies
201201
shell: bash
202202
run: |
@@ -230,10 +230,10 @@ jobs:
230230
runs-on: ["self-hosted", "llm", "accuracy1", "accuracy-nightly"]
231231
steps:
232232
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3
233-
- name: Set up Python 3.9
233+
- name: Set up Python 3.11
234234
uses: actions/setup-python@v4
235235
with:
236-
python-version: 3.9
236+
python-version: 3.11
237237
- name: Install dependencies
238238
shell: bash
239239
run: |

.github/workflows/llm-harness-evaluation.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
strategy:
106106
fail-fast: false
107107
matrix:
108-
python-version: ["3.9"]
108+
python-version: ["3.11"]
109109
model_name: ${{ fromJson(needs.set-matrix.outputs.model_name) }}
110110
task: ${{ fromJson(needs.set-matrix.outputs.task) }}
111111
precision: ${{ fromJson(needs.set-matrix.outputs.precision) }}
@@ -216,10 +216,10 @@ jobs:
216216
runs-on: ubuntu-latest
217217
steps:
218218
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3
219-
- name: Set up Python 3.9
219+
- name: Set up Python 3.11
220220
uses: actions/setup-python@v4
221221
with:
222-
python-version: 3.9
222+
python-version: 3.11
223223
- name: Install dependencies
224224
shell: bash
225225
run: |
@@ -243,10 +243,10 @@ jobs:
243243
runs-on: ["self-hosted", "llm", "accuracy1", "accuracy-nightly"]
244244
steps:
245245
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3
246-
- name: Set up Python 3.9
246+
- name: Set up Python 3.11
247247
uses: actions/setup-python@v4
248248
with:
249-
python-version: 3.9
249+
python-version: 3.11
250250
- name: Install dependencies
251251
shell: bash
252252
run: |

.github/workflows/llm-nightly-test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ jobs:
3434
include:
3535
- os: windows
3636
instruction: AVX-VNNI-UT
37-
python-version: "3.9"
37+
python-version: "3.11"
3838
- os: ubuntu-20.04-lts
3939
instruction: avx512
40-
python-version: "3.9"
40+
python-version: "3.11"
4141
runs-on: [self-hosted, llm, "${{matrix.instruction}}", "${{matrix.os}}"]
4242
env:
4343
ANALYTICS_ZOO_ROOT: ${{ github.workspace }}

.github/workflows/llm-ppl-evaluation.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
strategy:
105105
fail-fast: false
106106
matrix:
107-
python-version: ["3.9"]
107+
python-version: ["3.11"]
108108
model_name: ${{ fromJson(needs.set-matrix.outputs.model_name) }}
109109
precision: ${{ fromJson(needs.set-matrix.outputs.precision) }}
110110
seq_len: ${{ fromJson(needs.set-matrix.outputs.seq_len) }}
@@ -201,10 +201,10 @@ jobs:
201201
runs-on: ubuntu-latest
202202
steps:
203203
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3
204-
- name: Set up Python 3.9
204+
- name: Set up Python 3.11
205205
uses: actions/setup-python@v4
206206
with:
207-
python-version: 3.9
207+
python-version: 3.11
208208
- name: Install dependencies
209209
shell: bash
210210
run: |
@@ -227,10 +227,10 @@ jobs:
227227
runs-on: ["self-hosted", "llm", "accuracy1", "accuracy-nightly"]
228228
steps:
229229
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3
230-
- name: Set up Python 3.9
230+
- name: Set up Python 3.11
231231
uses: actions/setup-python@v4
232232
with:
233-
python-version: 3.9
233+
python-version: 3.11
234234
- name: Install dependencies
235235
shell: bash
236236
run: |

.github/workflows/llm-whisper-evaluation.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
strategy:
8282
fail-fast: false
8383
matrix:
84-
python-version: ["3.9"]
84+
python-version: ["3.11"]
8585
model_name: ${{ fromJson(needs.set-matrix.outputs.model_name) }}
8686
task: ${{ fromJson(needs.set-matrix.outputs.task) }}
8787
precision: ${{ fromJson(needs.set-matrix.outputs.precision) }}
@@ -158,10 +158,10 @@ jobs:
158158
runs-on: ["self-hosted", "llm", "perf"]
159159
steps:
160160
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3
161-
- name: Set up Python 3.9
161+
- name: Set up Python 3.11
162162
uses: actions/setup-python@v4
163163
with:
164-
python-version: 3.9
164+
python-version: 3.11
165165

166166
- name: Set output path
167167
shell: bash

.github/workflows/llm_example_tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
strategy:
4040
fail-fast: false
4141
matrix:
42-
python-version: ["3.9"]
42+
python-version: ["3.11"]
4343
instruction: ["AVX512"]
4444
runs-on: [ self-hosted, llm,"${{matrix.instruction}}", ubuntu-20.04-lts ]
4545
env:

.github/workflows/llm_performance_tests.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
strategy:
3434
fail-fast: false
3535
matrix:
36-
python-version: ["3.9"]
36+
python-version: ["3.11"]
3737
runs-on: [self-hosted, llm, perf]
3838
env:
3939
OMP_NUM_THREADS: 16
@@ -163,7 +163,7 @@ jobs:
163163
strategy:
164164
fail-fast: false
165165
matrix:
166-
python-version: ["3.9"]
166+
python-version: ["3.11"]
167167
runs-on: [self-hosted, llm, spr-perf]
168168
env:
169169
OMP_NUM_THREADS: 16
@@ -238,10 +238,10 @@ jobs:
238238
include:
239239
- os: windows
240240
platform: dp
241-
python-version: "3.9"
241+
python-version: "3.11"
242242
# - os: windows
243243
# platform: lp
244-
# python-version: "3.9"
244+
# python-version: "3.11"
245245
runs-on: [self-hosted, "${{ matrix.os }}", llm, perf-core, "${{ matrix.platform }}"]
246246
env:
247247
ANALYTICS_ZOO_ROOT: ${{ github.workspace }}
@@ -309,7 +309,7 @@ jobs:
309309
matrix:
310310
include:
311311
- os: windows
312-
python-version: "3.9"
312+
python-version: "3.11"
313313
runs-on: [self-hosted, "${{ matrix.os }}", llm, perf-igpu]
314314
env:
315315
ANALYTICS_ZOO_ROOT: ${{ github.workspace }}
@@ -380,7 +380,7 @@ jobs:
380380
- name: Create env for html generation
381381
shell: cmd
382382
run: |
383-
call conda create -n html-gen python=3.9 -y
383+
call conda create -n html-gen python=3.11 -y
384384
call conda activate html-gen
385385
386386
pip install pandas==1.5.3

.github/workflows/llm_tests_for_stable_version_on_arc.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
strategy:
3131
fail-fast: false
3232
matrix:
33-
python-version: ["3.9"]
33+
python-version: ["3.11"]
3434
runs-on: [self-hosted, llm, perf]
3535
env:
3636
OMP_NUM_THREADS: 16
@@ -154,7 +154,7 @@ jobs:
154154
strategy:
155155
fail-fast: false
156156
matrix:
157-
python-version: ["3.9"]
157+
python-version: ["3.11"]
158158
runs-on: [self-hosted, llm, perf]
159159
env:
160160
OMP_NUM_THREADS: 16

.github/workflows/llm_tests_for_stable_version_on_spr.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
python-version: ["3.9"]
32+
python-version: ["3.11"]
3333
runs-on: [self-hosted, llm, spr01-perf]
3434
env:
3535
OMP_NUM_THREADS: 16
@@ -87,7 +87,7 @@ jobs:
8787
strategy:
8888
fail-fast: false
8989
matrix:
90-
python-version: ["3.9"]
90+
python-version: ["3.11"]
9191
runs-on: [self-hosted, llm, spr01-perf]
9292
env:
9393
OMP_NUM_THREADS: 16

.github/workflows/llm_unit_tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
if [ ${{ github.event_name }} == 'schedule' ]; then
5252
python_version='["3.9", "3.10", "3.11"]'
5353
else
54-
python_version='["3.9"]'
54+
python_version='["3.11"]'
5555
fi
5656
list=$(echo ${python_version} | jq -c)
5757
echo "python-version=${list}" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)