Skip to content

Flip torchmultimodal to Pillow 12.2.0#550

Open
KasraGhodsi wants to merge 1 commit into
facebookresearch:mainfrom
KasraGhodsi:export-D110804234
Open

Flip torchmultimodal to Pillow 12.2.0#550
KasraGhodsi wants to merge 1 commit into
facebookresearch:mainfrom
KasraGhodsi:export-D110804234

Conversation

@KasraGhodsi

@KasraGhodsi KasraGhodsi commented Jul 13, 2026

Copy link
Copy Markdown

Summary: Part of the Pillow 9.4.0 -> 12.2.0 migration (T274839644). Flips the pypi/pillow pin in fbcode/torchmultimodal/PACKAGE 9.4.0 -> 12.2.0 (nearest-PACKAGE-wins scopes it to this subtree). First-pass 12.2.0-stub code changes (consts renamed: 20, fromarray wrapped: 3): Image.fromarray->np.asarray(...), removed resampling/transform/quantize/palette/dither consts -> namespaced Image.Resampling/Transpose/... enums (runtime no-ops / dual-compatible).

Reviewed By: fried

Differential Revision: D110804234

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 13, 2026
@meta-codesync

meta-codesync Bot commented Jul 13, 2026

Copy link
Copy Markdown

@KasraGhodsi has exported this pull request. If you are a Meta employee, you can view the originating Diff in D110804234.

Summary: Part of the Pillow 9.4.0 -> 12.2.0 migration (T274839644). Flips the `pypi/pillow` pin in `fbcode/torchmultimodal/PACKAGE` 9.4.0 -> 12.2.0 (nearest-PACKAGE-wins scopes it to this subtree). First-pass 12.2.0-stub code changes (consts renamed: 20, fromarray wrapped: 3): `Image.fromarray`->`np.asarray(...)`, removed resampling/transform/quantize/palette/dither consts -> namespaced `Image.Resampling/Transpose/...` enums (runtime no-ops / dual-compatible).

Reviewed By: fried

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

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant