parent
bb31d4fe80
commit
67052198eb
1 changed files with 11 additions and 11 deletions
22
.github/workflows/llm-binary-build.yml
vendored
22
.github/workflows/llm-binary-build.yml
vendored
|
|
@ -70,7 +70,7 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
scl enable gcc-toolset-11 "cmake -B build"
|
scl enable gcc-toolset-11 "cmake -B build"
|
||||||
scl enable gcc-toolset-11 "cmake --build build --config Release"
|
scl enable gcc-toolset-11 "cmake --build build --config Release -j"
|
||||||
- name: Move release binary
|
- name: Move release binary
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -97,7 +97,7 @@ jobs:
|
||||||
source activate python39 || conda activate python39
|
source activate python39 || conda activate python39
|
||||||
cd src/chatglm
|
cd src/chatglm
|
||||||
scl enable gcc-toolset-11 "cmake -B build"
|
scl enable gcc-toolset-11 "cmake -B build"
|
||||||
scl enable gcc-toolset-11 "cmake --build build --config Release"
|
scl enable gcc-toolset-11 "cmake --build build --config Release -j"
|
||||||
- name: Move Chatglm binaries
|
- name: Move Chatglm binaries
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -152,7 +152,7 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
scl enable gcc-toolset-11 "cmake -DONLYAVX=OFF -DONLYAVX2=OFF -B build"
|
scl enable gcc-toolset-11 "cmake -DONLYAVX=OFF -DONLYAVX2=OFF -B build"
|
||||||
scl enable gcc-toolset-11 "cmake --build build --config Release"
|
scl enable gcc-toolset-11 "cmake --build build --config Release -j"
|
||||||
- name: Move avx512 release binary
|
- name: Move avx512 release binary
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -169,7 +169,7 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
scl enable gcc-toolset-11 "cmake -DONLYAVX=OFF -DONLYAVX2=ON -B build"
|
scl enable gcc-toolset-11 "cmake -DONLYAVX=OFF -DONLYAVX2=ON -B build"
|
||||||
scl enable gcc-toolset-11 "cmake --build build --config Release"
|
scl enable gcc-toolset-11 "cmake --build build --config Release -j"
|
||||||
- name: Move avx2 release binary
|
- name: Move avx2 release binary
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -182,7 +182,7 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
scl enable gcc-toolset-11 "cmake -DONLYAVX=ON -DONLYAVX2=OFF -B build"
|
scl enable gcc-toolset-11 "cmake -DONLYAVX=ON -DONLYAVX2=OFF -B build"
|
||||||
scl enable gcc-toolset-11 "cmake --build build --config Release"
|
scl enable gcc-toolset-11 "cmake --build build --config Release -j"
|
||||||
- name: Move avx release binary
|
- name: Move avx release binary
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -252,12 +252,12 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
scl enable gcc-toolset-12 "cmake -DONLYAVX=OFF -DONLYAVX2=OFF -B build"
|
scl enable gcc-toolset-12 "cmake -DONLYAVX=OFF -DONLYAVX2=OFF -B build"
|
||||||
scl enable gcc-toolset-12 "cmake --build build --config Release"
|
scl enable gcc-toolset-12 "cmake --build build --config Release -j"
|
||||||
# build chatglm
|
# build chatglm
|
||||||
source activate python39 || conda activate python39
|
source activate python39 || conda activate python39
|
||||||
cd src/chatglm
|
cd src/chatglm
|
||||||
scl enable gcc-toolset-12 "cmake -B build"
|
scl enable gcc-toolset-12 "cmake -B build"
|
||||||
scl enable gcc-toolset-12 "cmake --build build --config Release"
|
scl enable gcc-toolset-12 "cmake --build build --config Release -j"
|
||||||
- name: Move amx release binary
|
- name: Move amx release binary
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -321,7 +321,7 @@ jobs:
|
||||||
shell: powershell
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
cmake .
|
cmake .
|
||||||
cmake --build . --config Release
|
cmake --build . --config Release -j
|
||||||
- name: Archive build files
|
- name: Archive build files
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|
@ -369,7 +369,7 @@ jobs:
|
||||||
shell: powershell
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
cmake -DAVXVNNI=ON .
|
cmake -DAVXVNNI=ON .
|
||||||
cmake --build . --config Release
|
cmake --build . --config Release -j
|
||||||
- name: Move release binary
|
- name: Move release binary
|
||||||
shell: powershell
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -395,7 +395,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cd src/chatglm
|
cd src/chatglm
|
||||||
cmake -DAVXVNNI=ON -B build
|
cmake -DAVXVNNI=ON -B build
|
||||||
cmake --build build --config Release
|
cmake --build build --config Release -j
|
||||||
- name: Move Chatglm binaries
|
- name: Move Chatglm binaries
|
||||||
shell: powershell
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -444,7 +444,7 @@ jobs:
|
||||||
shell: powershell
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
cmake -DONLYAVX=ON .
|
cmake -DONLYAVX=ON .
|
||||||
cmake --build . --config Release
|
cmake --build . --config Release -j
|
||||||
- name: Move release binary
|
- name: Move release binary
|
||||||
shell: powershell
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue