3 ms·
The transition to mmap offloaded memory management to the kernel, which can lazily load in parts of the file from disk as its memory mapped pages are accessed.
by akiselev 4y ago
The transition to mmap offloaded memory management to the kernel, which can lazily load in parts of the file from disk as its memory mapped pages are accessed. The original version eagerly read the files into memory before running inference.