Adds inverse Short-Time Fourier Transform as a native ggml op, replacing
the hand-rolled iSTFT in tools/tts/tts.cpp. CPU backend uses a direct
inverse DFT (no external dependencies), Vulkan backend uses a parallel
compute shader. Both use Hermitian symmetry for real-valued output.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* sampling : optimize sorting using bucket sort in more places
ggml-ci
* sampling : do not sort in dist sampler
ggml-ci
* sampling : avoid heap allocations for sort buffers
ggml-ci
* common : add option to sort sampling candidates by probability
ggml-ci
* sampling : revert the change for preserving sort buffers
* sampling : use std::copy instead of memcpy
* sampling : clarify purpose of partial sort helpers
ggml-ci
* cont : remove wrong comment [no ci]
* common : update comment
Co-authored-by: Johannes Gäßler <johannesg@5d6.de>
---------
Co-authored-by: Johannes Gäßler <johannesg@5d6.de>