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. #15

Open
cloverGithub opened this issue Jun 8, 2023 · 3 comments
Open

CUDA out of memory. #15

cloverGithub opened this issue Jun 8, 2023 · 3 comments

Comments

@cloverGithub
Copy link

cloverGithub commented Jun 8, 2023

Trying local version. Ran into CUDA memory problem even after reducing batch. What else should i do?

@kenhuang1964
Copy link

Hey @cloverGithub , I hope you are doing well. I'm wondering how did you run the model in python? I got stuck after finishing these steps:
image

I was hoping you could help me!

@kenhuang1964
Copy link

Nvm I figured it out!

@kenhuang1964
Copy link

Trying local version. Ran into CUDA memory problem even after reducing batch. What else should i do?

You could try running it on AWS with a spot instance for inference. Make sure to get an instance with 2 GPU and a nvidia T4 or better.

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