Skip to content

[ROCm] Test ROCm failures on PR#1554 - #1638

Closed
akashveramd wants to merge 5 commits into
meta-pytorch:rocm_decoderfrom
akashveramd:rocm_decoder_analysis
Closed

[ROCm] Test ROCm failures on PR#1554#1638
akashveramd wants to merge 5 commits into
meta-pytorch:rocm_decoderfrom
akashveramd:rocm_decoder_analysis

Conversation

@akashveramd

Copy link
Copy Markdown
Collaborator

@pytorch-bot

pytorch-bot Bot commented Aug 17, 2026

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/meta-pytorch/torchcodec/1638

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 7f42e27 with merge base d249ad5 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Aug 17, 2026
librocjpeg links against libva.so.2 and libva-drm.so.2 (VA-API, used
by rocJPEG's HYBRID GPU-JPEG backend).  auditwheel was pulling both
into the wheel because they weren't excluded, and repair_wheel.py's
check_bundling() then rejected them as unexpected.

libva/libva-drm are system-provided display-stack libraries, present
on any ROCm install alongside libdrm (which is already excluded).
Add "libva*" to the same exclude list so auditwheel leaves them on
the system rather than bundling them.

Co-authored-by: Cursor <cursoragent@cursor.com>
@pytorch-bot

pytorch-bot Bot commented Aug 18, 2026

Copy link
Copy Markdown

Workflows were awaiting approval. CI has now been triggered for the ciflow labels on this PR.

ROCm >= 7.14 distributes the full ROCm stack (including rocJPEG) as pip
wheels (_rocm_sdk_core / _rocm_sdk_devel site-packages) rather than
system RPMs. The rocjpeg-devel, libva-amdgpu and mesa-amdgpu-va-drivers
DNF packages therefore don't exist on the ROCm 7.14 builder image and
the install was failing with "No package rocjpeg available".

Check for librocjpeg.so under /opt/conda (pip-wheel install path) and
/opt/rocm (classic RPM install path) before attempting dnf install. If
already present, skip the install entirely. The existing dnf path is
preserved for ROCm 7.2 and earlier where RPMs are the only source.

Co-authored-by: Cursor <cursoragent@cursor.com>
@akashveramd

Copy link
Copy Markdown
Collaborator Author

Closing this PR because this forked PR was not triggering .github/workflows/linux_rocm.yaml workflow https://github.com/meta-pytorch/torchcodec/actions/runs/32176720048/job/95849535422?pr=1638. Hence, created this PR #1642 directly from the repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/rocm CLA Signed This label is managed by the Meta Open Source bot. module: rocm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant