fix: Lambda GPU image OSS compliance and builder consistency#5739
Merged
fix: Lambda GPU image OSS compliance and builder consistency#5739
Conversation
- Add FFmpeg 6.1 to BUILD_FROM_SOURCE_PACKAGES_LICENCES and THIRD_PARTY_SOURCE_CODE_URLS in pytorch-py3 stage after setup_oss_compliance.sh runs - Add uv pip check and __pycache__/pyc cleanup to builder-base-py3 to match builder-cupy-py3 and builder-pytorch-py3 stages Signed-off-by: Junpu Fan <junpu@amazon.com>
Signed-off-by: Junpu Fan <junpu@amazon.com>
…ball URL upload_oss_source.py previously only supported git clone. Add tarball download support (curl + tar extract) for .tar.gz/.tar.xz/.tar.bz2/.tgz URLs, so THIRD_PARTY_SOURCE_CODE_URLS can reference the exact source archive used during the build. Revert FFmpeg URL back to https://ffmpeg.org/releases/ffmpeg-6.1.tar.xz to match the actual source used in the ffmpeg-builder stage. Signed-off-by: Junpu Fan <junpu@amazon.com>
Signed-off-by: Junpu Fan <junpu@amazon.com>
zhuofuAMZ
approved these changes
Mar 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Changes
docker/lambda/Dockerfilepytorch-py3stage: Add FFmpeg 6.1 toBUILD_FROM_SOURCE_PACKAGES_LICENCESandTHIRD_PARTY_SOURCE_CODE_URLSaftersetup_oss_compliance.shruns — FFmpeg and ffprobe were previously untracked binaries in the OSS compliance reportbuilder-base-py3stage: Adduv pip checkand__pycache__/.pyc/.pyocleanup to matchbuilder-cupy-py3andbuilder-pytorch-py3test/sanity/scripts/upload_oss_source.pycurl+tar) for.tar.gz/.tar.xz/.tar.bz2/.tgzURLs alongside existinggit clonepath, soTHIRD_PARTY_SOURCE_CODE_URLScan reference the exact source archive used during the build