Optimization WorkflowΒΆ

In this section, we share the methodologies we developed while optimizing production AI training pipelines.

When optimizing a training pipeline, it is important to determine if data loading is a bottleneck, and identify which part of the pipeline is the bottleneck.

One of the goals of SPDL project is to allow users to programmatically determine where the bottleneck is. SPDL achieves this by making the Pipeline observable. You can export the runtime performance statistics of the Pipeline, and analyse them to determine the bottleneck.

This forms a feedback loop: experiment, observe and analyze the statistics, improve the bottleneck, and repeat.

The SPDL feedback loop of experimenting, observing and analyzing, and improving.

We walk through the steps we take to analyse the production system, and examine some cases, and discuss how we approach performance issues.

This section covers the overall workflow. Pages about individual techniques are in Optimization Techniques, and investigations of specific pipelines are in Case Studies.