Search papers, labs, and topics across Lattice.
FoldPipe is a lightweight orchestration layer designed to optimize the training of molecular machine-learning models by enabling asynchronous prefetching of preprocessed molecular graphs from remote storage. By maintaining a bounded number of live shard payloads, it achieves a mean I/O-compute overlap of 16.33 seconds, significantly improving efficiency compared to a sequential baseline. While the geometric mean speedup is modest at 1.059x, the results highlight the effectiveness of the overlap mechanism, though variability in network conditions complicates definitive conclusions about wall-clock speed advantages.
Achieving over 16 seconds of I/O-compute overlap, FoldPipe redefines efficiency in training molecular ML models on constrained resources.
Training molecular machine-learning models on ephemeral or memory-constrained accelerator instances can require repeatedly retrieving preprocessed molecular graphs from remote storage. FoldPipe is a lightweight Python orchestration layer for already-sharded PyTorch and PyTorch Geometric data. It retrieves one shard ahead in a background thread while the consumer trains on the current shard, keeping the number of live shard payloads bounded with respect to total dataset size. Asynchronous prefetch and bounded buffering are established systems techniques rather than novel scheduling algorithms. FoldPipe's contribution is a small integration targeted at native .pt molecular shards together with a source-pinned empirical characterization of its operating regime. We evaluate a SchNet energy-and-force workload on MD17 aspirin using 20 paired, order-alternating benchmark passes on a Tesla T4. Each pass processes five pinned shards containing 25,000 structures. FoldPipe records 16.33 s mean I/O-compute overlap, compared with zero by construction for the sequential bounded baseline. Mean pass time is 76.78 s for FoldPipe and 83.37 s for the baseline. However, the geometric mean paired speedup is $1.059\times$ with a 95% bootstrap interval from $0.878\times$ to $1.288\times$. The experiment therefore verifies the overlap mechanism but is inconclusive about a reliable wall-clock speed advantage under the observed public-network variability.