-
Notifications
You must be signed in to change notification settings - Fork 303
cp: fix(deps): clear wheel-bundled ffmpeg CVEs from the all image (part 1/2) (2192) into r1.3.0
#2196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cp: fix(deps): clear wheel-bundled ffmpeg CVEs from the all image (part 1/2) (2192) into r1.3.0
#2196
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -217,8 +217,8 @@ text_cuda12 = [ | |
|
|
||
| # Video Curation Dependencies | ||
| video_cpu = [ | ||
| "av==13.1.0", | ||
| "opencv-python", | ||
| "av==17.1.0", # ffmpeg 8.1.1 (CVE: was 7.0.2) | ||
| "opencv-python-headless", # dedupe with vllm's headless | ||
| "torchvision", | ||
| "einops", | ||
| "easydict", | ||
|
|
@@ -230,11 +230,16 @@ video_cuda12 = [ | |
| "nemo_curator[vllm]", | ||
| "cvcuda_cu12", | ||
| "pycuda", | ||
| "PyNvVideoCodec==2.0.2; (platform_machine == 'x86_64' and platform_system != 'Darwin')", | ||
| "torch<=2.10.0", | ||
| "torchaudio", | ||
| ] | ||
|
Comment on lines
230
to
235
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Existing x86_64 Linux users who install |
||
|
|
||
| # NVDEC HW decode; opt-in, kept off `all` (wheel vendors CVE ffmpeg). CPU-decode fallback exists. | ||
| video_media = [ | ||
| "nemo_curator[video_cuda12]", | ||
| "PyNvVideoCodec==2.0.2; (platform_machine == 'x86_64' and platform_system != 'Darwin')", | ||
| ] | ||
|
|
||
| # Math Curation Dependencies | ||
| math_cpu = [ | ||
| "nemo_curator[text_cpu]", # Math examples use text processing utilities | ||
|
|
@@ -250,10 +255,9 @@ math_cuda12 = [ | |
|
|
||
| # Multimodal / Interleaved Dependencies | ||
| interleaved_cpu = [ | ||
| "albumentations", | ||
| "matplotlib", | ||
| "open_clip_torch", | ||
| "opencv-python", | ||
| "opencv-python-headless", # dedupe with vllm's headless | ||
| "Pillow", | ||
| "pypdfium2", | ||
| "s3fs>=2024.12.0", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Real
decode_for_motion()calls reach this line before any frames are decoded, but PyAV exposesexport_mvsas the codec-context flag attribute while theFlags2enum member isEXPORT_MVS. If PyAV 17.1.0 does not define a lowercase class member, this raisesAttributeErrorat runtime and the current tests miss it because they mock the AV stack.