Skip to content

Commit 4044b9a

Browse files
committed
Fixing some scripts
1 parent d4c4a8f commit 4044b9a

3 files changed

Lines changed: 0 additions & 42 deletions

File tree

scripts/run_chandra_benchmark.sh

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -94,20 +94,6 @@ if [ -n "$BENCH_PATH" ] && ([ -n "$BENCH_REPO" ] || [ -n "$BENCH_BRANCH" ]); the
9494
exit 1
9595
fi
9696

97-
# Check for uncommitted changes
98-
if [ -n "$BEAKER_IMAGE" ]; then
99-
echo "Skipping docker build"
100-
else
101-
if ! git diff-index --quiet HEAD --; then
102-
echo "Error: There are uncommitted changes in the repository."
103-
echo "Please commit or stash your changes before running the benchmark."
104-
echo ""
105-
echo "Uncommitted changes:"
106-
git status --short
107-
exit 1
108-
fi
109-
fi
110-
11197
# Use conda environment Python if available, otherwise use system Python
11298
if [ -n "$CONDA_PREFIX" ]; then
11399
PYTHON="$CONDA_PREFIX/bin/python"

scripts/run_dots_mocr_benchmark.sh

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -68,20 +68,6 @@ if [ -n "$BENCH_PATH" ] && ([ -n "$BENCH_REPO" ] || [ -n "$BENCH_BRANCH" ]); the
6868
exit 1
6969
fi
7070

71-
# Check for uncommitted changes
72-
if [ -n "$BEAKER_IMAGE" ]; then
73-
echo "Skipping docker build"
74-
else
75-
if ! git diff-index --quiet HEAD --; then
76-
echo "Error: There are uncommitted changes in the repository."
77-
echo "Please commit or stash your changes before running the benchmark."
78-
echo ""
79-
echo "Uncommitted changes:"
80-
git status --short
81-
exit 1
82-
fi
83-
fi
84-
8571
# Use conda environment Python if available, otherwise use system Python
8672
if [ -n "$CONDA_PREFIX" ]; then
8773
PYTHON="$CONDA_PREFIX/bin/python"

scripts/run_qianfan_benchmark.sh

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -71,20 +71,6 @@ if [ -n "$BENCH_PATH" ] && ([ -n "$BENCH_REPO" ] || [ -n "$BENCH_BRANCH" ]); the
7171
exit 1
7272
fi
7373

74-
# Check for uncommitted changes
75-
if [ -n "$BEAKER_IMAGE" ]; then
76-
echo "Skipping docker build"
77-
else
78-
if ! git diff-index --quiet HEAD --; then
79-
echo "Error: There are uncommitted changes in the repository."
80-
echo "Please commit or stash your changes before running the benchmark."
81-
echo ""
82-
echo "Uncommitted changes:"
83-
git status --short
84-
exit 1
85-
fi
86-
fi
87-
8874
# Use conda environment Python if available, otherwise use system Python
8975
if [ -n "$CONDA_PREFIX" ]; then
9076
PYTHON="$CONDA_PREFIX/bin/python"

0 commit comments

Comments
 (0)