Concise guide for configuring MLFlow integration and understanding experiment tracking in the Eval Hub.
| Variable | Description | Default | Required |
|---|---|---|---|
MLFLOW_TRACKING_URI |
MLFlow server URL | http://localhost:5000 |
Yes |
MLFLOW_EXPERIMENT_PREFIX |
Prefix for experiment names | eval-hub |
No |
Podman/Container:
podman run -p 8000:8000 \
-e MLFLOW_TRACKING_URI=http://mlflow:5000 \
eval-hub:latestKubernetes/OpenShift:
env:
- name: MLFLOW_TRACKING_URI
value: "http://mlflow-service:5000"
- name: MLFLOW_EXPERIMENT_PREFIX
value: "production-eval"{
"experiment": {
"name": "string",
"tags": {
"additionalProperties": "string"
}
}
}{
"model": {
"server": "vllm",
"name": "meta-llama/llama-3.1-8b",
"configuration": {
"temperature": 0.1,
"max_tokens": 512
}
},
"benchmarks": [
{
"benchmark_id": "arc_easy",
"provider_id": "lm_evaluation_harness",
"config": {"num_fewshot": 0}
}
],
"experiment": {
"name": "arc-easy-evaluation",
"tags": {
"environment": "testing",
"model_family": "llama-3.1"
}
}
}{
"model": {
"server": "vllm",
"name": "meta-llama/llama-3.1-8b"
},
"benchmarks": [
{
"benchmark_id": "arc_easy",
"provider_id": "lm_evaluation_harness",
"config": {"num_fewshot": 0}
},
{
"benchmark_id": "faithfulness",
"provider_id": "ragas",
"config": {"dataset_path": "./data/test.jsonl"}
}
],
"experiment": {
"name": "comprehensive-evaluation",
"tags": {
"evaluation_type": "comprehensive",
"model_version": "v1.0"
}
}
}{
"model": {
"server": "vllm",
"name": "meta-llama/llama-3.1-8b"
},
"experiment": {
"name": "healthcare-certification",
"tags": {
"environment": "production",
"compliance": "healthcare",
"certification_level": "grade-a"
}
}
}- Name:
{prefix}_{experiment.name}or auto-generated - Tags: Direct mapping from
experiment.tags - Description: Auto-generated based on benchmarks and model
- One MLFlow run per evaluation request
- Run tags include model configuration and benchmark details
- Artifacts include detailed results and logs
- Metrics: Benchmark scores and performance data
- Parameters: Model configuration and benchmark settings
- Artifacts: Detailed result files and execution logs
- Tags: Experiment tags plus auto-generated metadata
curl -X POST "http://eval-hub:8000/api/v1/evaluations" \
-H "Content-Type: application/json" \
-d '{
"model": {"server": "vllm", "name": "my-model:v1.0"},
"benchmarks": [{"benchmark_id": "arc_easy", "provider_id": "lm_evaluation_harness"}],
"experiment": {
"name": "ci-evaluation-'$BUILD_ID'",
"tags": {
"build_id": "'$BUILD_ID'",
"branch": "'$GIT_BRANCH'",
"commit": "'$GIT_COMMIT'"
}
}
}'{
"experiment": {
"name": "production-monitoring-2025-01",
"tags": {
"environment": "production",
"monitoring": "true",
"alert_threshold": "0.85",
"team": "ml-ops"
}
}
}Connection Errors:
- Verify
MLFLOW_TRACKING_URIis accessible from Eval Hub - Check network connectivity and firewall rules
- Ensure MLFlow server is running and healthy
Experiment Creation Failures:
- Check MLFlow server disk space
- Verify experiment naming doesn't conflict with existing experiments
- Ensure tags contain only valid characters (alphanumeric, _, -, .)
Missing Results:
- Verify MLFlow run completed successfully
- Check evaluation request completed without errors
- Review MLFlow UI for run details and artifacts