Open
Description
🐛 Describe the bug
Steps to reproduce:
- Download TorchVision 0.11.1 windows wheel from https://download.pytorch.org/whl/cu102/torchvision/
- Unpack the binary
- Run
dumpbin /dependents image.pyd
to make sure it depends onnvjpeg64_10.dll
:
C:\Users\circleci\Downloads\torchvision>dumpbin /dependents image.pyd
Microsoft (R) COFF/PE Dumper Version 14.00.24245.0
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file image.pyd
File Type: DLL
Image has the following dependencies:
api-ms-win-crt-heap-l1-1-0.dll
api-ms-win-crt-runtime-l1-1-0.dll
api-ms-win-crt-filesystem-l1-1-0.dll
api-ms-win-crt-stdio-l1-1-0.dll
libpng16.dll
nvjpeg64_10.dll
c10.dll
torch_cpu.dll
cudart64_102.dll
c10_cuda.dll
MSVCP140.dll
KERNEL32.dll
VCRUNTIME140_1.dll
VCRUNTIME140.dll
api-ms-win-crt-string-l1-1-0.dll
api-ms-win-crt-environment-l1-1-0.dll
Summary
2000 .data
3000 .pdata
2E000 .rdata
1000 .reloc
1000 .rsrc
3C000 .text
- Noticesthat
nvjpeg64_10.dll
is missing from the archive
This causes torchvision.io.read_image
fail on Windows
Versions
0.11.1 win+cu102
cc @peterjc123 @nbcsm @guyang3532 @maxluk @gunandrose4u @mszhanyi