aistore.pytorch.batch_iter_dataset
aistore.pytorch.batch_iter_dataset
Iterable Dataset using Batch API for AIS
Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
Module Contents
Classes
API
Bases: AISBaseIterDataset
Custom AIStore PyTorch dataset that uses the AIS batch API for efficient data loading with multi-worker support and memory-efficient iteration.
Parameters:
Single or list of AISSource objects to load data
AIStore client instance
Maximum number of objects to fetch in each batch request. Defaults to 32
Format for batch response. Defaults to “.tar”
Enable streaming mode. Defaults to True
Map of AISSource objects to prefixes
Show progress indicator. Defaults to False
Memory-efficient iterator with multi-worker support using batch API.
Process a batch of objects using the batch API.
Parameters:
List of objects to process in this batch