uber/neuropod

SHA256 mismatch for libtorch on Mac after #47

achals opened this issue · 0 comments

Seeing this:

➜  source git:(master) bazel build //neuropods:all
ERROR: /Users/achal/Uber/neuropods/source/neuropods/backends/torchscript/BUILD:5:1: no such package '@libtorch_repo//': java.io.IOException: Error downloading [https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-1.0.0.dev20190318.zip] to /private/var/tmp/_bazel_achal/fc3133d1218956d01371cff669f31dfc/external/libtorch_repo/libtorch-macos-1.0.0.dev20190318.zip: Checksum was d55b535f42c965fa2ccfd6656b7b37010615b9202f8ce80bd36aca682e2aaedd but wanted 6e59041708bf7438f9e5d4e1dbf6fbb4dc53aacae3f198f5d626e0ef0d5b4e19 and referenced by '//neuropods/backends/torchscript:libneuropod_torchscript_backend.so'
ERROR: /Users/achal/Uber/neuropods/source/neuropods/backends/torchscript/BUILD:5:1: no such package '@libtorch_repo//': java.io.IOException: Error downloading [https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-1.0.0.dev20190318.zip] to /private/var/tmp/_bazel_achal/fc3133d1218956d01371cff669f31dfc/external/libtorch_repo/libtorch-macos-1.0.0.dev20190318.zip: Checksum was d55b535f42c965fa2ccfd6656b7b37010615b9202f8ce80bd36aca682e2aaedd but wanted 6e59041708bf7438f9e5d4e1dbf6fbb4dc53aacae3f198f5d626e0ef0d5b4e19 and referenced by '//neuropods/backends/torchscript:libneuropod_torchscript_backend.so'
ERROR: Analysis of target '//neuropods:libneuropods_libs' failed; build aborted: no such package '@libtorch_repo//': java.io.IOException: Error downloading [https://download.pytorch.org/libtorch/nightly/cpu/libtorch-macos-1.0.0.dev20190318.zip] to /private/var/tmp/_bazel_achal/fc3133d1218956d01371cff669f31dfc/external/libtorch_repo/libtorch-macos-1.0.0.dev20190318.zip: Checksum was d55b535f42c965fa2ccfd6656b7b37010615b9202f8ce80bd36aca682e2aaedd but wanted 6e59041708bf7438f9e5d4e1dbf6fbb4dc53aacae3f198f5d626e0ef0d5b4e19
INFO: Elapsed time: 10.048s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
    Fetching @tensorflow_repo; fetching 9s
    Fetching @libtorch_repo; fetching 9s

My guess is that #47 added deps that are specific to Linux, and that breaks on mac. @VivekPanyam