From: toboil-features Date: Thu, 26 Jun 2025 11:23:19 +0000 (+0300) Subject: docs : add cmake "-j" flag in README.md (#3284) X-Git-Tag: upstream/1.7.6~41 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=897b071dc68f11bc41f55e26b741902e3a4e4c10;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp docs : add cmake "-j" flag in README.md (#3284) Make cmake commands encounter multithreading in README.md file. --- diff --git a/README.md b/README.md index 2e92a27f..6b81a54f 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ Now build the [whisper-cli](examples/cli) example and transcribe an audio file l ```bash # build the project cmake -B build -cmake --build build --config Release +cmake --build build -j --config Release # transcribe an audio file ./build/bin/whisper-cli -f samples/jfk.wav @@ -149,7 +149,7 @@ standard cmake setup with: ```bash # build with GGML_BLAS defined cmake -B build -DGGML_BLAS=1 -cmake --build build --config Release +cmake --build build -j --config Release ./build/bin/whisper-cli [ .. etc .. ] ``` @@ -163,7 +163,7 @@ Here are the steps for creating and using a quantized model: ```bash # quantize a model with Q5_0 method cmake -B build -cmake --build build --config Release +cmake --build build -j --config Release ./build/bin/quantize models/ggml-base.en.bin models/ggml-base.en-q5_0.bin q5_0 # 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 ```bash cmake -B build -DWHISPER_SDL2=ON -cmake --build build --config Release +cmake --build build -j --config Release ./build/bin/whisper-stream -m ./models/ggml-base.en.bin -t 8 --step 500 --length 5000 ```