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-avx/* python/llm/llm-binary/
|
||||||
mv linux-amx/* python/llm/llm-binary/
|
mv linux-amx/* python/llm/llm-binary/
|
||||||
mv windows-avx2/* 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/
|
mv windows-avx/* python/llm/llm-binary/
|
||||||
rm -rf linux-avx2 || true
|
rm -rf linux-avx2 || true
|
||||||
rm -rf linux-avx512 || true
|
rm -rf linux-avx512 || true
|
||||||
|
|
@ -25,5 +25,5 @@ runs:
|
||||||
rm -rf linux-avx || true
|
rm -rf linux-avx || true
|
||||||
rm -rf linux-amx || true
|
rm -rf linux-amx || true
|
||||||
rm -rf windows-avx2 || true
|
rm -rf windows-avx2 || true
|
||||||
rm -rf windows-avx2-vnni || true
|
rm -rf windows-avx-vnni || true
|
||||||
rm -rf windows-avx || 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
|
name: windows-avx2
|
||||||
|
|
||||||
windows-build-avx2:
|
windows-build-avx2:
|
||||||
runs-on: [self-hosted, Windows]
|
runs-on: [self-hosted, Windows, AVX-VNNI]
|
||||||
needs: check-windows-avx2-artifact
|
needs: check-windows-avx2-artifact
|
||||||
if: needs.check-windows-avx2-artifact.outputs.if-exists == 'false'
|
if: needs.check-windows-avx2-artifact.outputs.if-exists == 'false'
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -359,7 +359,7 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
build/Release
|
build/Release
|
||||||
|
|
||||||
check-windows-avx2-vnni-artifact:
|
check-windows-avx-vnni-artifact:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
if-exists: ${{steps.check_artifact.outputs.exists}}
|
if-exists: ${{steps.check_artifact.outputs.exists}}
|
||||||
|
|
@ -368,12 +368,12 @@ jobs:
|
||||||
id: check_artifact
|
id: check_artifact
|
||||||
uses: xSAVIKx/artifact-exists-action@v0
|
uses: xSAVIKx/artifact-exists-action@v0
|
||||||
with:
|
with:
|
||||||
name: windows-avx2-vnni
|
name: windows-avx-vnni
|
||||||
|
|
||||||
windows-build-avx2-vnni:
|
windows-build-avx-vnni:
|
||||||
runs-on: [self-hosted, Windows]
|
runs-on: [self-hosted, Windows, AVX-VNNI]
|
||||||
needs: check-windows-avx2-vnni-artifact
|
needs: check-windows-avx-vnni-artifact
|
||||||
if: needs.check-windows-avx2-vnni-artifact.outputs.if-exists == 'false'
|
if: needs.check-windows-avx-vnni-artifact.outputs.if-exists == 'false'
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
|
|
@ -464,7 +464,7 @@ jobs:
|
||||||
- name: Archive build files
|
- name: Archive build files
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: windows-avx2-vnni
|
name: windows-avx-vnni
|
||||||
path: |
|
path: |
|
||||||
release
|
release
|
||||||
|
|
||||||
|
|
@ -480,7 +480,7 @@ jobs:
|
||||||
name: windows-avx
|
name: windows-avx
|
||||||
|
|
||||||
windows-build-avx:
|
windows-build-avx:
|
||||||
runs-on: [self-hosted, Windows]
|
runs-on: [self-hosted, Windows, AVX-VNNI]
|
||||||
needs: check-windows-avx-artifact
|
needs: check-windows-avx-artifact
|
||||||
if: needs.check-windows-avx-artifact.outputs.if-exists == 'false'
|
if: needs.check-windows-avx-artifact.outputs.if-exists == 'false'
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
2
.github/workflows/llm-nightly-test.yml
vendored
2
.github/workflows/llm-nightly-test.yml
vendored
|
|
@ -30,7 +30,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: windows
|
- os: windows
|
||||||
instruction: avx2
|
instruction: AVX-VNNI
|
||||||
python-version: "3.9"
|
python-version: "3.9"
|
||||||
- os: ubuntu-20.04-lts
|
- os: ubuntu-20.04-lts
|
||||||
instruction: avx512
|
instruction: avx512
|
||||||
|
|
|
||||||
6
.github/workflows/llm_unit_tests.yml
vendored
6
.github/workflows/llm_unit_tests.yml
vendored
|
|
@ -44,19 +44,19 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: windows
|
- os: windows
|
||||||
instruction: avx2
|
instruction: AVX-VNNI
|
||||||
python-version: "3.9"
|
python-version: "3.9"
|
||||||
- os: ubuntu-20.04-lts
|
- os: ubuntu-20.04-lts
|
||||||
instruction: avx512
|
instruction: avx512
|
||||||
python-version: "3.9"
|
python-version: "3.9"
|
||||||
- os: windows
|
- os: windows
|
||||||
instruction: avx2
|
instruction: AVX-VNNI
|
||||||
python-version: "3.10"
|
python-version: "3.10"
|
||||||
- os: ubuntu-20.04-lts
|
- os: ubuntu-20.04-lts
|
||||||
instruction: avx512
|
instruction: avx512
|
||||||
python-version: "3.10"
|
python-version: "3.10"
|
||||||
- os: windows
|
- os: windows
|
||||||
instruction: avx2
|
instruction: AVX-VNNI
|
||||||
python-version: "3.11"
|
python-version: "3.11"
|
||||||
- os: ubuntu-20.04-lts
|
- os: ubuntu-20.04-lts
|
||||||
instruction: avx512
|
instruction: avx512
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue