Excessive memory usage during compilation with pip #115
Closed
Description
Currently, attempting to build the sphericart-torch
wheel with pip
requires a large amount of RAM if many CPU cores are present. I think this is due to this line, which invokes cmake
without specifying the number of jobs, which presumably will default to the total number of cores. On a HPC system those can be 40 or 80, and so compilation tends to get kill
ed by the host OS.
While this is not catastrophic, it is inconvenient, and a waste of resources in many cases (the compilation is not much faster in parallel mode). I would suggest defaulting to some reasonable default instead, or disabling parallel builds entirely. Alternatively, the installation docs should at least mention this fact (see #116).
Metadata
Assignees
Labels
No labels
Activity