From 4defd25ba49601d8c6a8937fd7ce655574ee2858 Mon Sep 17 00:00:00 2001 From: Jordan Jacobelli Date: Mon, 20 Sep 2021 20:21:42 +0200 Subject: [PATCH] Skip dask-cudf tests on arm64 (#9252) Temporary workaround for `arm64` Importing cudf on arm64 CPU only nodes is currently not working due to a difference in reported gpu devices between arm64 and amd64 Authors: - Jordan Jacobelli (https://github.com/Ethyling) Approvers: - Ray Douglass (https://github.com/raydouglass) URL: https://github.com/rapidsai/cudf/pull/9252 --- conda/recipes/dask-cudf/run_test.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/conda/recipes/dask-cudf/run_test.sh b/conda/recipes/dask-cudf/run_test.sh index 3fc1182b33b..f56610bea86 100644 --- a/conda/recipes/dask-cudf/run_test.sh +++ b/conda/recipes/dask-cudf/run_test.sh @@ -8,6 +8,15 @@ function logger() { echo -e "\n>>>> $@\n" } +# Importing cudf on arm64 CPU only nodes is currently not working due to a +# difference in reported gpu devices between arm64 and amd64 +ARCH=$(arch) + +if [ "${ARCH}" = "aarch64" ]; then + logger "Skipping tests on arm64" + exit 0 +fi + # Install the latest version of dask and distributed logger "pip install git+https://github.com/dask/distributed.git@main --upgrade --no-deps" pip install "git+https://github.com/dask/distributed.git@main" --upgrade --no-deps