ci: List bundled codecs#2830
Draft
kajalj22 wants to merge 10 commits into
Draft
Conversation
Lists video/audio (ffmpeg, GStreamer), compression (blosc, numcodecs, pyarrow, zarr, h5py, stdlib), and image/video (Pillow, OpenCV, imagecodecs, imageio, PyAV, decord, tifffile) codecs in the container. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Kajal Jain <kajalj@nvidia.com>
For each library, also prints the file path it was loaded from, which pip package installed it, and the reverse-dependency tree (via pipdeptree if available) showing what pulled it in. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Kajal Jain <kajalj@nvidia.com>
srun containers have a minimal PATH so python3/ffmpeg aren't always found. Auto-detect both across common install locations at startup and error-out clearly if Python is missing entirely. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Kajal Jain <kajalj@nvidia.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Kajal Jain <kajalj@nvidia.com>
- Add ffmpeg -buildconf output (configure flags, required for OSRB) - Scan all *.libs/ dirs under site-packages for bundled .so files (catches libx264/libx265/libavcodec bundled inside PyAV wheel etc.) - Flag royalty-bearing codec hits (AAC, H.264, H.265 and variants) across every section as they are found - Add ROYALTY-BEARING CODEC SUMMARY section at the end, ready to paste into OSRB submission point 12 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Kajal Jain <kajalj@nvidia.com>
Replace manual Python interpreter detection with uv run python, which picks up the correct venv automatically. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Kajal Jain <kajalj@nvidia.com>
uv is not installed in the RL container. Use /opt/nemo_rl_venv/bin/python directly, with fallbacks to other common locations. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Kajal Jain <kajalj@nvidia.com>
/opt/nemo_rl_venv/bin/python3.13 is the primary Python version for RL. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Kajal Jain <kajalj@nvidia.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Kajal Jain <kajalj@nvidia.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Kajal Jain <kajalj@nvidia.com>
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.
What does this PR do ?
tools: add list_codecs.sh to enumerate all bundled codecs
Summary
tools/list_codecs.shto enumerate all bundled codecs in the containerTest plan
bash tools/list_codecs.shinside the RL container