Spaces:
Running
Running
readme : update CMake build commands (#1231)
Browse files* Update README.md
* Update README.md: `vcpkg install opencl clblast`
* readme : update build commands
---------
Co-authored-by: Georgi Gerganov <[email protected]>
README.md
CHANGED
|
@@ -287,8 +287,8 @@ speed-up - more than x3 faster compared with CPU-only execution. Here are the in
|
|
| 287 |
WHISPER_COREML=1 make -j
|
| 288 |
|
| 289 |
# using CMake
|
| 290 |
-
|
| 291 |
-
cmake -
|
| 292 |
```
|
| 293 |
|
| 294 |
- Run the examples as usual. For example:
|
|
@@ -366,8 +366,8 @@ This can result in significant speedup in encoder performance. Here are the inst
|
|
| 366 |
|
| 367 |
And then build the project using cmake:
|
| 368 |
```bash
|
| 369 |
-
|
| 370 |
-
cmake -
|
| 371 |
```
|
| 372 |
|
| 373 |
- Run the examples as usual. For example:
|
|
@@ -418,11 +418,9 @@ make clean
|
|
| 418 |
WHISPER_CLBLAST=1 make -j
|
| 419 |
|
| 420 |
CMake:
|
| 421 |
-
cd whisper.cpp
|
| 422 |
-
cmake -DWHISPER_CLBLAST=ON
|
| 423 |
-
|
| 424 |
-
make -j
|
| 425 |
-
cp bin/* ../
|
| 426 |
```
|
| 427 |
|
| 428 |
|
|
|
|
| 287 |
WHISPER_COREML=1 make -j
|
| 288 |
|
| 289 |
# using CMake
|
| 290 |
+
cmake -B build -DWHISPER_COREML=1
|
| 291 |
+
cmake --build build -j --config Release
|
| 292 |
```
|
| 293 |
|
| 294 |
- Run the examples as usual. For example:
|
|
|
|
| 366 |
|
| 367 |
And then build the project using cmake:
|
| 368 |
```bash
|
| 369 |
+
cmake -B build -DWHISPER_OPENVINO=1
|
| 370 |
+
cmake --build build -j --config Release
|
| 371 |
```
|
| 372 |
|
| 373 |
- Run the examples as usual. For example:
|
|
|
|
| 418 |
WHISPER_CLBLAST=1 make -j
|
| 419 |
|
| 420 |
CMake:
|
| 421 |
+
cd whisper.cpp
|
| 422 |
+
cmake -B build -DWHISPER_CLBLAST=ON
|
| 423 |
+
cmake --build build -j --config Release
|
|
|
|
|
|
|
| 424 |
```
|
| 425 |
|
| 426 |
|