Replies: 2 comments 3 replies
-
Hi @cool-RR, 10 hours sounds really long : )! Perhaps some of the more savvy JAX folks know of a way to measure such timings. In my experience, such variable compile times tend to be due to unrolled Cheers |
Beta Was this translation helpful? Give feedback.
-
Hi @cool-RR – I don't know of any way to get a tqdm-style progress bar on compilation progress. If you're getting multi-hour compilations, I suspect your effort would be better spent changing your code to improve compilation speed. As @ddrous mentioned, the main culprit in cases like this is often Python control flow (e.g. I hope that helps! |
Beta Was this translation helpful? Give feedback.
-
Hi,
My program takes anywhere from 2 minutes to 10 hours to lower and compile my JAX code. It's frustrating that I don't know in advance how long I'll have to wait. Is there some way to measure the progress of the lowering and compilation? If so, I might be able to hook a
tqdm
progress bar to it and make the user experience much nicer.Thanks,
Ram.
Beta Was this translation helpful? Give feedback.
All reactions