upgrade to python 3.11 (#10695)
This commit is contained in:
parent
e438f941f2
commit
e10040b7f1
10 changed files with 32 additions and 32 deletions
10
.github/workflows/llm-c-evaluation.yml
vendored
10
.github/workflows/llm-c-evaluation.yml
vendored
|
|
@ -95,7 +95,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: ["3.9"]
|
||||
python-version: ["3.11"]
|
||||
model_name: ${{ fromJson(needs.set-matrix.outputs.model_name) }}
|
||||
precision: ${{ fromJson(needs.set-matrix.outputs.precision) }}
|
||||
device: [xpu]
|
||||
|
|
@ -193,10 +193,10 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python 3.9
|
||||
- name: Set up Python 3.11
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.9
|
||||
python-version: 3.11
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
|
|
@ -230,10 +230,10 @@ jobs:
|
|||
runs-on: ["self-hosted", "llm", "accuracy1", "accuracy-nightly"]
|
||||
steps:
|
||||
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3
|
||||
- name: Set up Python 3.9
|
||||
- name: Set up Python 3.11
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.9
|
||||
python-version: 3.11
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
|
|
|
|||
10
.github/workflows/llm-harness-evaluation.yml
vendored
10
.github/workflows/llm-harness-evaluation.yml
vendored
|
|
@ -105,7 +105,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: ["3.9"]
|
||||
python-version: ["3.11"]
|
||||
model_name: ${{ fromJson(needs.set-matrix.outputs.model_name) }}
|
||||
task: ${{ fromJson(needs.set-matrix.outputs.task) }}
|
||||
precision: ${{ fromJson(needs.set-matrix.outputs.precision) }}
|
||||
|
|
@ -216,10 +216,10 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3
|
||||
- name: Set up Python 3.9
|
||||
- name: Set up Python 3.11
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.9
|
||||
python-version: 3.11
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
|
|
@ -243,10 +243,10 @@ jobs:
|
|||
runs-on: ["self-hosted", "llm", "accuracy1", "accuracy-nightly"]
|
||||
steps:
|
||||
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3
|
||||
- name: Set up Python 3.9
|
||||
- name: Set up Python 3.11
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.9
|
||||
python-version: 3.11
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
|
|
|
|||
4
.github/workflows/llm-nightly-test.yml
vendored
4
.github/workflows/llm-nightly-test.yml
vendored
|
|
@ -34,10 +34,10 @@ jobs:
|
|||
include:
|
||||
- os: windows
|
||||
instruction: AVX-VNNI-UT
|
||||
python-version: "3.9"
|
||||
python-version: "3.11"
|
||||
- os: ubuntu-20.04-lts
|
||||
instruction: avx512
|
||||
python-version: "3.9"
|
||||
python-version: "3.11"
|
||||
runs-on: [self-hosted, llm, "${{matrix.instruction}}", "${{matrix.os}}"]
|
||||
env:
|
||||
ANALYTICS_ZOO_ROOT: ${{ github.workspace }}
|
||||
|
|
|
|||
10
.github/workflows/llm-ppl-evaluation.yml
vendored
10
.github/workflows/llm-ppl-evaluation.yml
vendored
|
|
@ -104,7 +104,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: ["3.9"]
|
||||
python-version: ["3.11"]
|
||||
model_name: ${{ fromJson(needs.set-matrix.outputs.model_name) }}
|
||||
precision: ${{ fromJson(needs.set-matrix.outputs.precision) }}
|
||||
seq_len: ${{ fromJson(needs.set-matrix.outputs.seq_len) }}
|
||||
|
|
@ -201,10 +201,10 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3
|
||||
- name: Set up Python 3.9
|
||||
- name: Set up Python 3.11
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.9
|
||||
python-version: 3.11
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
|
|
@ -227,10 +227,10 @@ jobs:
|
|||
runs-on: ["self-hosted", "llm", "accuracy1", "accuracy-nightly"]
|
||||
steps:
|
||||
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3
|
||||
- name: Set up Python 3.9
|
||||
- name: Set up Python 3.11
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.9
|
||||
python-version: 3.11
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
|
|
|
|||
6
.github/workflows/llm-whisper-evaluation.yml
vendored
6
.github/workflows/llm-whisper-evaluation.yml
vendored
|
|
@ -81,7 +81,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: ["3.9"]
|
||||
python-version: ["3.11"]
|
||||
model_name: ${{ fromJson(needs.set-matrix.outputs.model_name) }}
|
||||
task: ${{ fromJson(needs.set-matrix.outputs.task) }}
|
||||
precision: ${{ fromJson(needs.set-matrix.outputs.precision) }}
|
||||
|
|
@ -158,10 +158,10 @@ jobs:
|
|||
runs-on: ["self-hosted", "llm", "perf"]
|
||||
steps:
|
||||
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3
|
||||
- name: Set up Python 3.9
|
||||
- name: Set up Python 3.11
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.9
|
||||
python-version: 3.11
|
||||
|
||||
- name: Set output path
|
||||
shell: bash
|
||||
|
|
|
|||
2
.github/workflows/llm_example_tests.yml
vendored
2
.github/workflows/llm_example_tests.yml
vendored
|
|
@ -39,7 +39,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: ["3.9"]
|
||||
python-version: ["3.11"]
|
||||
instruction: ["AVX512"]
|
||||
runs-on: [ self-hosted, llm,"${{matrix.instruction}}", ubuntu-20.04-lts ]
|
||||
env:
|
||||
|
|
|
|||
12
.github/workflows/llm_performance_tests.yml
vendored
12
.github/workflows/llm_performance_tests.yml
vendored
|
|
@ -33,7 +33,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: ["3.9"]
|
||||
python-version: ["3.11"]
|
||||
runs-on: [self-hosted, llm, perf]
|
||||
env:
|
||||
OMP_NUM_THREADS: 16
|
||||
|
|
@ -163,7 +163,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: ["3.9"]
|
||||
python-version: ["3.11"]
|
||||
runs-on: [self-hosted, llm, spr-perf]
|
||||
env:
|
||||
OMP_NUM_THREADS: 16
|
||||
|
|
@ -238,10 +238,10 @@ jobs:
|
|||
include:
|
||||
- os: windows
|
||||
platform: dp
|
||||
python-version: "3.9"
|
||||
python-version: "3.11"
|
||||
# - os: windows
|
||||
# platform: lp
|
||||
# python-version: "3.9"
|
||||
# python-version: "3.11"
|
||||
runs-on: [self-hosted, "${{ matrix.os }}", llm, perf-core, "${{ matrix.platform }}"]
|
||||
env:
|
||||
ANALYTICS_ZOO_ROOT: ${{ github.workspace }}
|
||||
|
|
@ -309,7 +309,7 @@ jobs:
|
|||
matrix:
|
||||
include:
|
||||
- os: windows
|
||||
python-version: "3.9"
|
||||
python-version: "3.11"
|
||||
runs-on: [self-hosted, "${{ matrix.os }}", llm, perf-igpu]
|
||||
env:
|
||||
ANALYTICS_ZOO_ROOT: ${{ github.workspace }}
|
||||
|
|
@ -380,7 +380,7 @@ jobs:
|
|||
- name: Create env for html generation
|
||||
shell: cmd
|
||||
run: |
|
||||
call conda create -n html-gen python=3.9 -y
|
||||
call conda create -n html-gen python=3.11 -y
|
||||
call conda activate html-gen
|
||||
|
||||
pip install pandas==1.5.3
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: ["3.9"]
|
||||
python-version: ["3.11"]
|
||||
runs-on: [self-hosted, llm, perf]
|
||||
env:
|
||||
OMP_NUM_THREADS: 16
|
||||
|
|
@ -154,7 +154,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: ["3.9"]
|
||||
python-version: ["3.11"]
|
||||
runs-on: [self-hosted, llm, perf]
|
||||
env:
|
||||
OMP_NUM_THREADS: 16
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: ["3.9"]
|
||||
python-version: ["3.11"]
|
||||
runs-on: [self-hosted, llm, spr01-perf]
|
||||
env:
|
||||
OMP_NUM_THREADS: 16
|
||||
|
|
@ -87,7 +87,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: ["3.9"]
|
||||
python-version: ["3.11"]
|
||||
runs-on: [self-hosted, llm, spr01-perf]
|
||||
env:
|
||||
OMP_NUM_THREADS: 16
|
||||
|
|
|
|||
2
.github/workflows/llm_unit_tests.yml
vendored
2
.github/workflows/llm_unit_tests.yml
vendored
|
|
@ -51,7 +51,7 @@ jobs:
|
|||
if [ ${{ github.event_name }} == 'schedule' ]; then
|
||||
python_version='["3.9", "3.10", "3.11"]'
|
||||
else
|
||||
python_version='["3.9"]'
|
||||
python_version='["3.11"]'
|
||||
fi
|
||||
list=$(echo ${python_version} | jq -c)
|
||||
echo "python-version=${list}" >> "$GITHUB_OUTPUT"
|
||||
|
|
|
|||
Loading…
Reference in a new issue