Port CPU decode_webp to stable ABI and retire the unstable image extension - #9557
Merged
Merged
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/9557
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 Unclassified FailureAs of commit c217a9d with merge base 3aadb2d ( UNCLASSIFIED FAILURE - DrCI could not classify the following job because the workflow did not run on the merge base. The failure may be pre-existing on trunk or introduced by this PR:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
adabeyta
force-pushed
the
adabeyta/decode-webp-stable
branch
from
July 16, 2026 01:40
d9a32ff to
c217a9d
Compare
adabeyta
marked this pull request as ready for review
July 16, 2026 04:00
NicolasHug
approved these changes
Jul 16, 2026
NicolasHug
left a comment
Member
There was a problem hiding this comment.
Thanks for the great work @adabeyta !
| torch::Tensor decode_webp( | ||
| const torch::Tensor& encoded_data, | ||
| namespace { | ||
| bool should_this_return_rgb_or_rgba_let_me_know_in_the_comments_down_below_guys_see_you_in_the_next_video( |
Member
There was a problem hiding this comment.
Thank you for preserving the name 😆
Collaborator
Author
There was a problem hiding this comment.
I need an answer in the comments 😉
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.
Ports CPU webp decoder to stable ABI and retires the unstable image extension. Every image op now registers from
image_stable.Notes
decode_webpis the last unstable image op.image.cpp/image.handcommon.{h,cpp}are deleted,make_image_extension()and the_stable()source partition go away.#if !ROCJPEG_FOUNDand the rocJPEG decoder registers its own schema.Stable-ABI audit (
torch-abi-audit)Ran
torch-abi-audit. The io/image migration is complete:image.sois gone, andimage_stable.soaudits asSTABLE— 76 stable-shim symbols, 0 unstable.