Registry / ai-ml / runai-model-streamer-azure

runai-model-streamer-azure

JSON →
library0.16.0pypypiunverified

A library for streaming AI model artifacts from Azure Blob Storage to GPU nodes in Run:AI environments. Supports asynchronous prefetching, caching, and direct loading into PyTorch/TensorFlow. Current version 0.15.9 with weekly releases.

pip install runai-model-streamer-azure
INSTALL
IMPORT
SIG · RUNAI-MODEL-STREAM
R
runai-model-streamer-azure
ai-mlpythonv0.16.0
Install
4.1s avg
Import
Disk
64MB
Pass rate
5/ 10
Env Coverage5 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.16.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
build_error
glibc
py 3.103.95 runs
installs and imports cleanly · install 4.1s · import 0.000s · 65MB
64MB installed
● package 64MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AzureModelStreamer
from runai_model_streamer_azure import AzureModelStreamer
from runai_model_streamer_azure import AzureModelStreamer

Initializes a streamer to fetch a model checkpoint from Azure Blob Storage.

from runai_model_streamer_azure import AzureModelStreamer, StreamConfig config = StreamConfig( container="my-models", blob_prefix="models/resnet50/", connection_string=os.environ.get("AZURE_STORAGE_CONNECTION_STRING", "") ) streamer = AzureModelStreamer(config) local_path = streamer.fetch("model.pt") print(local_path)
Debug
Known issues
breakingVersion 0.13.0 changed the base class of AzureModelStreamer; custom subclasses must inherit from the new base or override fetch() explicitly.
fix
Update subclasses: inherit from runai_model_streamer._base.BaseStreamer instead.
affects: >=0.13.0
deprecatedThe 'StreamConfig.block_size' parameter will be removed in 0.16.0; use 'StreamConfig.read_chunk_size' instead.
fix
Replace block_size with read_chunk_size in StreamConfig.
affects: >=0.14.0 <0.16.0
gotchaConnection string authentication (AZURE_STORAGE_CONNECTION_STRING) is required; using DefaultAzureCredential silently fails if no connection string is set.
fix
Set environment variable AZURE_STORAGE_CONNECTION_STRING or pass connection_string explicitly.
affects: all
Upgrade
Version history
0.16.0latest on PyPI · released May 28, 2026
Audit
Dependencies
runai-model-streamerrequiredCore streaming engine
azure-storage-blobrequiredAzure Blob Storage client
Agent activity
43 hits · last 30 days
node
36
OpenAI (training)
1
Resources
runai-model-streamer-azure — pip install runai-model-streamer-azure · libregistry