JIT session error: Cannot allocate memory #22444
Unanswered
JuanFMontesinos
asked this question in
Q&A
Replies: 1 comment
-
I had a similar issue. It was resolved by setting |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I was using jax and training a neural network for time series event detection.
In essence, at some point I have a non-jited function that calls the following code:
where the try-except was added for debugging purposed. When trying to slice that array, it raises the

JIT session error: Cannot allocate memory
.With the debugger, I could check that, for that particular example, the values seems overall right:
If I try to slice (once in the debugger), I obtain this

I was also carefully following the system stats, there was enough space in tmp, more than 100 Gb RAM free, and 6 Gb GPU RAM still free too. Also this happened in after training iteration 8000+ and after testing iteration 800, which means it's an exotic error.
Do anybody have any clue what could be the error?
Beta Was this translation helpful? Give feedback.
All reactions