AWS SageMaker AI adds SOCI-indexed images for faster job starts

Disclosure: this post contains affiliate links. If you buy through them we may earn a commission at no extra cost to you. Learn more.

TL;DR: AWS announced SOCI indexing support for Amazon SageMaker AI training and processing jobs, enabling containers to start in seconds instead of minutes by lazy-loading images. Benchmarks show 8x-46x faster download times across image sizes from 1.8 GB to 35.4 GB, with up to 90% reduction in GPU idle time during image pulls.

What's new

Amazon Web Services has announced support for Seekable OCI (SOCI) indexing in Amazon SageMaker AI Training and Amazon SageMaker AI processing jobs. The feature eliminates full container image downloads from the critical path by lazy-loading images—fetching only the files needed to start containers immediately and streaming the rest in the background.

SOCI is an open source technology that uses metadata indexes to map every file inside a container image. The index is stored in Amazon Elastic Container Registry (Amazon ECR) as an OCI-compliant artifact linked to the original image, preserving image digests and existing signatures.

When users create a training or processing job, SageMaker AI automatically checks whether the specified image has a SOCI index. If one exists, the service lazy-loads the image. If not, or if lazy loading fails, the job falls back to standard download without breaking the workflow.

AWS benchmarked SOCI indexing across eight images ranging from 1.8 GB to 35.4 GB compressed, on GPU instances (ml.g4dn, ml.g5, ml.g6, ml.g6e, ml.g7, ml.g7e, ml.p4d, ml.p5) and CPU instances (ml.m7i) from xlarge to 48xlarge in US West (Oregon) and US East (N. Virginia) regions.

Standard downloads took 48 seconds for 1.8 GB images, 3 minutes 42 seconds for 13.2 GB images, and 7 minutes 17 seconds for 35.4 GB images. With SOCI lazy loading, all images started in 3-11 seconds regardless of size—delivering 8x to 46x improvements. Testing a 13.2 GB image across 13 instance type and size combinations showed lazy loading held at 6-8 seconds while standard downloads ranged from 3 minutes 16 seconds to 4 minutes 20 seconds.

AWS ran full training jobs comparing Docker-pulled and SOCI-indexed images for image classification (ResNet-50 on Imagenette with 9,469 images) and LLM fine-tuning (Qwen2.5-0.5B on alpaca-cleaned with 51,760 examples). The first epoch took 3-16 seconds longer with lazy-loaded images as files were fetched on first access, but subsequent epochs showed identical performance. Overall, each job finished 1-6 minutes sooner.

Pricing and availability

Pricing details were not specified in the announcement. The feature is available now for Amazon SageMaker AI training and processing jobs. Users can adopt SOCI indexing by pointing to pre-indexed AWS Deep Learning Containers or by adding an index to their own images.

How to try it

No changes to job definitions, entry points, or data channels are required to adopt SOCI indexing. Users can start by using pre-indexed AWS Deep Learning Containers (DLCs) or by adding a SOCI index to their own container images stored in Amazon ECR.

The service automatically detects and uses available SOCI indexes when launching jobs. If no index is present or if lazy loading encounters issues, jobs automatically fall back to standard downloads, ensuring existing workflows continue without disruption.

Who it's for

SOCI indexing benefits teams running frequent SageMaker AI jobs where container startup time represents significant overhead. This includes hyperparameter tuning sweeps with hundreds of jobs, quick experiments, and short processing jobs where image download can dominate total runtime.

The feature particularly helps teams using large deep learning images exceeding 10 GB, where download times routinely add minutes to every job. Data scientists and ML engineers looking to reduce GPU idle time during image pulls and lower overall job costs will see the most impact.

Alternatives

Organizations seeking to optimize ML workflows can explore Make for workflow automation across cloud services. Teams managing complex ML pipelines might benefit from ClickUp for project coordination and tracking experiments across distributed teams.

Tools mentioned

Try Make

Try ClickUp

FAQ

Does SOCI indexing require changes to existing SageMaker jobs?

No. SOCI indexing requires no changes to job definitions, entry points, or data channels. SageMaker AI automatically checks for and uses SOCI indexes when available, and falls back to standard downloads if not present.

How much faster are SOCI-indexed container starts?

AWS benchmarks showed 8x to 46x faster startup times depending on image size. A 13.2 GB image that took 3 minutes 42 seconds with standard download started in approximately 6 seconds with SOCI lazy loading—about 34x faster.

Does lazy loading affect training performance?

The first epoch takes 3-16 seconds longer as files are fetched on first access, but subsequent epochs show identical performance to standard downloads. Overall jobs finish 1-6 minutes sooner due to eliminated download time.

What happens if SOCI indexing fails?

Jobs automatically fall back to standard container image download. This ensures SOCI indexes never prevent jobs from running—users only gain faster startup without risk to existing workflows.

Sources