ggml-org/ggml

ggml : add FFT operator

Offen

#1.049 geöffnet am 14.12.2024

 (2 Kommentare) (3 Reaktionen) (0 zugewiesene Personen)C++ (1.788 Forks)auto 404
enhancementgood first issue

Repository-Metriken

Stars
 (15.223 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 11h 12m) (22 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide