Files
infrastructure/llm-server/llm/ansible/roles/benchmark/defaults/main.yml
T
spektr 4fea6f75bc LLM-Server: BFCL-Integration finalisiert - smoke-laufend
Nach mehreren Live-Funden:
- bfcl-eval braucht soundfile (qwen_agent Dependency)
- CLI ist zweiteilig: bfcl generate + bfcl evaluate (nur evaluate bewertet
  vorab generierte Responses)
- Kategorien sind sprachspezifisch: simple_python statt simple
- Model-Handler muss api_inference sein: gpt-4o-2024-11-20-FC nutzt die
  OpenAI-SDK und respektiert OPENAI_BASE_URL/OPENAI_API_KEY
- Container-Name muss --replace verwenden
- Kategorie-Default auf simple_python,multiple,irrelevance korrigiert

Smoke-Test gegen unsloth-Engine: 193 Requests in 48 min, laeuft.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-03 13:31:37 +01:00

53 lines
2.6 KiB
YAML

---
# Benchmark harness for the LLM evaluation (GNAI-009 sections 5.1/5.2).
# Runs the pinned lm-evaluation-harness against the running engine over the
# internal podman network; a dedicated egress network exists ONLY for the
# benchmark dataset downloads (documented exception, GNAI-009 5.1).
#
# The harness reuses the environment identity from the group_vars
# (inference_engine_user/uid/home/network) and runs in the workload
# account's rootless store so it can attach to the engine network.
benchmark_python_image: docker.io/library/python:3.13-slim@sha256:2d44738ebf4ce5f63b9d9ea871e9c7cfdc0426f7b0c97cac915fd88ded1d86bb
benchmark_lm_eval_version: "0.4.13"
benchmark_image_tag: "gnai-bench:lm-eval-0.4.13"
benchmark_image_force_rebuild: false
benchmark_bench_network_name: gnai-testing-bench
benchmark_quadlet_dir: /etc/containers/systemd/users/981
benchmark_base_dir: /var/lib/ghostnet-ai/testing/bench
benchmark_results_dir: "{{ benchmark_base_dir }}/results"
benchmark_hf_cache_dir: "{{ benchmark_base_dir }}/hf"
# Engine endpoint inside the shared podman network.
benchmark_engine_url: http://llama-cpp:8080/v1
# lm-eval sample/token accounting: llama-server reports completion_tokens
# including reasoning (no separate reasoning_tokens field, verified
# 02.11.2026). completion_tokens is therefore the exact per-task generated
# token count and the basis of the thinking-efficiency metric
# (GNAI-009 section 5.2).
benchmark_task_args:
model: dummy-model-name
base_url: "{{ benchmark_engine_url }}/chat/completions"
num_concurrent: 1
# xhigh thinking can run to the 32768-token output cap, which takes ~30.2
# minutes at ~18 t/s; 2700 s covers cap-bound generations plus prompt
# evaluation. Retries are pointless for sequential requests (a timed-out
# generation would just repeat); observed 02.11.2026 when Swift 1.0
# exceeded the previous 1800 s timeout on AIME.
max_retries: 1
tokenized_requests: false
timeout: 2700
# BFCL (Berkeley Function Calling Leaderboard, GNAI-009 5.1 replacement for
# GPQA, operator decision 03.11.2026). Separate image because bfcl-eval
# targets Python 3.10 while the lm-eval image is 3.13-based.
benchmark_bfcl_python_image: docker.io/library/python:3.10-slim@sha256:6ff506466f8b1e981719b468cc0023b8ef000b983cdec0eafe119d01f379e31d
benchmark_bfcl_version: "2026.3.23"
benchmark_bfcl_image_tag: "gnai-bench:bfcl-2026.3.23"
benchmark_bfcl_force_rebuild: false
# Core function-calling categories (BFCL 2026.3.23 naming: language-specific
# simple categories); irrelevance checks that the model does NOT call tools on
# unsuitable requests (GNAI-009 5.1).
benchmark_bfcl_categories: simple_python,multiple,irrelevance