@@ -32,12 +32,17 @@ jobs:
32
32
uses : xSAVIKx/artifact-exists-action@v0
33
33
with :
34
34
name : linux-avxvnni
35
-
35
+
36
36
linux-build-avxvnni :
37
37
runs-on : [self-hosted, AVX2, centos7]
38
38
needs : check-linux-avxvnni-artifact
39
39
if : needs.check-linux-avxvnni-artifact.outputs.if-exists == 'false'
40
40
steps :
41
+ # todo: it seems centos7 doesn't support python 3.9
42
+ # - name: Set up Python
43
+ # uses: actions/setup-python@v4
44
+ # with:
45
+ # python-version: "3.9"
41
46
- name : Set access token
42
47
run : |
43
48
echo "github_access_token=${GITHUB_ACCESS_TOKEN}" >> "$GITHUB_ENV"
@@ -112,6 +117,7 @@ jobs:
112
117
shell : bash
113
118
run : |
114
119
mv src/chatglm/build/main release/main-chatglm_vnni
120
+ # mv src/chatglm/build/_C.cpython-39-x86_64-linux-gnu.so release/chatglm_C.cpython-39-x86_64-linux-gnu.so
115
121
116
122
- name : Archive build files
117
123
uses : actions/upload-artifact@v3
@@ -123,7 +129,7 @@ jobs:
123
129
shell : bash
124
130
run : |
125
131
make clean
126
-
132
+
127
133
check-linux-avx512-artifact :
128
134
runs-on : ubuntu-latest
129
135
outputs :
@@ -312,6 +318,10 @@ jobs:
312
318
needs : check-windows-avx2-vnni-artifact
313
319
if : needs.check-windows-avx2-vnni-artifact.outputs.if-exists == 'false'
314
320
steps :
321
+ - name : Set up Python
322
+ uses : actions/setup-python@v4
323
+ with :
324
+ python-version : " 3.9"
315
325
- name : Set access token
316
326
run : |
317
327
echo "github_access_token=$env:GITHUB_ACCESS_TOKEN" >> $env:GITHUB_ENV
@@ -362,6 +372,7 @@ jobs:
362
372
shell : powershell
363
373
run : |
364
374
mv src/chatglm/build/Release/main.exe release/main-chatglm_vnni.exe
375
+ mv src/chatglm/build/Release/_C.cp39-win_amd64.pyd release/chatglm_C.cp39-win_amd64.pyd
365
376
- name : Archive build files
366
377
uses : actions/upload-artifact@v3
367
378
with :
0 commit comments