Closed vasnesterov closed 11 months ago
This could be a result of OOM error. How much memory do you have? Tracing mathlib4 probably needs at least 32GB.
I have 64GB, and checked memory consumption a few times during tracing (but not at the end), it has never been more than 40GB.
64GB should be enough. I'll try to reproduce this problem and let you know.
Hi @vasnesterov,
I tried to run the code but unfortunately wasn't able to reproduce the problem. Please let me know if this issue persists and is blocking your own project building on top of LeanDojo. I can share the traced repo with you if all you need is this specific version of mathlib4.
Thank you for offering! But the version from demo is actually more than enough for me.
I've run tracing again, setting num_proc = 1, and got the same error. I've monitored the memory consumption, it was about 64GB at some moment, so I think it is really just OOM.
I think the issue can be closed now.
Description I've just installed LeanDojo and trying to trace mathlib4 using this script:
After tracing it checks if there are some missing files and throws an error:
(It's only the end of the log actually, I'll send the full log if you want.)
I did it a couple of times and noticed that files in error go in random order, and some files can appear or not: for example, in previous run there was no
LocalizedModule
in the error message (the rest were).Although tracing lean4-example works well.
Detailed Steps to Reproduce the Behavior
Platform Information