Files
tinygrad/test
C T 26f8b12e01 Whisper audio helpers (mel filters in tinygrad) (#13478)
* add whisper audio helpers for stft/mel/resample

* cleanup

* add whisper stft test

* make only stft test explicitly depend on librosa

* extract sinc_window_kernel

* dehardcode device

* use same device argument

* simplify

* type annotate

* ruff format audio_helpers.py

* ruff format test_whisper.py

* add WHISPER_NEW_STFT

* rename

* undo ruff format changes

* use new stft and mel for whisper

* remove stft test that depends on librosa

* remove whitespace

* add Tensor.log10 with test\test_ops.py::TestOps::test_log10

* use Tensor.log10

* fix lint

* future: remove unused STFT class

* future: remove resample code since it isn't used (yet)

* match openai with pad_mode="reflect"

* pad_to

* future: cut resample leftovers

* cleanup

* add mel tests

* future: cut stft

* future: cut non-mel prep_audio changes

* reduce diff

* move audio_helpers.py to examples

* reduce whitespace

* fix imports

* reduce whitespace

---------

Co-authored-by: chenyu <chenyu@fastmail.com>
2026-01-20 10:50:02 -05:00
..
2025-12-31 13:22:38 -05:00
2026-01-15 05:06:22 -05:00
2026-01-02 09:01:05 -05:00
2025-09-10 15:15:48 -04:00
2026-01-16 16:38:45 -08:00
2026-01-20 15:05:36 +09:00
2020-12-15 23:44:08 -08:00
2024-11-11 20:18:04 +08:00
2025-12-22 23:20:01 -05:00
2025-12-30 13:02:53 -05:00
2025-11-29 13:43:45 -08:00
2026-01-06 21:15:58 +03:00
2026-01-13 16:32:21 -05:00
2025-11-18 16:06:06 -08:00
2025-11-26 16:37:42 -08:00
2025-10-08 04:54:07 -04:00
2025-09-09 13:54:44 +03:00