Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions common/common_helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -338,13 +338,8 @@ function benchmarks_install() {
echo "#######################################"
echo "Running HumanEval benchmark job in background"
echo
pushd human-eval-benchmark/manifests >/dev/null
sed -i 's/namespace: kruize-hackathon/namespace: "'"${NAMESPACE}"'"/' pvc.yaml
sed -i 's/namespace: kruize-hackathon/namespace: "'"${NAMESPACE}"'"/' job.yaml
# Update num_prompts value to 150 to run the benchmark for atleast 15 mins
sed -i "s/value: '10'/value: '150'/" job.yaml
oc apply -f pvc.yaml -n ${NAMESPACE}
oc apply -f job.yaml -n ${NAMESPACE}
pushd accelerator-benches/human-eval >/dev/null
./run_humaneval.sh ${NAMESPACE} -n 150
check_err "ERROR: Human eval job failed to start, exiting"
popd >/dev/null
fi
Expand Down Expand Up @@ -399,8 +394,7 @@ function benchmarks_uninstall() {
if [ ${BENCHMARK} == "human-eval" ]; then
echo "Uninstalling humanEval benchmark job in cluster"
pushd human-eval-benchmark >/dev/null
oc delete -f job.yaml
oc delete -f pvc.yaml
./cleanup.sh ${NAMESPACE}
#check_err "ERROR: human-eval benchmark failed to delete, exiting"
popd >/dev/null
fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"namespace": "default",
"containers": [
{
"container_image_name": "kruizehub/human-eval-deployment:latest",
"container_image_name": "kruizehub/human-eval-deployment:v1",
"container_name": "human-eval-benchmark"
}
]
Expand Down