Skip to content

Port CPU png encoder to stable ABI.#9539

Merged
NicolasHug merged 1 commit into
mainfrom
adabeyta/encoder-png-stable
Jul 3, 2026
Merged

Port CPU png encoder to stable ABI.#9539
NicolasHug merged 1 commit into
mainfrom
adabeyta/encoder-png-stable

Conversation

@adabeyta

@adabeyta adabeyta commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Ports the CPU png encoder to stable ABI.

Notes: Missing StableABI stable_permute shim

Stable-ABI audit (torch-abi-audit)

Ran torch-abi-audit against the built torchvision package to verify the migrated extension stays on the stable surface. image_stable.so audits as STABLE — 67 stable-shim symbols, 0 unstable The legacy image.so / _C.so stay UNSTABLE (expected: their remaining ops still use the same private APIs), so the package-level verdict stays UNSTABLE until the rest move.

Package: torchvision
  Torch ABI:   UNSTABLE
  CPython ABI: n/a
  Bundled libs: 4
  -- bundled libs --
    [UNSTABLE] [not-abi3        ] _C.so            (stable_shim=0,  unstable=110)
    [STABLE  ] [not-abi3        ] _C_stable.so     (stable_shim=67, unstable=0)
    [UNSTABLE] [uses-private-api] image.so         (stable_shim=0,  unstable=48)
    [STABLE  ] [not-abi3        ] image_stable.so  (stable_shim=67, unstable=0)

@pytorch-bot

pytorch-bot Bot commented Jul 2, 2026

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/9539

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

❌ 1 Unclassified Failure

As of commit 57bde81 with merge base 6104574 (image):

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.

@meta-cla meta-cla Bot added the cla signed label Jul 2, 2026
@adabeyta adabeyta marked this pull request as ready for review July 2, 2026 20:48
@adabeyta adabeyta changed the title [TEST] Port CPU png encoder to stable ABI. Port CPU png encoder to stable ABI. Jul 2, 2026
@adabeyta adabeyta requested a review from NicolasHug July 2, 2026 20:48

@NicolasHug NicolasHug left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @adabeyta !

@NicolasHug NicolasHug merged commit 0bc41e6 into main Jul 3, 2026
73 of 75 checks passed
@NicolasHug NicolasHug deleted the adabeyta/encoder-png-stable branch July 3, 2026 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants