Skip to content

Conversation

@peter277
Copy link
Contributor

  • 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
  • Enhance Windows model download batch script to have comparable functionality and behaviour as shell scripts
  • Resolve compiler warning by removing duplicate definition of NOMINMAX in whisper-cli code

…load 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.
…ble 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
Copy link
Member

@danbev danbev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've not been able to try the updated windows script, only the linux script (download-coreml-model.sh currently exists early with whisper.cpp: this script hasn't been maintained and is not functional atm`.

@ggerganov ggerganov merged commit edf1ee1 into ggml-org:master Mar 24, 2025
47 checks passed
@peter277 peter277 deleted the dl-models-whisper-path branch March 24, 2025 11:35
buxuku pushed a commit to buxuku/whisper.cpp that referenced this pull request Mar 26, 2025
…mpiler warning (ggml-org#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants