jaxlib._jax.XlaRuntimeError #32575
-
Greetings, I am facing this issue in using Python Biogeme. Could you please sort out this. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hello – from the error message it looks like you're running a script that attempts to allocate more memory than is available on your device. To fix this you'll need to reduce the size of the arrays in your program. If you'd like more specific help with this, please try putting together a minimal reproducible example. |
Beta Was this translation helpful? Give feedback.
It looks like this code mainly depends on the
biogeme
package, which is likely doing a lot of things under the hood. I'm not familiar with this package, so I won't be able to comment on whether you're using it correctly. I think you'd probably find better results by asking about your out-of-memory issue in a forum specific to thebiogeme
package, if possible.But broadly speaking: the error you're seeing indicates that you're running a computation that uses more memory than is available on your device. The best approach will probably involve splitting your training into batches which can be run independently. I'd suggest looking into whether this kind of approach is supported by
biogeme
.