ExamplesΒΆ

image_dataloading

Benchmark the performance of loading images from local file system to GPUs.

video_dataloading

This example uses SPDL to decode and batch video frames, then send them to GPU.

imagenet_classification

Benchmark the performance of loading images from local file systems and classifying them using a GPU.

multi_thread_preprocessing

This example shows how to run PyTorch tarnsform in SPDL Pipeline, and compares its performance against PyTorch DataLoader.

streaming_nvdec_decoding

This example shows how to decode a video with GPU in streaming fashion.

streaming_video_processing

This example shows how to process video in streaming fashion.

performance_analysis

This examlple shows how to collect runtime performance statistics using TensorBoard.

data_formats

This example benchmarks the speed of loading data in different formats.

hydra_integration

This example shows how to build Pipeline object with Hydra using building blocks from spdl.pipeline.defs module.

pipeline_definitions

Comprehensive example defining a complex pipeline with spdl.pipeline.defs.

pipeline_profiling

Example demonstrating the use of spdl.pipeline.profile_pipeline().

benchmark_wav

This example measuers the performance of loading WAV audio.

benchmark_tarfile

Benchmark script for iter_tarfile function.