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
..
2023-12-02 15:03:46 -08:00
2025-06-30 08:21:27 -07:00
2026-01-16 16:38:45 -08:00
2025-11-12 23:12:45 -05:00
2025-12-19 16:27:37 -04:00
2025-06-08 08:42:22 -07:00
2025-12-19 16:27:37 -04:00
2025-02-26 13:22:08 -05:00
2025-06-08 08:42:22 -07:00
2023-03-11 16:28:10 -08:00
2026-01-20 10:50:02 -05:00
2025-05-28 22:20:02 -07:00
2025-10-08 04:54:07 -04:00
2024-10-10 11:34:29 -04:00
2025-12-04 12:17:29 -05:00
2025-10-07 10:42:22 +08:00
2025-02-20 18:03:09 -05:00
2025-10-07 10:42:22 +08:00
2025-10-16 09:55:20 -04:00
2025-12-03 16:11:42 -08:00
2025-10-08 04:54:07 -04:00
2025-11-17 14:09:37 -05:00
2025-09-10 13:56:40 -04:00
2025-09-14 15:27:34 -04:00
2025-05-28 22:20:02 -07:00
2025-06-09 09:25:53 -07:00
2025-02-26 13:22:08 -05:00
2025-08-10 20:33:22 -04:00
2025-09-10 13:56:40 -04:00
2025-12-01 22:50:53 -08:00
2025-06-05 17:17:42 -07:00
2025-09-13 21:47:51 -04:00
2024-09-25 17:45:13 +08:00
2025-11-24 18:59:16 -08:00
2025-06-30 08:21:27 -07:00
2025-10-16 14:11:33 -04:00
2026-01-06 22:32:41 -05:00
2025-06-30 08:21:27 -07:00
2025-10-08 09:13:26 -04:00
2025-04-13 19:34:20 -04:00
2025-06-30 08:21:27 -07:00
2026-01-20 10:50:02 -05:00
2025-08-11 21:14:47 -04:00
2025-10-07 10:42:22 +08:00
2025-06-30 08:21:27 -07:00