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-19 18:10:05 -05:00
2026-01-15 05:06:22 -05:00
2026-01-20 10:50:02 -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
2025-12-21 16:42:48 +08: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
2026-01-10 01:00:48 -05:00
2025-12-19 17:04:24 -04:00
2026-01-18 11:49:01 -05:00
2025-12-29 12:54:27 -05:00
2025-12-30 13:02:53 -05:00
2026-01-18 11:49:01 -05:00
2025-10-15 17:38:33 +08:00
2025-12-19 17:04:24 -04:00
2025-11-29 13:43:45 -08:00
2026-01-06 21:15:58 +03:00
2026-01-02 16:22:39 -05:00
2025-02-25 10:32:00 +03:00
2025-05-28 11:51:27 -07:00
2026-01-18 18:48:59 -05:00
2026-01-19 16:10:30 +09:00
2025-09-13 17:00:11 +03:00
2025-10-30 10:42:19 +08:00
2025-12-03 02:05:31 +08:00
2026-01-10 01:00:48 -05:00
2025-08-27 23:54:27 +03:00
2025-09-13 17:00:11 +03:00
2026-01-10 01:00:48 -05:00
2025-12-17 10:29:57 -04:00
2026-01-13 16:32:21 -05:00
2025-12-19 17:04:24 -04:00
2025-12-17 10:29:57 -04:00
2025-12-03 02:05:31 +08:00
2025-08-29 09:52:07 -07:00
2025-11-18 16:06:06 -08:00
2025-11-20 16:49:09 -05:00
2025-11-26 16:37:42 -08:00
2025-12-19 17:04:24 -04:00
2025-12-19 17:04:24 -04:00
2025-12-17 10:29:57 -04:00
2025-12-22 23:20:01 -05:00
2026-01-12 22:42:10 -05:00
2026-01-10 01:00:48 -05:00
2025-12-19 17:04:24 -04:00
2025-10-08 04:54:07 -04:00
2025-12-02 19:08:23 -08:00
2026-01-06 18:15:22 -05:00
2026-01-06 18:15:22 -05:00
2026-01-01 09:41:07 -05:00
2026-01-18 11:49:01 -05:00
2025-11-23 01:05:14 -08:00
2023-11-27 21:24:06 -08:00
2026-01-10 00:03:02 -05:00
2026-01-12 11:19:03 -05:00
2025-12-22 23:20:01 -05:00
2026-01-12 11:19:03 -05:00
2025-09-09 13:54:44 +03:00