Skip to content

Commit 59a004e

Browse files
authored
Update release.yml
Add AVX512_VNNI and AVX512_VBMI - Suggested by Chronos from the Beaver AI Club Discord
1 parent 8dab473 commit 59a004e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ jobs:
424424
strategy:
425425
matrix:
426426
cuda: ['12.8'] # , '11.7'
427-
instr: ['avx2', 'avx512', 'avx512bf16'] # 'avx', 'noavx' won't compile because missing declarations all over the place
427+
instr: ['avx2', 'avx512', 'avx512_vnni', 'avx512_vnni_bf16', 'avx512_vnni_vbmi'] # 'avx', 'noavx' won't compile because missing declarations all over the place
428428

429429
steps:
430430
- name: Clone
@@ -457,9 +457,11 @@ jobs:
457457
-DGGML_NATIVE=OFF ^
458458
-DGGML_OPENMP=ON ^
459459
-DGGML_AVX=${{ matrix.instr == 'avx' && 'ON' || 'OFF' }} ^
460-
-DGGML_AVX2=${{ (matrix.instr == 'avx2' || matrix.instr == 'avx512' || matrix.instr == 'avx512bf16') && 'ON' || 'OFF' }} ^
461-
-DGGML_AVX512=${{ (matrix.instr == 'avx512' || matrix.instr == 'avx512bf16') && 'ON' || 'OFF' }} ^
462-
-DGGML_AVX512_BF16=${{ matrix.instr == 'avx512bf16' && 'ON' || 'OFF' }} ^
460+
-DGGML_AVX2=${{ (matrix.instr == 'avx2' || matrix.instr == 'avx512' || matrix.instr == 'avx512_vnni' || matrix.instr == 'avx512_vnni_bf16' || matrix.instr == 'avx512_vnni_vbmi') && 'ON' || 'OFF' }} ^
461+
-DGGML_AVX512=${{ (matrix.instr == 'avx512' || matrix.instr == 'avx512_vnni' || matrix.instr == 'avx512_vnni_bf16' || matrix.instr == 'avx512_vnni_vbmi') && 'ON' || 'OFF' }} ^
462+
-DGGML_AVX512_VNNI=${{ (matrix.instr == 'avx512_vnni' || matrix.instr == 'avx512_vnni_bf16' || matrix.instr == 'avx512_vnni_vbmi') && 'ON' || 'OFF' }} ^
463+
-DGGML_AVX512_VBMI=${{ matrix.instr == 'avx512_vnni_vbmi' && 'ON' || 'OFF' }} ^
464+
-DGGML_AVX512_BF16=${{ matrix.instr == 'avx512_vnni_bf16' && 'ON' || 'OFF' }} ^
463465
-DGGML_CUDA=ON ^
464466
-DGGML_SCHED_MAX_COPIES=1 ^
465467
-DGGML_CUDA_IQK_FORCE_BF16=1 ^

0 commit comments

Comments
 (0)