Preloads data objects saved using Torch from a file and saves the data objects to the high-performance MemFS of MindIO ACP.
mindio_acp.preload(*path)
Parameter |
Mandatory/Optional |
Description |
Value |
|---|---|---|---|
path |
Mandatory |
Preloaded source file, which must exist. |
Valid file path or path set |
>>> # preload from file
>>> mindio_acp.preload('/mnt/dpc01/checkpoint/rank-0.pt')