mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-24 06:46:37 +00:00
readme : update CMake build commands (#1231)
* Update README.md * Update README.md: `vcpkg install opencl clblast` * readme : update build commands --------- Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
This commit is contained in:
parent
2f52783a08
commit
6780c98e19
16
README.md
16
README.md
@ -287,8 +287,8 @@ speed-up - more than x3 faster compared with CPU-only execution. Here are the in
|
|||||||
WHISPER_COREML=1 make -j
|
WHISPER_COREML=1 make -j
|
||||||
|
|
||||||
# using CMake
|
# using CMake
|
||||||
cd build
|
cmake -B build -DWHISPER_COREML=1
|
||||||
cmake -DWHISPER_COREML=1 ..
|
cmake --build build -j --config Release
|
||||||
```
|
```
|
||||||
|
|
||||||
- Run the examples as usual. For example:
|
- Run the examples as usual. For example:
|
||||||
@ -366,8 +366,8 @@ This can result in significant speedup in encoder performance. Here are the inst
|
|||||||
|
|
||||||
And then build the project using cmake:
|
And then build the project using cmake:
|
||||||
```bash
|
```bash
|
||||||
cd build
|
cmake -B build -DWHISPER_OPENVINO=1
|
||||||
cmake -DWHISPER_OPENVINO=1 ..
|
cmake --build build -j --config Release
|
||||||
```
|
```
|
||||||
|
|
||||||
- Run the examples as usual. For example:
|
- Run the examples as usual. For example:
|
||||||
@ -418,11 +418,9 @@ make clean
|
|||||||
WHISPER_CLBLAST=1 make -j
|
WHISPER_CLBLAST=1 make -j
|
||||||
|
|
||||||
CMake:
|
CMake:
|
||||||
cd whisper.cpp ; mkdir build ; cd build
|
cd whisper.cpp
|
||||||
cmake -DWHISPER_CLBLAST=ON ..
|
cmake -B build -DWHISPER_CLBLAST=ON
|
||||||
make clean
|
cmake --build build -j --config Release
|
||||||
make -j
|
|
||||||
cp bin/* ../
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user