BSD Ports

audio/whisper.cpp 1.8.4_2 FreeBSD

Port of OpenAI's Whisper model in C/C++

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
fc2d9770b2
License
MIT
Categories
audio
Package size
605.1 KiB, 2670.0 KiB installed

Description

High-performance inference of OpenAI's Whisper automatic speech recognition (ASR) model:

Features: * Plain C/C++ implementation without dependencies * Apple Silicon first-class citizen - optimized via ARM NEON, Accelerate framework, Metal and Core ML * AVX intrinsics support for x86 architectures * VSX intrinsics support for POWER architectures * Mixed F16 / F32 precision * Integer quantization support * Zero memory allocations at runtime * Vulkan support * Support for CPU-only inference * Efficient GPU support for NVIDIA * OpenVINO Support * Ascend NPU Support * Moore Threads GPU Support * C-style API

In the other systems

SystemPortVersion
FreeBSDaudio/whisper.cpp1.8.4_2
OpenBSDaudio/whisper.cpp1.9.5

Install

Binary package:

pkg install whisper.cpp

From the ports tree:

cd /usr/ports/audio/whisper.cpp/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	whisper.cpp>0:audio/whisper.cpp
LIB_DEPENDS=	libwhisper.so:audio/whisper.cpp

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.8.4_11.8.4_1---
FreeBSD:14:quarterly1.8.4_11.8.4_1n/a--
FreeBSD:15:latest1.8.4_11.8.4_2n/a--
FreeBSD:15:quarterly1.8.4_11.8.4_1n/an/an/a
FreeBSD:16:latest1.8.4_11.8.4_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

The full lists below include those, and their dependencies in turn.

Build dependencies 28
Run dependencies 20

No port depends on this one.

Configuration

Options name: audio_whisper.cpp

OptionDefaultDescription
EXAMPLESonBuild and/or install examples
USES
cmake:testing
Service scripts
none

Message after installing

You installed whisper.cpp: Port of OpenAI's Whisper model in C/C++

In order to use whisper.cpp you should first download an AI model.

For example:
$ whisper.cpp-download-ggml-model.sh base.en

Then you can transcribe audio files using a command:
$ whisper-cli -m ggml-base.en.bin -f {sample}.wav

Files

pkg-plist 13
  • bin/whisper-bench
  • bin/whisper-cli
  • bin/whisper-quantize
  • bin/whisper-server
  • bin/whisper-vad-speech-segments
  • bin/whisper.cpp-download-ggml-model.sh
  • include/whisper.h
  • lib/cmake/whisper/whisper-config.cmake
  • lib/cmake/whisper/whisper-version.cmake
  • lib/libwhisper.so
  • lib/libwhisper.so.1
  • lib/libwhisper.so.1.8.4
  • libdata/pkgconfig/whisper.pc
distinfo 1
FileSizeSHA256
ggerganov-whisper.cpp-v1.8.4_GH0.tar.gz8.206306e+06b26f30e52c095ccb75da40b168437736605eb280de57381887bf9e2b65f31e66

Commit history 2

DateCommitCreditsLog message
fc2d9770b2 Yuri Victorovich misc/ggml: update 0.23.0-38 → 0.26.0
30ea7983a1 Yuri Victorovich misc/ggml: update 0.13.1 → 0.23.0-38-g7840aaba