Skip to content

feat(vllm-omni): accept application/json on video routes#6298

Merged
Jyothirmaikottu merged 4 commits into
mainfrom
jkottu/omni-sagemaker-json-content-type
Jul 2, 2026
Merged

feat(vllm-omni): accept application/json on video routes#6298
Jyothirmaikottu merged 4 commits into
mainfrom
jkottu/omni-sagemaker-json-content-type

Conversation

@Jyothirmaikottu

@Jyothirmaikottu Jyothirmaikottu commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Restores JSON->multipart conversion in the SageMaker routing middleware for the form-data video routes (/v1/videos, /v1/videos/sync), so callers can send application/json instead of multipart. The proven multipart path is unchanged (byte-for-byte passthrough).

Stays on vllm-omni 0.21.0rc1 — no framework bump. Bumps dlc_minor_version 3 -> 4.

@Jyothirmaikottu Jyothirmaikottu force-pushed the jkottu/omni-sagemaker-json-content-type branch 4 times, most recently from 520997f to 748f15f Compare June 29, 2026 22:07
@Jyothirmaikottu Jyothirmaikottu changed the title feat(vllm-omni): bump to v0.22.0 and accept application/json on video routes feat(vllm-omni): accept application/json on video routes Jun 29, 2026
@Jyothirmaikottu Jyothirmaikottu force-pushed the jkottu/omni-sagemaker-json-content-type branch from 017965a to b8de4ca Compare July 1, 2026 18:36
Restore JSON->multipart conversion in the SageMaker routing middleware for
the form-data video routes (/v1/videos, /v1/videos/sync). These upstream
handlers only accept multipart/form-data, so a SageMaker caller sending
application/json with route=/v1/videos/sync got a 400. The middleware now
converts a JSON object body into multipart/form-data when the resolved route
is one of FORM_DATA_ROUTES, so JSON callers work without changing the proven
multipart path (byte-for-byte passthrough).

Stays on vllm-omni 0.21.0rc1 (no framework bump): the 0.22.0 release ships a
TrackingArgumentParser that crashes on argparse append actions (our
--middleware flag), so the version bump is deferred until the upstream fix is
released. Bumps dlc_minor_version 3 -> 4 for the middleware change.
@Jyothirmaikottu Jyothirmaikottu force-pushed the jkottu/omni-sagemaker-json-content-type branch from b8de4ca to fe81d8c Compare July 1, 2026 21:10
uv venv --python 3.12
source .venv/bin/activate
uv pip install pyyaml
python3 scripts/ci/parse_model_config.py --config .github/config/model-tests/vllm-omni-model-tests.yml --runner-type codebuild-fleet

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

multipart test is not needed on ec2 so we can add this flag to control that


# Regression Test # 7min
cd vllm_source/tests
uv pip install $UV_FLAGS modelscope

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

upstream vllm regression which also blocks our release.

@Jyothirmaikottu Jyothirmaikottu enabled auto-merge (squash) July 1, 2026 23:59
@Jyothirmaikottu Jyothirmaikottu merged commit 3156ae1 into main Jul 2, 2026
1167 of 1200 checks passed
@sirutBuasai sirutBuasai deleted the jkottu/omni-sagemaker-json-content-type branch July 9, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants