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

why xtts v2 inference time used RAM double(or more 3x) then GPU or VRAM #3976

Open
saiful9379 opened this issue Aug 20, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@saiful9379
Copy link

saiful9379 commented Aug 20, 2024

xtts_issue

Describe the bug

For the example when model loading the RAM required close to 5 GB and VRAM use 2.1 GB. How can i reduce RAM uses for loading the model infernce fime. basically i try to figure out which is the issue for taking more RAM. Here i found when i initialize the GPT block then this model used closed to 5 GB RAM. this RAM is not GPU memory.

To Reproduce

Inference used RAM : 4634.7890625

Expected behavior

Expected low RAM use when inference

Logs

No response

Environment

- python==3.10
- torch                     2.2.1+cu121              pypi_0    pypi
- torchaudio                2.2.1+cu121              pypi_0    pypi
- deepspeed                 0.10.3                   pypi_0    pypi

Additional context

No response

Tasks

No tasks being tracked yet.
@saiful9379 saiful9379 added the bug Something isn't working label Aug 20, 2024
@saiful9379 saiful9379 changed the title why xtts v2 inferrence time used RAM double(or more 3x) then GPU or VRAM why xtts v2 inference time used RAM double(or more 3x) then GPU or VRAM Aug 20, 2024
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