thu-spmi / CAT

A CRF-based ASR Toolkit
Apache License 2.0
325 stars 74 forks source link

building of `ctc_crf` module failed due to c++ API deprecation in torch 1.11 #54

Closed maxwellzh closed 2 years ago

maxwellzh commented 2 years ago

Please read PyTorch 1.11 release notes, CUDA

We should possibly update the binding.cpp and move to modern torch api. https://github.com/thu-spmi/CAT/blob/a89faa39cd8e63fe31def993816257e0c5cf090f/src/ctc_crf/binding.cpp#L9-L14

This is in progress.