Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combination of fast_rnnt and fast_emit #12

Open
Butterfly-c opened this issue Jul 27, 2022 · 12 comments
Open

Combination of fast_rnnt and fast_emit #12

Butterfly-c opened this issue Jul 27, 2022 · 12 comments

Comments

@Butterfly-c
Copy link

Is there any version that take advantage of fast_emit?

@pkufool
Copy link
Contributor

pkufool commented Aug 7, 2022

Sorry for the late reply, we have a discussion in k2 repository (k2-fsa/k2#955) and we are doing experiments, finally we will add something to make symbols emit earier.

@pkufool
Copy link
Contributor

pkufool commented Oct 31, 2022

@Butterfly-c The delay_penalty in k2-fsa/k2#955 has been merged, you can try it. It behaves as good as fast_emit. If you really want the fast_emit, you can try k2-fsa/k2#1069 (by installing k2 or modifying fast_rnnt according to this PR).

@Li-jianqun
Copy link

help help help

@csukuangfj
Copy link

Please post, all, all, of the logs. The screenshot contains little information and it is hard for us to figure out what bad things happened.

@Li-jianqun
Copy link

image

@csukuangfj
Copy link

please first use

pip install cmake

and then re-try.

@csukuangfj
Copy link

Please post, all, all, of the logs. The screenshot contains little information and it is hard for us to figure out what bad things happened.

@csukuangfj
Copy link

-- Could NOT find CUDNN (missing: CUDNN_LIBRARY_PATH CUDNN_INCLUDE_PATH)

From the error log, you have not installed cuDNN yet.

Also, your installed CUDA is 9.2, which is quite old. I am not sure whether it works.
I suggest that you upgrade your CUDA and PyTorch.

@csukuangfj
Copy link

CMake Error at pybind11-subbuild/pybind11-populate-prefix/src/pybind11-populate-stamp/download-pybind11-populate.cmake:170 (message):
Each download failed!

You have network connection problems with github.com. Please re-try.

@csukuangfj
Copy link

-- No NVCC detected. Disable CUDA support

From the above logs, I suggest installing a CUDA version of PyTorch. Otherwise, it would be slow in training with CPU.

@csukuangfj
Copy link

From the output of cmake

-- C++ Standard version: 14
-- No NVCC detected. Disable CUDA support

@csukuangfj
Copy link

How did you compile fast_rnnt? Do you have the compilation logs?

The error logs show that you have compiled a CPU version of fast_rnnt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants