← 返回事件
持续讨论AI发版

ciflow/torchtitan/199419: [DCP] Read checkpoint items in parallel in FileSystemReader

图:PyTorch Releases

发生了什么

FileSystemReader reads a rank's items one at a time, and torch.load copies each tensor again. Add thread_count (like FileSystemWriter's): items are read on a thread pool, each decoded from its zip header and directory only, and each tensor's bytes are read straight into the target (through a pinned chunk for accelerator targets). thread_count=1 keeps the serial path; the default splits 32 threads across the node's r…

摘要按规则整理自下方来源原文

为什么在扩散

来源