Repository navigation
Conversation
Bump the 0.38.0 tag_prefix in djl-lmi.json from 0.38.0-lmi29.0.0-cu130 to 0.38.0-lmi30.0.0-cu130, and register the new tag in KNOWN_MISSING_COMBINATIONS (ap-east-2) as for earlier LMI releases. DJL Serving stays at 0.38.0, so the existing key is edited in place. The registries map and version_aliases are unchanged.
|
The tag bump itself looks right, but I think the two halves of this PR contradict each other and it's worth settling before merge. On this branch,
So which is it?
For reference, I checked the manifest directly ( Worth noting that PR Checks won't answer this either way: the DJL image-URI tests are static assertions over the same JSON they read, so nothing in CI verifies that a tag actually exists in ECR. |
There was a problem hiding this comment.
🤖 AI code review
This PR bumps the DJL-LMI 0.38.0 image tag_prefix from lmi29.0.0-cu130 to lmi30.0.0-cu130 for sagemaker-core (SDK v3.x) and registers the new tag in the test KNOWN_MISSING_COMBINATIONS for ap-east-2. Since DJL Serving stays at 0.38.0, editing the existing version key in place (rather than adding a new key) is correct and matches the established pattern. The change is clean and consistent with prior LMI bump precedent (e.g. PR #6301, #5976).
Reviewed commit c55261e. Automated review; verify before acting.
The 3.x 0.38.0 registries map includes ap-east-2, so exempting 0.38.0-lmi30.0.0-cu130 there removes nothing from the expected set. The 0.38.0-lmi29.0.0-cu130 key is no longer produced by any tag_prefix.
The exemption was a no-op on 3.x, since the 0.38.0 registries map already has ap-east-2. Pushed a commit that drops the new lmi30 entry and the stale lmi29 entry from KNOWN_MISSING_COMBINATIONS; test_djl.py passes on Python 3.10 and 3.12. On ap-east-2: lmi30 was released to the same region set as lmi29, which includes ap-east-2, and the release only completes once every region in that set succeeds. I haven't pulled the manifest from ap-east-2 directly since it is opt-in. If it turns out to be missing there, the fix is to remove ap-east-2 from the 0.38.0 registries rather than restore the exemption. The 2.x PR (#6484) keeps its exemption because 2.x has no ap-east-2 key for 0.38.0. |
There was a problem hiding this comment.
🤖 AI code review
This PR bumps the DJL-LMI 0.38.0 tag_prefix from lmi29 to lmi30 in sagemaker-core and removes the stale 0.38.0-lmi29.0.0-cu130 entry from KNOWN_MISSING_COMBINATIONS. The code change is correct and the resulting test state is self-consistent: ap-east-2 is present in the 0.38.0 registries map (line 47) and the test only checks for missing regions, so no lmi30 entry in KNOWN_MISSING_COMBINATIONS is needed or appropriate. Two concerns worth noting: the PR description claims it registers 0.38.0-lmi30.0.0-cu130 in KNOWN_MISSING_COMBINATIONS but the diff does not add it (description/diff mismatch), and the static tests do not verify the image is actually published in ap-east-2.
Reviewed commit 9f03ad7. Automated review; verify before acting.
There was a problem hiding this comment.
🤖 AI code review
This PR bumps the DJL-LMI 0.38.0 tag_prefix from 0.38.0-lmi29.0.0-cu130 to 0.38.0-lmi30.0.0-cu130 in the sagemaker-core image config and removes the now-stale 0.38.0-lmi29.0.0-cu130 ap-east-2 entry from KNOWN_MISSING_COMBINATIONS. The change is consistent: the 0.38.0 registries map already lists ap-east-2 (975050140332), so correctly no new lmi30 exemption is added — this avoids the registries/KNOWN_MISSING_COMBINATIONS contradiction called out in prior precedent (Source: #6483). The DJL Serving version key is unchanged, so the in-place edit is appropriate. The PR looks clean; the only caveat is that static JSON tests don't verify actual ECR publication in ap-east-2, which should be confirmed manually.
Reviewed commit 2f61a3b. Automated review; verify before acting.
Summary
Updates the DJL-LMI image config to the newly released LMI v30 (
0.38.0-lmi30.0.0-cu130, DJL Serving 0.38.0 / vLLM 0.31.0) for SageMaker Python SDK 3.x (sagemaker-core). DJL Serving stays at 0.38.0, so this edits the0.38.0key in place and theregistriesmap is unchanged.Changes
sagemaker-core/src/sagemaker/core/image_uri_config/djl-lmi.json: bump the0.38.0tag_prefixfrom0.38.0-lmi29.0.0-cu130to0.38.0-lmi30.0.0-cu130sagemaker-core/tests/unit/image_uris/test_djl.py: remove the stale0.38.0-lmi29.0.0-cu130entry fromKNOWN_MISSING_COMBINATIONS. No lmi30 entry is added: the 3.x0.38.0registriesmap already listsap-east-2, so an exemption there would be a no-op.Testing
pytest tests/unit/image_uris/test_djl.pyinsagemaker-coreon the PR head: 8 passed on Python 3.10 and 3.12image_uris.retrieve("djl-lmi", region="us-west-2", version="0.38.0")andversion="latest"both return763104351884.dkr.ecr.us-west-2.amazonaws.com/djl-inference:0.38.0-lmi30.0.0-cu130; the0.36.0key still returns thelmi27tag