{"id":24546,"library":"runai-model-streamer-azure","title":"Run:AI Model Streamer for Azure","description":"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.","status":"active","version":"0.15.9","language":"python","source_language":"en","source_url":"https://github.com/runai/runai-model-streamer-azure","tags":["runai","model-streamer","azure","blob-storage","mlops"],"install":[{"cmd":"pip install runai-model-streamer-azure","lang":"bash","label":"PyPI install"}],"dependencies":[{"reason":"Core streaming engine","package":"runai-model-streamer","optional":false},{"reason":"Azure Blob Storage client","package":"azure-storage-blob","optional":false}],"imports":[{"note":"Old dotted path was used in early betas, now flat import.","wrong":"from runai.model_streamer.azure import ...","symbol":"AzureModelStreamer","correct":"from runai_model_streamer_azure import AzureModelStreamer"},{"symbol":"StreamConfig","correct":"from runai_model_streamer_azure import StreamConfig"}],"quickstart":{"code":"from runai_model_streamer_azure import AzureModelStreamer, StreamConfig\n\nconfig = StreamConfig(\n    container=\"my-models\",\n    blob_prefix=\"models/resnet50/\",\n    connection_string=os.environ.get(\"AZURE_STORAGE_CONNECTION_STRING\", \"\")\n)\nstreamer = AzureModelStreamer(config)\nlocal_path = streamer.fetch(\"model.pt\")\nprint(local_path)","lang":"python","description":"Initializes a streamer to fetch a model checkpoint from Azure Blob Storage."},"warnings":[{"fix":"Update subclasses: inherit from runai_model_streamer._base.BaseStreamer instead.","message":"Version 0.13.0 changed the base class of AzureModelStreamer; custom subclasses must inherit from the new base or override fetch() explicitly.","severity":"breaking","affected_versions":">=0.13.0"},{"fix":"Replace block_size with read_chunk_size in StreamConfig.","message":"The 'StreamConfig.block_size' parameter will be removed in 0.16.0; use 'StreamConfig.read_chunk_size' instead.","severity":"deprecated","affected_versions":">=0.14.0 <0.16.0"},{"fix":"Set environment variable AZURE_STORAGE_CONNECTION_STRING or pass connection_string explicitly.","message":"Connection string authentication (AZURE_STORAGE_CONNECTION_STRING) is required; using DefaultAzureCredential silently fails if no connection string is set.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"pip install runai-model-streamer","cause":"Missing dependency: runai-model-streamer must be installed separately.","error":"ModuleNotFoundError: No module named 'runai_model_streamer'"},{"fix":"Use 'read_chunk_size' instead of 'block_size' in StreamConfig.","cause":"block_size renamed to read_chunk_size in 0.14.0.","error":"AttributeError: 'StreamConfig' object has no attribute 'block_size'"},{"fix":"Set AZURE_STORAGE_CONNECTION_STRING to a valid Azure Blob Storage connection string.","cause":"Missing or empty AZURE_STORAGE_CONNECTION_STRING environment variable.","error":"azure.core.exceptions.ClientAuthenticationError: No connection string supplied."}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}