It depends on. That’s the straightforward pipeline, however there are two options. The typical one is to make a list of file paths or memory map tensors which will be loaded in __getitem__, however, in order to load it in RAM, you need to make a list of loaded files.