Spaces:
Running
Running
toboil-features
commited on
docs : add cmake "-j" flag in README.md (#3284)
Browse filesMake cmake commands encounter multithreading in README.md file.
README.md
CHANGED
|
@@ -80,7 +80,7 @@ Now build the [whisper-cli](examples/cli) example and transcribe an audio file l
|
|
| 80 |
```bash
|
| 81 |
# build the project
|
| 82 |
cmake -B build
|
| 83 |
-
cmake --build build --config Release
|
| 84 |
|
| 85 |
# transcribe an audio file
|
| 86 |
./build/bin/whisper-cli -f samples/jfk.wav
|
|
@@ -149,7 +149,7 @@ standard cmake setup with:
|
|
| 149 |
```bash
|
| 150 |
# build with GGML_BLAS defined
|
| 151 |
cmake -B build -DGGML_BLAS=1
|
| 152 |
-
cmake --build build --config Release
|
| 153 |
./build/bin/whisper-cli [ .. etc .. ]
|
| 154 |
```
|
| 155 |
|
|
@@ -163,7 +163,7 @@ Here are the steps for creating and using a quantized model:
|
|
| 163 |
```bash
|
| 164 |
# quantize a model with Q5_0 method
|
| 165 |
cmake -B build
|
| 166 |
-
cmake --build build --config Release
|
| 167 |
./build/bin/quantize models/ggml-base.en.bin models/ggml-base.en-q5_0.bin q5_0
|
| 168 |
|
| 169 |
# run the examples as usual, specifying the quantized model file
|
|
@@ -489,7 +489,7 @@ You will need to have [sdl2](https://wiki.libsdl.org/SDL2/Installation) installe
|
|
| 489 |
|
| 490 |
```bash
|
| 491 |
cmake -B build -DWHISPER_SDL2=ON
|
| 492 |
-
cmake --build build --config Release
|
| 493 |
./build/bin/whisper-stream -m ./models/ggml-base.en.bin -t 8 --step 500 --length 5000
|
| 494 |
```
|
| 495 |
|
|
|
|
| 80 |
```bash
|
| 81 |
# build the project
|
| 82 |
cmake -B build
|
| 83 |
+
cmake --build build -j --config Release
|
| 84 |
|
| 85 |
# transcribe an audio file
|
| 86 |
./build/bin/whisper-cli -f samples/jfk.wav
|
|
|
|
| 149 |
```bash
|
| 150 |
# build with GGML_BLAS defined
|
| 151 |
cmake -B build -DGGML_BLAS=1
|
| 152 |
+
cmake --build build -j --config Release
|
| 153 |
./build/bin/whisper-cli [ .. etc .. ]
|
| 154 |
```
|
| 155 |
|
|
|
|
| 163 |
```bash
|
| 164 |
# quantize a model with Q5_0 method
|
| 165 |
cmake -B build
|
| 166 |
+
cmake --build build -j --config Release
|
| 167 |
./build/bin/quantize models/ggml-base.en.bin models/ggml-base.en-q5_0.bin q5_0
|
| 168 |
|
| 169 |
# run the examples as usual, specifying the quantized model file
|
|
|
|
| 489 |
|
| 490 |
```bash
|
| 491 |
cmake -B build -DWHISPER_SDL2=ON
|
| 492 |
+
cmake --build build -j --config Release
|
| 493 |
./build/bin/whisper-stream -m ./models/ggml-base.en.bin -t 8 --step 500 --length 5000
|
| 494 |
```
|
| 495 |
|