Skip to content

[Feature] Add Azure Blob Storage support for RunAI Model Streamer#34614

Merged
DarkLight1337 merged 1 commit intovllm-project:mainfrom
hasethuraman:hari/azblob-support
Mar 15, 2026
Merged

[Feature] Add Azure Blob Storage support for RunAI Model Streamer#34614
DarkLight1337 merged 1 commit intovllm-project:mainfrom
hasethuraman:hari/azblob-support

Conversation

@hasethuraman
Copy link
Contributor

@hasethuraman hasethuraman commented Feb 16, 2026

Purpose

Add Azure Blob Storage (az://) as a supported object storage backend for loading models via the RunAI Model Streamer, alongside the existing S3 and GCS support.

This enables users to load models directly from Azure Blob Storage using:

AZURE_STORAGE_ACCOUNT_NAME=<account> vllm serve az://<container>/<model-path> --load-format runai_streamer

Authentication uses DefaultAzureCredential (supports az login, managed identity, environment variables, etc.).

Changes:

Add az:// to SUPPORTED_SCHEMES in RunAI utils
Add is_azure() helper and include it in is_cloud_storage()
Add azure extra to runai-model-streamer dependency
Bump runai-model-streamer from 0.15.3 to 0.15.6 (minimum version with Azure support)
Update error messages and docstrings to reflect Azure support

Test Plan

Unit tests for URI detection

pytest tests/transformers_utils/test_utils.py::test_is_azure
pytest tests/transformers_utils/test_utils.py::test_is_cloud_storage
pytest tests/model_executor/model_loader/runai_streamer_loader/test_runai_utils.py::test_is_runai_obj_uri

E2E test (requires Azure credentials and AZURE_STORAGE_ACCOUNT_NAME set)

AZURE_STORAGE_ACCOUNT_NAME= vllm serve az:/// --load-format runai_streamer

Test Result

Unit tests — all pass:
test_is_azure: PASSED
test_is_s3: PASSED
test_is_gcs: PASSED
test_is_cloud_storage: PASSED
test_is_runai_obj_uri: PASSED

File listing from Azure Blob Storage:
$ AZURE_STORAGE_ACCOUNT_NAME=harikaito python3 -c "from vllm.transformers_utils.runai_utils import list_safetensors; print('\n'.join(list_safetensors('az://qwen/Qwen2.5-Coder-7B-Instruct')))"

Model config loaded successfully from az:// URI
Architecture resolved as Qwen2ForCausalLM. [max_model_len=32768]
Server initialized and began weight loading via RunAI streamer


Essential Elements of an Effective PR Description Checklist
  • The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
  • The test plan, such as providing test command.
  • The test results, such as pasting the results comparison before and after, or e2e results
  • (Optional) The necessary documentation update, such as updating supported_models.md and examples for a new model.
  • (Optional) Release notes update. If your change is user facing, please update the release notes draft in the Google Doc.

@mergify mergify bot added ci/build rocm Related to AMD ROCm labels Feb 16, 2026
@github-project-automation github-project-automation bot moved this to Todo in AMD Feb 16, 2026
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds support for loading models from Azure Blob Storage using the RunAI Model Streamer. The changes are well-implemented and consistent across the codebase. The dependency runai-model-streamer is correctly updated to a version that supports Azure, and the azure extra is added to all relevant installation configurations, including the Dockerfile, requirements files, and setup.py. The utility functions for detecting storage schemes are updated, and new tests are added to cover the Azure URI format. The documentation and error messages are also updated to reflect the new capability. The changes are correct and I see no issues.

@github-actions
Copy link

👋 Hi! Thank you for contributing to the vLLM project.

💬 Join our developer Slack at https://slack.vllm.ai to discuss your PR in #pr-reviews, coordinate on features in #feat- channels, or join special interest groups in #sig- channels.

Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run fastcheck CI which starts running only a small and essential subset of CI tests to quickly catch errors.

You ask your reviewers to trigger select CI tests on top of fastcheck CI.

Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging.

To run CI, PR reviewers can either: Add ready label to the PR or enable auto-merge.

If you have any questions, please reach out to us on Slack at https://slack.vllm.ai.

🚀

@hasethuraman hasethuraman changed the title [feature] Add Azure Blob Storage support for RunAI Model Streamer [Feature] Add Azure Blob Storage support for RunAI Model Streamer Feb 16, 2026
@hasethuraman hasethuraman force-pushed the hari/azblob-support branch 2 times, most recently from af24d73 to 0995572 Compare February 19, 2026 02:04
@mergify
Copy link

mergify bot commented Feb 19, 2026

Documentation preview: https://vllm--34614.org.readthedocs.build/en/34614/

@mergify mergify bot added the documentation Improvements or additions to documentation label Feb 19, 2026
@hasethuraman hasethuraman marked this pull request as ready for review February 19, 2026 02:20
Copy link
Contributor

@omer-dayan omer-dayan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks graet!

Thanks a lot

Copy link
Contributor

@noa-neria noa-neria left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@noa-neria
Copy link
Contributor

@DarkLight1337 can you please review?

Copy link
Member

@DarkLight1337 DarkLight1337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@DarkLight1337 DarkLight1337 enabled auto-merge (squash) February 25, 2026 16:54
@noa-neria
Copy link
Contributor

@hasethuraman may you please set the streamer version to the latest - 0.15.7 ?
This version includes the correct Azure artifacts

auto-merge was automatically disabled March 12, 2026 10:37

Head branch was pushed to by a user without write access

@hasethuraman
Copy link
Contributor Author

Thanks @noa-neria on updating here. Have bumped up the runai version to 0.15.7. Please take a look

@noa-neria
Copy link
Contributor

LGTM, thanks

@mergify
Copy link

mergify bot commented Mar 12, 2026

Hi @hasethuraman, the pre-commit checks have failed. Please run:

uv pip install pre-commit
pre-commit install
pre-commit run --all-files

Then, commit the changes and push to your branch.

For future commits, pre-commit will run automatically on changed files before each commit.

Tip

Is mypy failing?
mypy is run differently in CI. If the failure is related to this check, please use the following command to run it locally:
# For mypy (substitute "3.10" with the failing version if needed)
pre-commit run --hook-stage manual mypy-3.10

@hasethuraman
Copy link
Contributor Author

Hi @hasethuraman, the pre-commit checks have failed. Please run:

uv pip install pre-commit
pre-commit install
pre-commit run --all-files

Then, commit the changes and push to your branch.

For future commits, pre-commit will run automatically on changed files before each commit.

Tip

Is mypy failing?

mypy is run differently in CI. If the failure is related to this check, please use the following command to run it locally:

# For mypy (substitute "3.10" with the failing version if needed)
pre-commit run --hook-stage manual mypy-3.10

I have not touched kimi_audio.py but precommit is failing for the untouched file. @andrew @DarkLight1337 any pointers?

Run mypy locally for lowest supported Python version................................................Failed
- hook id: mypy-local
- exit code: 1

$ mypy --python-version 3.10 --follow-imports skip
vllm/tool_parsers/abstract_tool_parser.py:70: error: Unexpected keyword argument "json" for "StructuredOutputsParams"  [call-arg]
/home/hsethuraman/.cache/pre-commit/repo66onwee7/py_env-python3.10/lib/python3.10/site-packages/mypy/typeshed/stdlib/builtins.pyi:117: note: "StructuredOutputsParams" defined here
vllm/tokenizers/kimi_audio.py:302: error: Argument 1 of "decode" is incompatible with supertype "vllm.tokenizers.protocol.TokenizerLike"; supertype defines the argument type as "Sequence[int] | int"  [override]
vllm/tokenizers/kimi_audio.py:302: note: This violates the Liskov substitution principle
vllm/tokenizers/kimi_audio.py:302: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides
vllm/tokenizers/kimi_audio.py:324: error: Argument 1 of "convert_ids_to_tokens" is incompatible with supertype "vllm.tokenizers.protocol.TokenizerLike"; supertype defines the argument type as "Sequence[int]"  [override]
vllm/tokenizers/kimi_audio.py:324: note: This violates the Liskov substitution principle
vllm/tokenizers/kimi_audio.py:324: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides
Found 3 errors in 2 files (checked 760 source files)
$ mypy --python-version 3.10 --follow-imports skip tests
Success: no issues found in 984 source files
$ mypy --python-version 3.10 --follow-imports skip vllm/lora
Success: no issues found in 39 source files
$ mypy --python-version 3.10 --follow-imports skip vllm/model_executor
Success: no issues found in 269 source files

@hasethuraman hasethuraman force-pushed the hari/azblob-support branch 2 times, most recently from 6310c07 to c46c6d1 Compare March 13, 2026 02:55
@hasethuraman
Copy link
Contributor Author

@DarkLight1337 I dont have rights to merge. Required CI build is success. If all good, could you help me to merge this PR?

@mergify
Copy link

mergify bot commented Mar 14, 2026

This pull request has merge conflicts that must be resolved before it can be
merged. Please rebase the PR, @hasethuraman.

https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork

Signed-off-by: hasethuraman <hsethuraman@microsoft.com>
@DarkLight1337 DarkLight1337 merged commit a3e2e25 into vllm-project:main Mar 15, 2026
127 of 128 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in AMD Mar 15, 2026
athrael-soju pushed a commit to athrael-soju/vllm that referenced this pull request Mar 16, 2026
…lm-project#34614)

Signed-off-by: hasethuraman <hsethuraman@microsoft.com>
Signed-off-by: Athrael Soju <athrael.soju@gmail.com>
Lucaskabela pushed a commit to Lucaskabela/vllm that referenced this pull request Mar 17, 2026
wendyliu235 pushed a commit to wendyliu235/vllm-public that referenced this pull request Mar 18, 2026
fxdawnn pushed a commit to fxdawnn/vllm that referenced this pull request Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/build documentation Improvements or additions to documentation ready ONLY add when PR is ready to merge/full CI is needed rocm Related to AMD ROCm

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants