From ed15b7af18bd5318eede5840a52ff2b0418d7660 Mon Sep 17 00:00:00 2001 From: Eli Uriegas Date: Fri, 5 Feb 2021 15:07:27 -0800 Subject: [PATCH] conda: Set USE_KINETO=0 Signed-off-by: Eli Uriegas --- conda/pytorch-nightly/build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/conda/pytorch-nightly/build.sh b/conda/pytorch-nightly/build.sh index adcb55aad..dc92eac7d 100755 --- a/conda/pytorch-nightly/build.sh +++ b/conda/pytorch-nightly/build.sh @@ -15,6 +15,11 @@ export PYTORCH_BUILD_NUMBER=$PKG_BUILDNUM # it. It would be nice to use ninja in the builds of the conda binaries as well export USE_NINJA=OFF export INSTALL_TEST=0 # dont install test binaries into site-packages +# Building with USE_KINETO=1 currently causes a conflict between GNU and LLVM +# OpenMP due to `libgomp` being installed when using conda-forge (which is necessary for +# some builds including CUDA 11.2 and Python 3.9). +# See: https://github.com/pytorch/pytorch/issues/51026 +export USE_KINETO=0 # MacOS build is simple, and will not be for CUDA if [[ "$OSTYPE" == "darwin"* ]]; then