Windows torchvision-0.11.1 CUDA-10.2 wheel packages are not bundled with nvjpeg dll
See original GitHub issue🐛 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
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Cuda not compatible with PyTorch installation error while ...
I implemented conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c ... Collecting package metadata (current_repodata.json): done
Read more >GPU Pytorch with CUDA10.2 and GPU Pytorch with CUDA11.1
I have been trying to test the installation of the GPU-enabled Pytorch on Windows using Anaconda , and had the following observations:.
Read more >Windows FAQ — PyTorch 1.13 documentation
There are two supported components for Windows PyTorch: MKL and MAGMA. ... As for the wheels package, since we didn't pack some libraries...
Read more >PyTorch for Jetson - NVIDIA Developer Forums
Below are pre-built PyTorch pip wheel installers for Python on Jetson Nano, Jetson TX1/TX2, Jetson Xavier NX/AGX, and Jetson AGX Orin with ...
Read more >Python 科学技術関連のパッケージ一覧 | トライフィールズ
A fake package to warn the user they are not installing the correct ... GPU-accelerated Python package for ultrasound imaging. ... pandas-alchemy(0.0.2)
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had the same problem and this is the only page I found,
Python/Pytorch does not search the path
Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin
for some reason, despite the path being specified in the environment, therefore causing dll error. I couldn’t find a proper solution and instead made hardlinks to the missing dlls in thePython\Lib\site-packages\torch\lib
folder usingmklink /H
cmd command.I am sure there must be a better way but I couldn’t figure it out.
nvjpeg64_10.dll can be downloaded from https://developer.nvidia.com/cuda-10.2-download-archive