sci-ml/whisper-cpp (bentoo)

Search

Install

Install this package:

emerge -a sci-ml/whisper-cpp

Package Information

Description:
whisper.cpp is a plain C/C++ implementation of OpenAI's Whisper automatic speech recognition model, built on the ggml tensor library and free of external runtime dependencies. It transcribes and translates audio using quantized models in the GGML format, on CPU or with optional acceleration through CUDA, ROCm/HIP, Vulkan or OpenCL backends. The package provides whisper-cli (one-shot transcription), whisper-server (an HTTP server with an OpenAI-compatible endpoint), whisper-bench and whisper-quantize, plus the parakeet-cli and parakeet-quantize tools for NVIDIA's Parakeet TDT models, which upstream added alongside Whisper in the 1.9 series. With USE=sdl2 the real-time microphone examples whisper-stream, whisper-command, whisper-talk-llama and whisper-lsp are built as well. Models are not shipped with this package and must be downloaded separately, typically from Hugging Face. The CPU backend is tuned through the architecture's CPU_FLAGS: on x86 through CPU_FLAGS_X86, and on ARM through CPU_FLAGS_ARM, which ggml gates at compile time via an accumulated -march string rather than per-feature build options. The ggml libraries this package builds are installed into a private subdirectory rather than the system libdir, because sci-ml/llama-cpp vendors the same ggml tree and owns those paths. Note that the ebuild is adapted from the istitov/stuff overlay (app-accessibility/whisper-cpp).
Homepage:
https://github.com/ggml-org/whisper.cpp
License:
MIT

Versions

Version EAPI Keywords Slot
1.9.1 8 ~amd64 ~arm64 0

Metadata

Description

Maintainers

Upstream

Raw Metadata XML
<pkgmetadata>
	<maintainer type="person">
		<email>lucascs@proton.me</email>
		<name>Lucas C.S.</name>
	</maintainer>
	<longdescription lang="en">
		whisper.cpp is a plain C/C++ implementation of OpenAI's Whisper automatic
		speech recognition model, built on the ggml tensor library and free of
		external runtime dependencies. It transcribes and translates audio using
		quantized models in the GGML format, on CPU or with optional acceleration
		through CUDA, ROCm/HIP, Vulkan or OpenCL backends.

		The package provides whisper-cli (one-shot transcription), whisper-server
		(an HTTP server with an OpenAI-compatible endpoint), whisper-bench and
		whisper-quantize, plus the parakeet-cli and parakeet-quantize tools for
		NVIDIA's Parakeet TDT models, which upstream added alongside Whisper in the
		1.9 series. With USE=sdl2 the real-time microphone examples whisper-stream,
		whisper-command, whisper-talk-llama and whisper-lsp are built as well.

		Models are not shipped with this package and must be downloaded separately,
		typically from Hugging Face. The CPU backend is tuned through the
		architecture's CPU_FLAGS: on x86 through CPU_FLAGS_X86, and on ARM through
		CPU_FLAGS_ARM, which ggml gates at compile time via an accumulated -march
		string rather than per-feature build options.

		The ggml libraries this package builds are installed into a private
		subdirectory rather than the system libdir, because sci-ml/llama-cpp
		vendors the same ggml tree and owns those paths.

		Note that the ebuild is adapted from the istitov/stuff overlay
		(app-accessibility/whisper-cpp).
	</longdescription>
	<use>
		<flag name="blas">Build a BLAS backend against sci-libs/openblas, whose cblas interface ggml-blas requires</flag>
		<flag name="ffmpeg">Link the examples against media-video/ffmpeg so they accept audio formats other than WAV</flag>
		<flag name="hip">Build a HIP (ROCm) backend</flag>
		<flag name="opencl">Build an OpenCL backend, so far only works on Adreno and Intel GPUs</flag>
		<flag name="sdl2">Build the real-time capture examples that use media-libs/libsdl2</flag>
	</use>
	<upstream>
		<changelog>https://github.com/ggml-org/whisper.cpp/releases</changelog>
		<bugs-to>https://github.com/ggml-org/whisper.cpp/issues</bugs-to>
		<remote-id type="github">ggml-org/whisper.cpp</remote-id>
	</upstream>
</pkgmetadata>

Lint Warnings

USE Flags

Manage flags for this package: euse -i <flag> -p sci-ml/whisper-cpp | euse -E <flag> -p sci-ml/whisper-cpp | euse -D <flag> -p sci-ml/whisper-cpp

Flag Description 1.9.1
"( ⚠️
( ⚠️
) ⚠️
)" ⚠️
amx_bf16 ⚠️
amx_int8 ⚠️
amx_tile ⚠️
asimddp ⚠️
asimdhp ⚠️
avx ⚠️
avx2 ⚠️
avx512_bf16 ⚠️
avx512_vnni ⚠️
avx512bw ⚠️
avx512cd ⚠️
avx512dq ⚠️
avx512f ⚠️
avx512vbmi ⚠️
avx512vl ⚠️
avx_vnni ⚠️
blas Build a BLAS backend against sci-libs/openblas, whose cblas interface ggml-blas requires
bmi2 ⚠️
cuda Build cycles renderer with nVidia CUDA support. ⚠️
f16c ⚠️
ffmpeg Link the examples against media-video/ffmpeg so they accept audio formats other than WAV
fma3 ⚠️
hip Build a HIP (ROCm) backend
i8mm ⚠️
opencl Build an OpenCL backend, so far only works on Adreno and Intel GPUs
sdl2 Build the real-time capture examples that use media-libs/libsdl2
sse4_2 ⚠️
sve ⚠️
sve2 ⚠️
vulkan Add support for the Vulkan viewport backend ⚠️

Files

Manifest

Type File Size Versions
DIST whisper.cpp-1.9.1.tar.gz 9012805 bytes 1.9.1
Unmatched Entries
Type File Size