Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

NicolasHug
Copy link
Member

They've been failing for a while with

c:\actions-runner\_work\vision\vision\pytorch\vision\torchvision\io\image.py:14: UserWarning: Failed to load image Python extension: 'Could not find module 'C:\actions-runner\_work\vision\vision\pytorch\vision\torchvision\image.pyd' (or one of its dependencies). Try using the full path with constructor syntax.'If you don't plan on using image functionality from `torchvision.io`, you can ignore this warning. Otherwise, there might be something wrong with your environment. Did you have `libjpeg` or `libpng` installed before building `torchvision` from source?
  warn(
Traceback (most recent call last):
  File "C:\actions-runner\_work\vision\vision\pytorch\vision\test\smoke_test.py", line 147, in <module>
torchvision: 0.22.0a0+48722e8
    main()
torch.cuda.is_available: True
  File "C:\actions-runner\_work\vision\vision\pytorch\vision\test\smoke_test.py", line 119, in main
    print(f"{torch.ops.image._jpeg_version() = }")
  File "C:\Jenkins\Miniconda3\envs\ci\lib\site-packages\torch\_ops.py", line 1267, in __getattr__
    raise AttributeError(
AttributeError: '_OpNamespace' 'image' object has no attribute '_jpeg_version'

All other M1 jobs run fine (3.9, 3.10, 3.12, etc.). I'm unable to dedicate time to this, so I'm disabling the job.

Copy link

pytorch-bot bot commented Mar 17, 2025

🔗 Helpful Links

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

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

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

@NicolasHug NicolasHug merged commit e7acfec into pytorch:main Mar 17, 2025
21 of 43 checks passed
Copy link

Hey @NicolasHug!

You merged this PR, but no labels were added.
The list of valid labels is available at https://github.com/pytorch/vision/blob/main/.github/process_commit.py

NicolasHug added a commit to NicolasHug/vision that referenced this pull request Mar 18, 2025
facebook-github-bot pushed a commit that referenced this pull request Jul 28, 2025
Reviewed By: scotts

Differential Revision: D77998640

fbshipit-source-id: 37ba5b633298c64ccee913c804ee350cf266580c
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