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

GPU Not Being Utilized When Running !svc infer on Kaggle #1248

Open
2 tasks done
alir6za opened this issue Feb 1, 2025 · 0 comments
Open
2 tasks done

GPU Not Being Utilized When Running !svc infer on Kaggle #1248

alir6za opened this issue Feb 1, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@alir6za
Copy link

alir6za commented Feb 1, 2025

Describe the bug

GPU Not Being Utilized When Running !svc infer on Kaggle

Hi team,

I am testing the so-vits-svc-fork package in a Kaggle Notebook environment. However, I noticed that when I run the following command:
!svc infer input.wav -o output.wav -m G_300.pth -c config.json

the model does not appear to utilize the GPU. Here are some additional details:

The command executes without errors, but there is no indication that the GPU is being used in the output logs.
I have confirmed that the GPU is available in my Kaggle environment (e.g., nvidia-smi detects the GPU correctly).
This behavior suggests that either the package isn't properly configured to use the GPU in the Kaggle environment, or additional settings may be required.

Could you please advise on how to ensure that the GPU is used during inference? If you need further details (e.g., full logs or environment configurations), I would be happy to provide them.

Thank you for your help!

To Reproduce

Environment Setup:

Use a Kaggle Notebook with GPU enabled.
Ensure that the environment has the so-vits-svc-fork package installed via:

%pip install so-vits-svc-fork

Place an audio file (e.g., input.wav) in the working directory.
Ensure that the model file (G_300.pth) and configuration file (config.json) are present in the specified paths.
Run the Inference Command:

Execute the following command in a notebook cell:
!svc infer input.wav -o output.wav -m G_300.pth -c config.json

Expected Behavior:
The model should utilize the GPU for processing, which can be verified by monitoring the GPU usage (e.g., using nvidia-smi).

Observed Behavior:
The command executes without error, but there is no indication that the GPU is being used during inference.

Additional context

No response

Version

4.2.26

Platform

Kaggle

Code of Conduct

  • I agree to follow this project's Code of Conduct.

No Duplicate

  • I have checked existing issues to avoid duplicates.
@alir6za alir6za added the bug Something isn't working label Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant