ggml-org/ggml

ggml : add FFT operator

开放

#1,049 创建于 2024年12月14日

 (2 条评论) (3 个反应) (0 位负责人)C++ (1,788 个派生)auto 404
enhancementgood first issue

仓库指标

星标
 (15,223 个星标)
PR 合并指标
 (平均合并 11小时 12分钟) (30 天内合并 22 个 PR)

描述

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.

贡献者指南