Skip to content

How to do device memory profiling in Colab for JAX/Flax? #918

Answered by marcvanzee
marcvanzee asked this question in Q&A
Discussion options

You must be logged in to vote

Some simple tips:

  • JAX memory profiling can provide help to spot where the issue occurs.
  • you could run the cell with %%jaxheapprof to get the device memory profile from Colab.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ayaka14732
Comment options

Answer selected by marcvanzee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #870 on January 21, 2021 14:04.