Skip to content

Torch binary has bad hash file #2596

@ity

Description

@ity

wheel files contain hashes of all of their contents. we have started strictly checking these in our builds. torch is failing with a bad hash for file 'torch/lib/libTHCS.so.1'. So it looks like the distribution wheel torch-0.2.0.post3-cp27-cp27mu-linux_x86_64.whl does not contain the right hash. I have also checked torch-0.2.0.post1-cp27-cp27mu-linux_x86_64.whl and it has the same issue.

Are you able to re-publish the corrected wheel?

   Dumping requirement: PythonRequirement(torch==0.2.0.post3)
                     Dumping requirement: PythonRequirement(numpy==1.13.1)
                     Dumping distribution: .../PyYAML-3.12-cp27-cp27m-macosx_10_4_x86_64.whl
                     Dumping distribution: .../torch-0.2.0.post3-cp27-none-macosx_10_7_x86_64.whl
                     Dumping distribution: .../numpy-1.13.1-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
                     Dumping distribution: .../PyYAML-3.12-cp27-none-linux_x86_64.whl
                     Dumping distribution: .../torch-0.2.0.post3-cp27-cp27mu-linux_x86_64.whl
               Waiting for background workers to finish.
13:52:22 00:42   [complete]
               FAILURE
Exception caught: (<class 'wheel.install.BadWheelFile'>)

Exception message: Bad hash for file 'torch/lib/libTHCS.so.1'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions