An open API service indexing awesome lists of open source software.

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

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
```