From b41b6a8a026f245ed033b33c3c2cc119b577c81c Mon Sep 17 00:00:00 2001 From: lidia9 Date: Fri, 9 May 2025 16:44:36 +0200 Subject: [PATCH] ollama 5 curl --- ci/benchmarks/.benchmarks.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ci/benchmarks/.benchmarks.yml b/ci/benchmarks/.benchmarks.yml index 69648915..febb3f54 100644 --- a/ci/benchmarks/.benchmarks.yml +++ b/ci/benchmarks/.benchmarks.yml @@ -19,6 +19,16 @@ fi done + # to be removed + - | + if [ "$BACKEND" = "ollama" ]; then + echo "Starting Ollama service..." + ollama serve & + sleep 10 # Give time for Ollama to start + curl http://localhost:8000/api/tags || echo "Ollama service may not be running properly" + fi + ## to be removed + #- python3 benchmarks/cybermetric/CyberMetric_evaluator.py --model_name $MODEL_NAME --file_path $BENCHMARK_FILE - echo $OLLAMA_API_BASE