Add windows binary build label AVX_VNNI (#9387)
This commit is contained in:
parent
bfca76dfa7
commit
d4b248fcd4
4 changed files with 15 additions and 15 deletions
|
|
@ -17,7 +17,7 @@ runs:
|
|||
mv linux-avx/* python/llm/llm-binary/
|
||||
mv linux-amx/* python/llm/llm-binary/
|
||||
mv windows-avx2/* python/llm/llm-binary/
|
||||
mv windows-avx2-vnni/* python/llm/llm-binary/
|
||||
mv windows-avx-vnni/* python/llm/llm-binary/
|
||||
mv windows-avx/* python/llm/llm-binary/
|
||||
rm -rf linux-avx2 || true
|
||||
rm -rf linux-avx512 || true
|
||||
|
|
@ -25,5 +25,5 @@ runs:
|
|||
rm -rf linux-avx || true
|
||||
rm -rf linux-amx || true
|
||||
rm -rf windows-avx2 || true
|
||||
rm -rf windows-avx2-vnni || true
|
||||
rm -rf windows-avx-vnni || true
|
||||
rm -rf windows-avx || true
|
||||
|
|
|
|||
18
.github/workflows/llm-binary-build.yml
vendored
18
.github/workflows/llm-binary-build.yml
vendored
|
|
@ -327,7 +327,7 @@ jobs:
|
|||
name: windows-avx2
|
||||
|
||||
windows-build-avx2:
|
||||
runs-on: [self-hosted, Windows]
|
||||
runs-on: [self-hosted, Windows, AVX-VNNI]
|
||||
needs: check-windows-avx2-artifact
|
||||
if: needs.check-windows-avx2-artifact.outputs.if-exists == 'false'
|
||||
steps:
|
||||
|
|
@ -359,7 +359,7 @@ jobs:
|
|||
path: |
|
||||
build/Release
|
||||
|
||||
check-windows-avx2-vnni-artifact:
|
||||
check-windows-avx-vnni-artifact:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
if-exists: ${{steps.check_artifact.outputs.exists}}
|
||||
|
|
@ -368,12 +368,12 @@ jobs:
|
|||
id: check_artifact
|
||||
uses: xSAVIKx/artifact-exists-action@v0
|
||||
with:
|
||||
name: windows-avx2-vnni
|
||||
name: windows-avx-vnni
|
||||
|
||||
windows-build-avx2-vnni:
|
||||
runs-on: [self-hosted, Windows]
|
||||
needs: check-windows-avx2-vnni-artifact
|
||||
if: needs.check-windows-avx2-vnni-artifact.outputs.if-exists == 'false'
|
||||
windows-build-avx-vnni:
|
||||
runs-on: [self-hosted, Windows, AVX-VNNI]
|
||||
needs: check-windows-avx-vnni-artifact
|
||||
if: needs.check-windows-avx-vnni-artifact.outputs.if-exists == 'false'
|
||||
steps:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
|
|
@ -464,7 +464,7 @@ jobs:
|
|||
- name: Archive build files
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: windows-avx2-vnni
|
||||
name: windows-avx-vnni
|
||||
path: |
|
||||
release
|
||||
|
||||
|
|
@ -480,7 +480,7 @@ jobs:
|
|||
name: windows-avx
|
||||
|
||||
windows-build-avx:
|
||||
runs-on: [self-hosted, Windows]
|
||||
runs-on: [self-hosted, Windows, AVX-VNNI]
|
||||
needs: check-windows-avx-artifact
|
||||
if: needs.check-windows-avx-artifact.outputs.if-exists == 'false'
|
||||
steps:
|
||||
|
|
|
|||
2
.github/workflows/llm-nightly-test.yml
vendored
2
.github/workflows/llm-nightly-test.yml
vendored
|
|
@ -30,7 +30,7 @@ jobs:
|
|||
matrix:
|
||||
include:
|
||||
- os: windows
|
||||
instruction: avx2
|
||||
instruction: AVX-VNNI
|
||||
python-version: "3.9"
|
||||
- os: ubuntu-20.04-lts
|
||||
instruction: avx512
|
||||
|
|
|
|||
6
.github/workflows/llm_unit_tests.yml
vendored
6
.github/workflows/llm_unit_tests.yml
vendored
|
|
@ -44,19 +44,19 @@ jobs:
|
|||
matrix:
|
||||
include:
|
||||
- os: windows
|
||||
instruction: avx2
|
||||
instruction: AVX-VNNI
|
||||
python-version: "3.9"
|
||||
- os: ubuntu-20.04-lts
|
||||
instruction: avx512
|
||||
python-version: "3.9"
|
||||
- os: windows
|
||||
instruction: avx2
|
||||
instruction: AVX-VNNI
|
||||
python-version: "3.10"
|
||||
- os: ubuntu-20.04-lts
|
||||
instruction: avx512
|
||||
python-version: "3.10"
|
||||
- os: windows
|
||||
instruction: avx2
|
||||
instruction: AVX-VNNI
|
||||
python-version: "3.11"
|
||||
- os: ubuntu-20.04-lts
|
||||
instruction: avx512
|
||||
|
|
|
|||
Loading…
Reference in a new issue