For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Blog
DocsAPI Reference
DocsAPI Reference
  • Python SDK
        • Aistore
          • Botocore Patch
          • Mcp
          • Pytorch
            • Base Iter Dataset
            • Base Map Dataset
            • Batch Iter Dataset
            • Dynamic Sampler
            • Iter Dataset
            • Map Dataset
            • Multishard Dataset
            • Parallel Map Dataset
            • Shard Reader
            • Utils
          • Sdk
          • Version
Blog
NVIDIANVIDIA
Developer-friendly docs for your API
Privacy Policy | Your Privacy Choices | Terms of Service | Accessibility | Corporate Policies | Product Security | Contact

Copyright © 2026, NVIDIA Corporation.

LogoLogoAIStore
On this page
  • Module Contents
  • Classes
  • API
Python SDKPythonPythonAistorePytorch

aistore.pytorch.iter_dataset

||View as Markdown|
Previous

aistore.pytorch.dynamic_sampler

Next

aistore.pytorch.map_dataset

Iterable Dataset for AIS

Copyright (c) 2024-2025, NVIDIA CORPORATION. All rights reserved.

Module Contents

Classes

NameDescription
AISIterDatasetAn iterable-style dataset that iterates over objects in AIS and yields

API

class aistore.pytorch.iter_dataset.AISIterDataset(
ais_source_list: typing.Union[aistore.sdk.AISSource, typing.List[aistore.sdk.AISSource]],
prefix_map: typing.Dict[aistore.sdk.AISSource, typing.Union[str, typing.List[str]]] = {},
etl_name: str = None,
show_progress: bool = False
)

Bases: AISBaseIterDataset

An iterable-style dataset that iterates over objects in AIS and yields samples represented as a tuple of object_name (str) and object_content (bytes). If etl_name is provided, that ETL must already exist on the AIStore cluster.

Parameters:

ais_source_list
Union[AISSource, List[AISSource]]

Single or list of AISSource objects to load data

prefix_map
Dict(AISSource, Union[str, List[str]])Defaults to {}

Map of AISSource objects to list of prefixes that only allows

etl_name
strDefaults to None

Optional ETL on the AIS cluster to apply to each object

show_progress
boolDefaults to False

Enables console dataset reading progress indicator

aistore.pytorch.iter_dataset.AISIterDataset.__iter__()