Enhanced MMapIndexedDataset: less memory, higher speed (#816)
Summary: I have made an upgrade to my previous implementation of MMapIndexedDataset, now: - It uses up to **4 times less memory and disk space** - Words per second is slightly improved thanks to less memory access Pull Request resolved: https://github.com/pytorch/fairseq/pull/816 Differential Revision: D15899848 Pulled By: myleott fbshipit-source-id: 9ddeb4809729ef69cc6b0867b33ee71184d845e6
Showing
Please register or sign in to comment