Memory increase after running application for a while

#8
by thuleduy - opened

Hi,

After I run it for a while, the application's ram usage increases and never decreases. Even after I close the application, the ram does not decrease.

I have set the log and found the code that causes the sudden increase in ram:

Sinh s贸ng

with torch.inference_mode():
    y_hat = generator.infer(phone_idx_tensor, phone_length_tensor, spec_length, attn, max_len=None, noise_scale=0.667)[0]

How to reduce ram after converting audio. Please help me. Thanks.

Sign up or log in to comment