Skip to content

Expose lanczos interpolation mode for CPU and antialias=True - #9459

Merged
NicolasHug merged 2 commits into
pytorch:mainfrom
NicolasHug:lanczos
Mar 30, 2026
Merged

NicolasHug merged 2 commits into
pytorch:mainfrom
NicolasHug:lanczos

Conversation

@NicolasHug

@NicolasHug NicolasHug commented Mar 30, 2026

Copy link
Copy Markdown
Member

This exposes lanczos interpolation mode which I added to torch in pytorch/pytorch#177320.

It is 2X - 10X faster than PIL (see pytorch/pytorch#177320).

@pytorch-bot

pytorch-bot Bot commented Mar 30, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 2 New Failures, 2 Unrelated Failures

As of commit 213a8ab with merge base 6676c01 (image):

NEW FAILURES - The following jobs have failed:

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

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

@NicolasHug
NicolasHug merged commit 9bf794d into pytorch:main Mar 30, 2026
8 of 22 checks passed
@NicolasHug
NicolasHug deleted the lanczos branch March 30, 2026 09:50
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.

1 participant