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

Out of memory in some settings even when there should be plenty #85

Open
ccmaymay opened this issue Mar 9, 2023 · 0 comments
Open

Out of memory in some settings even when there should be plenty #85

ccmaymay opened this issue Mar 9, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ccmaymay
Copy link
Collaborator

ccmaymay commented Mar 9, 2023

  • 4 x 24GB Titan RTX
  • CUDA_VISIBLE_DEVICES=2,3
  • facebook/opt-13b
  • balanced_low_0
  • prompt: Hello,

Looked like code was trying to put things on cuda:1 at inference time even though it was virtually maxed out (and cuda:0 empty) after loading the model. Maybe a little extra space was needed (and unavailable) on cuda:1 even though most inference-time data was going on cuda:0?

https://ccmaymay.sentry.io/issues/3989060942/?project=6619116&query=is%3Aunresolved&referrer=issue-stream

@ccmaymay ccmaymay added the bug Something isn't working label Mar 9, 2023
@ccmaymay ccmaymay changed the title Out of memory in some settings even when there should be Out of memory in some settings even when there should be plenty Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant