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

[CUDA out of memory] ResNet18 & Cifar100 #5

Open
lhchau opened this issue Feb 16, 2024 · 2 comments
Open

[CUDA out of memory] ResNet18 & Cifar100 #5

lhchau opened this issue Feb 16, 2024 · 2 comments

Comments

@lhchau
Copy link

lhchau commented Feb 16, 2024

Hi logancyang, I have successfully run your code using ResNet18 on Cifar100 with bs=16, epochs=200. However, during the 4th epoch, the GPU VRAM overflowed. Upon reviewing the code, I found that this line is causing the GPU RAM to accumulate at each step. Do you have a solution for this problem?

flat_w = self.get_flat_params()

@logancyang
Copy link
Owner

hi @lhchau, thanks for checking this out. This project is not actively maintained at the moment, but feel free to make your own fork if you have time to implement a solution.

@alqurri77
Copy link

I also had the same issue. any solution @lhchau

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