From 9dd14b8d460d5ec23bc43c9da640d4208262fe23 Mon Sep 17 00:00:00 2001 From: Eli Uriegas Date: Tue, 15 Dec 2020 12:00:57 -0800 Subject: [PATCH] conda: Downgrade conda-package-handling to 1.6.0 There were issues when attempting to build CUDA 11.0 binaries for conda since the conda-package-handling library introduced a bug in v1.6.1 for packages above a certain size. Signed-off-by: Eli Uriegas --- conda/build_pytorch.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conda/build_pytorch.sh b/conda/build_pytorch.sh index 970a381f8..d5bd65a6e 100755 --- a/conda/build_pytorch.sh +++ b/conda/build_pytorch.sh @@ -323,6 +323,10 @@ for py_ver in "${DESIRED_PYTHON[@]}"; do # Build the package echo "Build $build_folder for Python version $py_ver" conda config --set anaconda_upload no + # There was a bug that was introduced in conda-package-handling >= 1.6.1 that makes archives + # above a certain size fail out when attempting to extract + # see: https://github.com/conda/conda-package-handling/issues/71 + conda install -y "conda-package-handling=1.6.0" ADDITIONAL_CHANNELS="" # TODO: Remove ADDITIONAL_CHANNELS