ggml-org/ggml

ggml : add FFT operator

Open

#1.049 aberto em 14 de dez. de 2024

Ver no GitHub
 (2 comments) (3 reactions) (0 assignees)C++ (1.646 forks)auto 404
enhancementgood first issue

Métricas do repositório

Stars
 (14.741 stars)
Métricas de merge de PR
 (Mesclagem média 33m) (12 fundiu PRs em 30d)

Description

It would be nice to have a simple implementation of FFT. The main goal is to be able to keep the data inside a ggml graph in certain scenarios (such as in Whisper and various TTS models), even if the performance is not as good as dedicated libraries (such as FFTW and cuFFT). I think we can start with a basic Cooley-Tukey implementation to keep things simple. Batched 1D FFT should be supported, as well as common variations such as inverse FFT and real-valued FFT.

Guia do colaborador