Skip to content

locaal-ai/occ-ai-dep-whispercpp

Repository files navigation

Whisper.cpp prebuilt binaries

Whisper.cpp prebuilt binaries for static and dynamic linking

Building on Windows

You will need MSVS 2022 installed.

Set up environment variables, e.g.:

> $env:BUILD_WITH_ACCEL="cuda"
> $env:CUDA_TOOLKIT_ROOT_DIR="C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.5"

Acceleration options: cpu, cuda and hipblas

For hipblas make sure $env:HIP_PATH points to the HIP installation folder, e.g. where $env:HIP_PATH\bin\clang.exe would be located.

The HIP installer can be downloaded from https://download.amd.com/developer/eula/rocm-hub/AMD-Software-PRO-Edition-24.Q3-Win10-Win11-For-HIP.exe.

Run the build script:

> ./Build-Windows.ps1 -Version 0.0.6

Building on Mac OS

Set the MACOS_ARCH env variable to x86_64 or arm64:

$ export MACOS_ARCH=x86_64

Run the build script:

$ ./build-macos.sh 0.0.6

About

Whisper.cpp prebuilt binaries for static and dynamic linking

Resources

License

Stars

Watchers

Forks

Packages

No packages published