Skip to content
The Daily Repo

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-isolation

Is 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

Repos similar to this one
RepoStarsLast commitLicenceDownloads for
tslearn-team / tslearn3,197yesterdayBSD-2-ClauseNo downloads
JuliaML / LossFunctions.jl1532 days agoCustomNo downloads
HenryNdubuaku / cuda-tutorials2412 days agoMITNo downloads
eclipse-theia / theia21,798yesterdayEPL-2.0Mac, Linux
Liu-Bot24 / pure-translate11yesterdayMITNo downloads
cpython666 / HandwritingGenerator13938 days agoMITNo 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

Type to search.

Try