mlx.data.core.AWSFileFetcher.prefetch#
- AWSFileFetcher.prefetch(self: mlx.data._c.core.FileFetcher, filenames: List[str]) None#
Start prefetching these files.
num_prefetch_maxfiles are downloaded withnum_prefetch_threadsparallelism. When one of the prefetched files is accessed byfetchthen more of the prefetch file list is downloaded.At any given point we keep
num_kept_filesin the local cache.