https://github.com/locaal-ai/occ-ai-dep-whispercpp
Whisper.cpp prebuilt binaries for static and dynamic linking
https://github.com/locaal-ai/occ-ai-dep-whispercpp
Last synced: 2 months ago
JSON representation
Whisper.cpp prebuilt binaries for static and dynamic linking
- Host: GitHub
- URL: https://github.com/locaal-ai/occ-ai-dep-whispercpp
- Owner: locaal-ai
- License: apache-2.0
- Created: 2024-04-01T16:59:54.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-10T19:04:12.000Z (7 months ago)
- Last Synced: 2024-10-24T17:53:36.832Z (6 months ago)
- Language: CMake
- Size: 37.1 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.:
```powershell
> $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:
```powershell
> ./Build-Windows.ps1 -Version 0.0.6
```## Building on Mac OS
Set the `MACOS_ARCH` env variable to `x86_64` or `arm64`:
```bash
$ export MACOS_ARCH=x86_64
```Run the build script:
```bash
$ ./build-macos.sh 0.0.6
```