Skip to content

Suppress torchvision image extension warning#39

Merged
chanshing merged 1 commit intomasterfrom
fix/suppress-torchvision-image-warning
Feb 28, 2026
Merged

Suppress torchvision image extension warning#39
chanshing merged 1 commit intomasterfrom
fix/suppress-torchvision-image-warning

Conversation

@chanshing
Copy link
Copy Markdown
Member

@chanshing chanshing commented Feb 28, 2026

Summary

  • Suppress the "Failed to load image Python extension" UserWarning emitted on import torchvision
  • The torchvision image shared library is missing from the pip wheel on aarch64, but actinet only uses torchvision.transforms — never the image IO functions

sslmodel.py: Filter "Failed to load image Python extension" UserWarning
when importing torchvision.transforms. The image extension .so is missing
from the torchvision wheel on aarch64, but actinet only uses transforms.
@chanshing chanshing merged commit a867819 into master Feb 28, 2026
@chanshing chanshing deleted the fix/suppress-torchvision-image-warning branch February 28, 2026 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant