Skip to content
Discussion options

You must be logged in to vote

JAX preallocates about 75% of GPU memory by default, so it can fail even when the input is small. Try XLA_PYTHON_CLIENT_PREALLOCATE=false. The 1 GB input can also create much bigger intermediate arrays during interpolation, so the full error message will show the size it tried to allocate. If you post that line, we can check whether it's the input or an intermediate array.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@pha96
Comment options

@Erfouni
Comment options

Answer selected by pha96
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