]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
whisper : enhance model download scripts functionality and resolve compiler warning...
authorPeter <redacted>
Mon, 24 Mar 2025 08:39:50 +0000 (19:39 +1100)
committerGitHub <redacted>
Mon, 24 Mar 2025 08:39:50 +0000 (10:39 +0200)
commitedf1ee1ef857e97dd807da5857a1154eea7f85c0
tree8d0506e888efb9e03879e8a85dadd72a3e329fb6
parentcf5ddb8c21a9c598e712804362117ec645f45c3a
whisper : enhance model download scripts functionality and resolve compiler warning (#2925)

* whisper : improve whisper-cli executable path detection in model download shell scripts

If whisper-cli is found on the path, do not suggest invoking from build directory. This improves flexibility and usability for distribution and packaging scenarios.

* whisper : enhance Windows model download batch script to have comparable functionality and behaviour as shell scripts

* Download models to the current directory if the script is executed from the \bin\ directory (for future distribution scenarios where the script is in the \bin\ subdirectory of a Windows build)
* Add model_path command line argument
* If whisper-cli is found on the path, do not suggest invoking from build directory

* whisper : resolve compiler warning by removing duplicate definition of NOMINMAX in whisper-cli code
examples/cli/cli.cpp
models/download-coreml-model.sh
models/download-ggml-model.cmd
models/download-ggml-model.sh