ciflow/torchtitan/199419: [DCP] Read checkpoint items in parallel in FileSystemReader
- PyTorch 近 90 天出现 1775 次
- PyTorch 近 90 天第 1753 次发版
- 上一次:同一天稍早 · ciflow/periodic/199127: [UPDATE] > Address review feedback and trim tests
发生了什么
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…
摘要按规则整理自下方来源原文