Skip to content

Windows torchvision-0.11.1 CUDA-10.2 wheel packages are not bundled with nvjpeg dll #4894

Open
@malfet

Description

@malfet

🐛 Describe the bug

Steps to reproduce:

  1. Download TorchVision 0.11.1 windows wheel from https://download.pytorch.org/whl/cu102/torchvision/
  2. Unpack the binary
  3. Run dumpbin /dependents image.pyd to make sure it depends on nvjpeg64_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

  1. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions