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

Use VAE for video compress causes OOM #62

Closed
CacacaLalala opened this issue Mar 14, 2024 · 1 comment
Closed

Use VAE for video compress causes OOM #62

CacacaLalala opened this issue Mar 14, 2024 · 1 comment

Comments

@CacacaLalala
Copy link

I fisrt use VQVAE for video compress, the code runs fine. But Loss drops very slowly.

So I change AE to VAE, and I got the OOM error, even though I set batch_size and accumulation_steps to 1.

Has anyone encountered this problem too?

@zhengzangw
Copy link
Collaborator

Now we use VAE for training. To lower the memory, you can set micro_batch_size in the inference config.

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