@@ -200,7 +200,7 @@ jobs:
200
200
source /opt/intel/oneapi/setvars.sh
201
201
mkdir build
202
202
cd build
203
- cmake -DWHISPER_SYCL =ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx ..
203
+ cmake -DGGML_SYCL =ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx ..
204
204
cmake --build . --config Release -j $(nproc)
205
205
206
206
ubuntu-22-cmake-sycl-fp16 :
@@ -250,7 +250,7 @@ jobs:
250
250
source /opt/intel/oneapi/setvars.sh
251
251
mkdir build
252
252
cd build
253
- cmake -DWHISPER_SYCL_F16 =ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx ..
253
+ cmake -DGGML_SYCL_F16 =ON -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx ..
254
254
cmake --build . --config Release -j $(nproc)
255
255
256
256
windows-msys2 :
@@ -292,7 +292,7 @@ jobs:
292
292
- name : Build using make w/ OpenBLAS
293
293
shell : msys2 {0}
294
294
run : |
295
- make WHISPER_OPENBLAS =1 -j $(nproc)
295
+ make GGML_OPENBLAS =1 -j $(nproc)
296
296
297
297
- name : Build using CMake
298
298
shell : msys2 {0}
@@ -308,7 +308,7 @@ jobs:
308
308
- name : Build using CMake w/ OpenBLAS
309
309
shell : msys2 {0}
310
310
run : |
311
- cmake -B build -DWHISPER_OPENBLAS =ON
311
+ cmake -B build -DGGML_OPENBLAS =ON
312
312
cmake --build build --config ${{ matrix.build }} -j $(nproc)
313
313
314
314
windows :
@@ -384,12 +384,9 @@ jobs:
384
384
- arch : Win32
385
385
obzip : https://github.com/OpenMathLib/OpenBLAS/releases/download/v0.3.25/OpenBLAS-0.3.25-x86.zip
386
386
s2arc : x86
387
- clblast : OFF
388
387
- arch : x64
389
388
obzip : https://github.com/OpenMathLib/OpenBLAS/releases/download/v0.3.25/OpenBLAS-0.3.25-x64.zip
390
389
s2arc : x64
391
- clblast : ON
392
- clver : 1.6.1
393
390
- sdl2 : ON
394
391
s2ver : 2.28.5
395
392
@@ -416,26 +413,13 @@ jobs:
416
413
7z x sdl2.zip
417
414
echo "SDL2_DIR=$env:GITHUB_WORKSPACE/SDL2-${{ matrix.s2ver }}/cmake" >> $env:GITHUB_ENV
418
415
419
- - name : Install OpenCL
420
- if : matrix.clblast == 'ON'
421
- run : vcpkg.exe --triplet=${{ matrix.arch }}-windows install opencl
422
-
423
- - name : Fetch CLBlast and set CLBlast_DIR
424
- if : matrix.clblast == 'ON'
425
- run : |
426
- C:/msys64/usr/bin/wget.exe -qO clblast.zip https://github.com/CNugteren/CLBlast/releases/download/${{ matrix.clver }}/CLBlast-${{ matrix.clver }}-windows-x64.zip
427
- 7z x clblast.zip
428
- 7z x CLBlast-${{ matrix.clver }}-windows-x64.7z
429
- echo "CLBlast_DIR=$env:GITHUB_WORKSPACE/CLBlast-${{ matrix.clver }}-windows-x64/lib/cmake/CLBlast" >> $env:GITHUB_ENV
430
-
431
416
- name : Configure
432
417
run : >
433
418
cmake -S . -B ./build -A ${{ matrix.arch }}
434
419
-DCMAKE_BUILD_TYPE=${{ matrix.build }}
435
- -DWHISPER_OPENBLAS =${{ matrix.blas }}
420
+ -DGGML_OPENBLAS =${{ matrix.blas }}
436
421
-DCMAKE_LIBRARY_PATH="$env:OPENBLAS_PATH/lib"
437
422
-DWHISPER_SDL2=${{ matrix.sdl2 }}
438
- -DWHISPER_CLBLAST=${{ matrix.clblast }}
439
423
440
424
- name : Build
441
425
run : |
@@ -450,15 +434,11 @@ jobs:
450
434
if : matrix.sdl2 == 'ON'
451
435
run : copy "$env:SDL2_DIR/../lib/${{ matrix.s2arc }}/SDL2.dll" build/bin/${{ matrix.build }}
452
436
453
- - name : Copy clblast.dll
454
- if : matrix.clblast == 'ON'
455
- run : copy "$env:CLBlast_DIR/../../clblast.dll" build/bin/${{ matrix.build }}
456
-
457
437
- name : Upload binaries
458
438
if : matrix.blas == 'ON' && matrix.sdl2 == 'ON'
459
439
uses : actions/upload-artifact@v4
460
440
with :
461
- name : whisper-blas${{ matrix.clblast == 'ON' && '-clblast' || ''}} -bin-${{ matrix.arch }}
441
+ name : whisper-blas-bin-${{ matrix.arch }}
462
442
path : build/bin/${{ matrix.build }}
463
443
464
444
windows-cublas :
0 commit comments