Skip to content

Commit ae26d83

Browse files
committed
Add README
1 parent 13dff5e commit ae26d83

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

third_party/kaldi/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Custom Kaldi build
2+
3+
This directory contains original Kaldi repository (as submodule), [the custom implementation of Kaldi's vector/matrix](./src) and the build script.
4+
5+
We use the custom build process so that the resulting library only contains what torchaudio needs.
6+
We use the custom vector/matrix implementation so that we can use the same BLAS library that PyTorch is compiled with, and so that we can (hopefully, in future) take advantage of other PyTorch features (such as differentiability and GPU support). The down side of this approach is that it adds a lot of overhead compared to the original Kaldi (operator dispatch and element-wise processing, which PyTorch is not efficient at). We can improve this gradually, and if you are interested in helping, please let us know by opening an issue.

0 commit comments

Comments
 (0)