lifeiteng / Flash-SoftDTW
⚡ Fast, memory-lean, exact soft-DTW for PyTorch — CUDA & CPU, dense & banded, forward & backward. Up to 365× faster, no length cap.
ActiveLast commit 10 days ago1 contributor in 90 daysApache-2.0 licence, allows business use
- Maintenance
- Active
- Last commit 10 days ago
- Stars
- 12
- +2 this week
- Licence
- Apache-2.0
- Allows business use
- Downloads for
- None listed
- No release files
- Latest version
- None yet
- No releases
- Built with
- Python
- 62% of the code


What it does
Flash-SoftDTW computes the soft dynamic time warping value of a batch of cost matrices and its exact gradient (the expected alignment). It is built for training: variable-length batches, Sakoe-Chiba bands, warp penalties, fp16 / bf16 inputs and arbitrary strides are first-class, and the kernels never materialize more than one [B, T, S] buffer.
Get started
pip install flash-softdtw-torch --no-build-isolationIs it looked after?
- Contributors
- 1
- Last 90 days
- Issues
- None
- No issues filed
- Pull requests
- 0 merged
- 0 waiting
- Releases
- None
- Never published
- No contributing guide
- No security policy
- No code of conduct
Similar repos
| Repo | Stars | Last commit | Licence | Downloads for |
|---|---|---|---|---|
| tslearn-team / tslearn | 3,197 | yesterday | BSD-2-Clause | No downloads |
| JuliaML / LossFunctions.jl | 153 | 2 days ago | Custom | No downloads |
| HenryNdubuaku / cuda-tutorials | 241 | 2 days ago | MIT | No downloads |
| eclipse-theia / theia | 21,798 | yesterday | EPL-2.0 | Mac, Linux |
| Liu-Bot24 / pure-translate | 11 | yesterday | MIT | No downloads |
| cpython666 / HandwritingGenerator | 139 | 38 days ago | MIT | No downloads |
More: languages, topics and project record
Languages
- Python 62%
- Cuda 24%
- C++ 14%
Topics
- cuda
- cuda-kernels
- deep-learning
- dtw
- dynamic-time-warping
- gpu
- loss-functions
- machine-learning
- pytorch
- sequence-alignment
- soft-dtw
- speech
Project record
- JobOther AI tools
- StatusNew to our list
- Commits12
- Forks1
- Watching0
- CreatedNov 20, 2026
- First seen by usNov 23, 2026
- CheckedDec 1, 2026
