Is there an efficient way to measure the memory usage? #1157
-
I'm measuring the relationship between sequence length, prefilled batch size, and GPU memory usage. For now, the only way I can measure memory usage is through trial and error using the I'm wondering if there's a more efficient way to do this? |
Beta Was this translation helpful? Give feedback.
Answered by
OlivierDehaene
Oct 19, 2023
Replies: 1 comment 1 reply
-
Not really no. You could add a few prints here to get the info you need. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
PenutChen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not really no. You could add a few prints here to get the info you need.