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

OOM with image 512 x 512 on V100 32GB #104

Open
Koruvika opened this issue May 23, 2024 · 3 comments
Open

OOM with image 512 x 512 on V100 32GB #104

Koruvika opened this issue May 23, 2024 · 3 comments

Comments

@Koruvika
Copy link

I've already run Restormer on V100 32GB with image 512 x 512. VRAM significantly increases after attention layers and out of memory at out_dec_level1 = self.decoder_level1(inp_dec_level1). I checked Torch 2.0.1, Torch 2.1.2+cuda121 and Torch 2.3.0+cuda121, all of them had the similarity issue.

@Koruvika
Copy link
Author

I runned demo on colab, and seem it works normally, take ~3-4GB VRAM for image size 512 x 512

@alexwongdl
Copy link

I meet the same issue, have you found resolution.

@Mytttttttt
Copy link

Mytttttttt commented Sep 6, 2024 via email

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

3 participants