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

About infer in GPU #13

Open
JohnFengNeumann opened this issue Sep 4, 2024 · 1 comment
Open

About infer in GPU #13

JohnFengNeumann opened this issue Sep 4, 2024 · 1 comment

Comments

@JohnFengNeumann
Copy link

Hello,@jishengpeng . I'm testing your job, but I found the code for wavtokenizer.decode can't be inferred in GPU. Could you tell me how I can fix this problem?

@jishengpeng
Copy link
Owner

Hello,@jishengpeng . I'm testing your job, but I found the code for wavtokenizer.decode can't be inferred in GPU. Could you tell me how I can fix this problem?

To utilize the GPU during inference, simply change 'cpu' to 'cuda:0' in the device settings. Ensure that all inputs to the decoder, such as features and bandwidth, are placed on the GPU.

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

2 participants