k2-fsa / k2

FSA/FST algorithms, differentiable, with PyTorch compatibility.
https://k2-fsa.github.io/k2
Apache License 2.0
1.11k stars 213 forks source link

Fix building for CUDA 12.4 and for torch>=2.4 #1297

Closed csukuangfj closed 1 month ago

csukuangfj commented 1 month ago

torch supports cuda 12.4 since torch>= 2.4.

This PR fixes #1277

CC @galv