Skip to content

Commit

Permalink
readme : update CMake build commands (ggerganov#1231)
Browse files Browse the repository at this point in the history
* Update README.md

* Update README.md: `vcpkg install opencl clblast`

* readme : update build commands

---------

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
  • Loading branch information
wizardforcel and ggerganov committed Sep 5, 2023
1 parent 01364a1 commit 5c7eb40
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions README.md
Expand Up @@ -287,8 +287,8 @@ speed-up - more than x3 faster compared with CPU-only execution. Here are the in
WHISPER_COREML=1 make -j

# using CMake
cd build
cmake -DWHISPER_COREML=1 ..
cmake -B build -DWHISPER_COREML=1
cmake --build build -j --config Release
```

- Run the examples as usual. For example:
Expand Down Expand Up @@ -366,8 +366,8 @@ This can result in significant speedup in encoder performance. Here are the inst
And then build the project using cmake:
```bash
cd build
cmake -DWHISPER_OPENVINO=1 ..
cmake -B build -DWHISPER_OPENVINO=1
cmake --build build -j --config Release
```
- Run the examples as usual. For example:
Expand Down Expand Up @@ -418,11 +418,9 @@ make clean
WHISPER_CLBLAST=1 make -j
CMake:
cd whisper.cpp ; mkdir build ; cd build
cmake -DWHISPER_CLBLAST=ON ..
make clean
make -j
cp bin/* ../
cd whisper.cpp
cmake -B build -DWHISPER_CLBLAST=ON
cmake --build build -j --config Release
```
Expand Down

0 comments on commit 5c7eb40

Please sign in to comment.