Open
Description
🐛 Describe the bug
I observe following failures
https://github.com/pytorch/builder/actions/runs/4104686412/attempts/3
Windows CUDA 11.7, python 3.8-3.10
RuntimeError: Module torchvision FAIL: 1 Output: C:\Jenkins\Miniconda3\envs\conda-env-4104686412\lib\site-packages\torchvision\io\image.py:13: UserWarning: Failed to load image Python extension: 'Could not find module 'C:\Jenkins\Miniconda3\envs\conda-env-4104686412\Lib\site-packages\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(
torchvision: 0.15.0.dev20230206
Traceback (most recent call last):
File "C:\Jenkins\Miniconda3\envs\conda-env-4104686412\lib\site-packages\torch\_ops.py", line 562, in __getattr__
op, overload_names = torch._C._jit_get_operation(qualified_op_name)
RuntimeError: No such operator image::decode_png
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\actions-runner\_work\builder\builder\pytorch\builder\vision\test\smoke_test.py", line 65, in <module>
main()
File "C:\actions-runner\_work\builder\builder\pytorch\builder\vision\test\smoke_test.py", line 57, in main
smoke_test_torchvision()
File "C:\actions-runner\_work\builder\builder\pytorch\builder\vision\test\smoke_test.py", line 17, in smoke_test_torchvision
all(x is not None for x in [torch.ops.image.decode_png, torch.ops.torchvision.roi_align]),
File "C:\Jenkins\Miniconda3\envs\conda-env-4104686412\lib\site-packages\torch\_ops.py", line 566, in __getattr__
raise AttributeError(
AttributeError: '_OpNamespace' 'image' object has no attribute 'decode_png'
Its same failure as: #7036
But now on windows.
cc @pmeier @NicolasHug @malfet
Versions
nightly
Metadata
Metadata
Assignees
Labels
No labels