Better HN
topnewbestaskshowjobs
Log inSign up

hafeoz

97 karma · joined Jul 23, 2025 (1y ago) · 6 submissions

Submissions

comment 6d ago · link · parent

The machine itself has 1.5 TiB of memory; I did not check the free memory while it was running, sorry :(

LLM-generated text below: ``` The build printed about 460,000 linter warnings, and none of them affect correctness. Almost all are code-quality issues such as redundant proof steps, style, and unused variables. About 33,000 are uses of deprecated Mathlib names, which only matter if we upgrade Mathlib.

Memory per process wasn't logged during the run. The container's lifetime memory peak is 441 GiB, but that includes file cache and is only an upper bound. A typical module uses about 0.5 GB of its own memory, and the heaviest use about 8 GB. With about 280 compiles running in parallel, the build used at most about 215 GB of the machine's 1.5 TB of memory, based on spot checks. ```

comment 6d ago · link · parent

I probably shouldn't say this, but I work at a company related to CPU manufacturing.

Part of my job is to ensure that HPC programs (largely LLM libraries these days) work on their next-generation CPUs and with new BIOS revisions. We test them using a shared pool of machines with various configurations. GPU machines are much scarcer, and we have to share them with other teams, so it's hard to reserve a time slot. I usually reserve a CPU machine around the clock so I can work whenever I want (I'm more productive at midnight), and nobody seems to mind.

I've worked here for almost a year now, and I love my company ;)

comment 1w ago · link · parent

Finally finished compiling on my PC (well, actually an HPC machine at my company, but it's the weekend, and I hope nobody is using it) - it took 2.4 hours on a 480-core Xeon and produced 89 GB of compilation output. I had to make some modifications because, for some reason, Lake bottlenecks and stalls verification. I worked around this by compiling the files directly instead of using `lake build`. I also had to increase `vm.max_map_count` for some later modules.

All 175,187 modules seem to check out with Lean 4.33.1, with no errors or `sorry`. There are tons of linter warnings - over 460k of them - but I think they might be caused by the way I invoked it. I haven't checked the actual axiom being proved, though - I'm not good at math :)

comment 1y ago · link · parent

Firefox already has a monitor module that AFAIU tracks UI stalls and prompts the user to stop the website if it hangs for a long period [1]. It probably can be further developed to also track resource consumption and show a warning if some threshold is reached.

[1]: https://searchfox.org/mozilla-central/source/browser/modules...