Skip to content

Clean up extension loading logic#9364

Merged
NicolasHug merged 4 commits intopytorch:mainfrom
NicolasHug:cleanupopssss
Jan 27, 2026
Merged

Clean up extension loading logic#9364
NicolasHug merged 4 commits intopytorch:mainfrom
NicolasHug:cleanupopssss

Conversation

@NicolasHug
Copy link
Copy Markdown
Member

Bunch of BE cleanups. See individual commits.

Main user facing change is that we now:

  • allow users to know the exception that was raised when the attempt to load an extension failed, by setting the TORCHVISION_WARN_WHEN_EXTENSION_LOADING_FAILS variable.
  • hide the warning that used to be raised when loading image.so. It can be made visible by setting the env variable.

@pytorch-bot
Copy link
Copy Markdown

pytorch-bot bot commented Jan 27, 2026

🔗 Helpful Links

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

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

✅ No Failures

As of commit 90bdc84 with merge base af9c096 (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 label Jan 27, 2026
Copy link
Copy Markdown
Contributor

@zy1git zy1git left a comment

Choose a reason for hiding this comment

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

stamping

@NicolasHug NicolasHug merged commit 12fc440 into pytorch:main Jan 27, 2026
64 checks passed
@NicolasHug NicolasHug deleted the cleanupopssss branch January 27, 2026 18:45
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