Conversation
…e_uri tests - whisperx: drop the spurious "3.8": "3.8.6" version alias so version 3.8 resolves to its own moving minor tag (3.8-cu128-amzn2023-sagemaker) rather than the pinned 3.8.6 tag; the latest alias still points to 3.8. - tests: reclassify llama-cpp-arm64 as a cpu-only processor-schema config (migrated from the whole-tag form) with mirrored uri / reject-gpu-instance / literal-tag coverage. - tests: allow the newest tensorflow version to additionally carry a newly launched region that is still inside the image-copy window (subset check instead of exact equality).
|
Claude finished @Yadan-Wei's task in 2m 24s —— View job Code reviewReviewed the full diff plus the resulting
1. whisperx: the two versions have divergent registry maps —
|
…t alignment Revert the bundled image_uri_config data promotion and the whisperx alias change carried by earlier commits on this branch, leaving the net change as exactly: - llama-cpp-arm64.json migrated to the cpu-only processor schema (resolved tag unchanged), - serving-framework and tensorflow image_uri unit-test alignments.
|
Claude finished @Yadan-Wei's task in 1m 29s —— View job Code review — PR #6290
Reviewed the current diff (
Correctness — verified sound ✅
Minor — test coverage gap (worth addressing, not blocking)
Nit
No security or backward-compatibility concerns — pure config + test changes, and the resolved image URIs are unchanged for existing callers. Looks good to merge; the literal-tag pin is the only thing I'd suggest adding. |
|
Claude finished @Yadan-Wei's task in 51s —— View job Code review — PR #6290
Reviewed the 3-file diff against Correctness — verified sound ✅
Minor — test coverage gap (worth addressing, not blocking)
Nit
No security or backward-compatibility concerns — pure config + test changes, resolved image URIs unchanged for existing callers. Looks good to merge; the cpu literal-tag pin is the one thing I'd suggest adding. |
Summary
Scopes this PR to the schema and unit-test changes needed to keep the
image_uri_configtests green, without the bulk config-data promotion.Changes
sagemaker-core/src/sagemaker/core/image_uri_config/llama-cpp-arm64.json— migrate versions1and1.0from the whole-tag form to the cpu-only processor schema (processors: ["cpu"],processor_in_tag: false, tag tail incontainer_version["cpu"]). The resolved image tag is unchanged (server-sagemaker-cpu-v1/server-sagemaker-cpu-v1.0), so existing callers are unaffected.sagemaker-core/tests/unit/image_uris/test_dlc_serving_frameworks.py— reclassifyllama-cpp-arm64as a cpu-only processor-schema config (moved out of the now-empty whole-tag list); add mirrored uri and reject-gpu-instance coverage.sagemaker-core/tests/unit/image_uris/test_tensorflow.py— the newest tensorflow version may additionally carry a newly launched region still inside the image-copy window (not yet backfilled onto the previous release), so the registries check becomes a subset check instead of exact equality (superset regressions are still caught).Testing
pytest sagemaker-core/tests/unit/image_uris/— 205 passed, 2 skipped (pre-existing conditional skips).