Skip to content

Torch 2.5.0 very low performance #609

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

Open
rsxdalv opened this issue Oct 24, 2024 · 1 comment
Open

Torch 2.5.0 very low performance #609

rsxdalv opened this issue Oct 24, 2024 · 1 comment

Comments

@rsxdalv
Copy link

rsxdalv commented Oct 24, 2024

I believe the last working version was 2.4.1

with 2.5.0 I am seeing 10x slowdown and low GPU usage:

Bark(
    _type='bark',
    seed='2493791119',
    text='test',
    burn_in_prompt='',
    text_temp=0.7,
    waveform_temp=0.7,
    max_length=15,
    history_prompt='voices\\Alice.npz',
    history_prompt_semantic='voices\\Alice.npz',
    long_prompt_radio='Short prompt (<15s)',
    long_prompt_history_radio='Use old generation as history',
    outputs=dict
)
C:\Users\admin\Desktop\one-click-installers-tts-main\tts-generation-webui\installer_files\env\lib\site-packages\bark\generation.py:175: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` 
instead.
  with InferenceContext(), torch.inference_mode(), torch.no_grad(), autocast():
100%|█████████████████████████████████████████████████████████████████████████████████████| 149/149 [01:52<00:00,  1.33it/s] 
 25%|██████████████████████▎                                                                  | 2/8 [01:32<04:38, 46.37s/it] 

image

@vodolazov
Copy link

I observe the same issue - torch 2.6.0 is not working, 2.5.0 works but slow, 2.4.1 much faster

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