mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-24 06:46:37 +00:00
Add VULKAN option for cmake and doc in readme
This commit is contained in:
parent
8c6a9b8bb6
commit
2e1fb518d1
@ -82,6 +82,7 @@ if (CMAKE_SYSTEM_NAME MATCHES "Linux")
|
|||||||
option(WHISPER_FFMPEG "whisper: support building and linking with ffmpeg libs (avcodec, swresample, ...)" OFF)
|
option(WHISPER_FFMPEG "whisper: support building and linking with ffmpeg libs (avcodec, swresample, ...)" OFF)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
option(GGML_VULKAN "ggml: support for Vulkan" OFF)
|
||||||
option(WHISPER_COREML "whisper: enable Core ML framework" OFF)
|
option(WHISPER_COREML "whisper: enable Core ML framework" OFF)
|
||||||
option(WHISPER_COREML_ALLOW_FALLBACK "whisper: allow non-CoreML fallback" OFF)
|
option(WHISPER_COREML_ALLOW_FALLBACK "whisper: allow non-CoreML fallback" OFF)
|
||||||
option(WHISPER_OPENVINO "whisper: support for OpenVINO" OFF)
|
option(WHISPER_OPENVINO "whisper: support for OpenVINO" OFF)
|
||||||
|
@ -439,6 +439,11 @@ Now build `whisper.cpp` with Vulkan support:
|
|||||||
make clean
|
make clean
|
||||||
make GGML_VULKAN=1 -j
|
make GGML_VULKAN=1 -j
|
||||||
```
|
```
|
||||||
|
with cmake
|
||||||
|
```
|
||||||
|
cmake -B build -DGGML_VULKAN=1
|
||||||
|
cmake --build build -j --config Release
|
||||||
|
```
|
||||||
|
|
||||||
## BLAS CPU support via OpenBLAS
|
## BLAS CPU support via OpenBLAS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user