Migrated from mir-group/nequip#541 (comment). Possible race condition when the extension needs to be rebuilt arising from multiple Hydra processes.
@kavanase @Linux-cpp-lisp @cw-tan
Temporary fix is to delete the torch extension folder on a hang. Long-term, need to find root cause of the hang.