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! #49

Open
aditya-inkers opened this issue Mar 3, 2024 · 3 comments
Open

Cuda out of memory! #49

aditya-inkers opened this issue Mar 3, 2024 · 3 comments

Comments

@aditya-inkers
Copy link

I am getting cuda out of memory error even inspite of changing the batch sizes and image sizes. Nothing is working out. Help needed!

@logicwong
Copy link
Member

Which task are you running? Are you using fp16 training? Additionally, have apex and xformers been installed successfully?

@aditya-inkers
Copy link
Author

I am running one_peace_vision. Here's my run command:

Screenshot from 2024-03-04 12-38-53

I am enabled fp16_compression and also installed apex and xformer.

@logicwong
Copy link
Member

What are the current batch size and image resolution? Can you adjust them to smaller values to see if it runs normally?

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