From fa7562fd96a04a61404368449bf1ae3c8e5e7801 Mon Sep 17 00:00:00 2001 From: "mulin.lyh" Date: Mon, 19 Jun 2023 17:56:04 +0800 Subject: [PATCH] [to #50384694]fix: ci hang when build torch extension Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/12976382 --- .dev_scripts/ci_container_test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.dev_scripts/ci_container_test.sh b/.dev_scripts/ci_container_test.sh index 8d1c9a0c..931ca397 100644 --- a/.dev_scripts/ci_container_test.sh +++ b/.dev_scripts/ci_container_test.sh @@ -32,6 +32,8 @@ if [ "$MODELSCOPE_SDK_DEBUG" == "True" ]; then else echo "Running case in release image, run case directly!" fi +# remove torch_extensions folder to avoid ci hang. +rm -rf ~/.cache/torch_extensions if [ $# -eq 0 ]; then ci_command="python tests/run.py --subprocess" else