There was an error while loading. Please reload this page.
1 parent a0fffc9 commit 4b6c52eCopy full SHA for 4b6c52e
1 file changed
.github/scripts/bisect/run.sh
@@ -24,6 +24,11 @@ for env_name in "${required_envs[@]}"; do
24
fi
25
done
26
27
+if [ ! -e ${DETECTOR} ]; do
28
+ echo "Missing detector script: ${DETECTOR}."
29
+ exit 1
30
+fi
31
+
32
checkout_pytorch_commit() {
33
local repo_dir="$1"
34
local commit="$2"
@@ -55,7 +60,7 @@ checkout_pytorch_commit "${PYTORCH_SRC_DIR}" "${BAD_COMMIT}"
55
60
bash ${tritonparse_dir}/bisect/scripts/build_pytorch.sh
56
61
# allow the regression detector to exit with error code
57
62
set +e
58
-BASELINE_LOG="${BASELINE_LOG}" python ./.ci/bisect/regression_detector.py
63
+BASELINE_LOG="${BASELINE_LOG}" python "${DETECTOR}"
59
64
PREFLIGHT_RC=$?
65
set -e
66
0 commit comments