go-whisper

module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2024 License: Apache-2.0

README

go-whisper

Speech-to-Text in golang. This is an early development version.

  • cmd contains an OpenAI-API compatible server
  • pkg contains the whisper service and http gateway
  • sys contains the whisper bindings to the whisper.cpp library
  • third_party is a submodule for the whisper.cpp source

Running

In order to utilize a NVIDIA GPU, you'll need to have the CUDA toolkit installed.

Building

You'll need go 1.22, make and a C++ compiler to build this project. The following Makefile targets can be used:

  • make server - creates the server binary, and places it in the build directory
  • make docker - builds a docker container with the server binary

The targetted architectures are amd64 and arm64. The docker build includes CUDA support for the amd64 architecture and Jetson CUDA support for the arm64 architecture.

Directories

Path Synopsis
cmd
server command
pkg
api
sys

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL