GPU only OOM errors #12778
-
Hi there, I've been reading through some of the OOM discussion questions, but I haven't been able to find one that answers my issue. I am trying to minimize a chi-squared distribution (See Why is the GPU running out of memory when using a JAX optimizer on these (from looking at other posts) relatively small arrays? Initial guess of jax.optimize.minimize: 256 x 256 noise array Things I've tried:
Code below:
The memory device profiling using pprof for the 8 x 8 and 128 x 128 versions don't seem very illuminating to me. Here it is for 128 x 128. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
This was solved by changing the method of the optimizer to one not yet included in the documentation: |
Beta Was this translation helpful? Give feedback.
-
Hello, What tool is used to draw the pprof graph? It's really cool. |
Beta Was this translation helpful? Give feedback.
This was solved by changing the method of the optimizer to one not yet included in the documentation:
l-bfgs-experimental-do-not-rely-on-this
.