RAG pipeline context injection failure after MLflow model update

a rack of servers in a server room

Problem: RAG pipeline context injection failure after MLflow model update During a blue‑green deployment, traffic was shifted from the green version of the rag-service endpoint to the newly promoted blue version. After the switch, the Retrieval‑Augmented Generation (RAG) pipeline began sending prompts to the LLM that contained an empty or malformed context variable. Typical symptoms … Read more

MLflow model loading timeout during iterative training

cable network

Problem – Intermittent Model Loading Timeouts During Iterative Training When a training loop repeatedly saves checkpoints to a remote MLflow tracking server and then calls mlflow.pyfunc.load_model at the start of each epoch, the script occasionally hangs or crashes with a requests.exceptions.ReadTimeout. Typical error messages observed in the logs include: requests.exceptions.ReadTimeout: HTTPSConnectionPool(host=’mlflow-tracking.mycompany.com’, port=443): Read timed out. … Read more

RAG retrieval degradation after MLflow model validation

img IX mining rig inside white and gray room

Problem – Retrieval‑Augmented Generation (RAG) Hybrid Search Degradation During MLflow Validation During automated pre‑deployment validation runs orchestrated by an MLflow Project in the CI/CD pipeline, the hybrid retriever’s relevance metrics collapse: Recall@10 drops by 40‑50 % compared with manual runs. Logs contain errors such as ScoreNormalizationError: Sparse scores exceed dense scores range and warnings like HybridSearchWeightOverflow. … Read more

MLflow tracking server write conflicts after etcd quorum loss

photo of computer cables

Problem Description During a high‑throughput inference deployment (≈10 k requests / s), the MLflow tracking server began returning errors when logging run parameters, metrics, and feature versions. The observed symptoms included: etcdserver: request timed out in the MLflow server logs. etcdserver: leader changed followed by retries. Duplicate run UUIDs and missing metric rows in the PostgreSQL backend. Intermittent … Read more

MLflow token refresh failure during long-running training jobs

photo of computer cables

Problem – Intermittent 401 Unauthorized Errors During Long‑Running Training In a multi‑node GPU cluster orchestrated by Kubernetes, a distributed PyTorch/TensorFlow training job pushes metrics, parameters, and artifacts to a remote MLflow tracking server that is protected by an OIDC/OAuth2 provider. After several hours of execution the training process receives repeated 401 Unauthorized responses: HTTPError 401 – Unauthorized while … Read more

MLflow tracking server not found in local Docker setup

a close-up of a server room

Problem: MLflow tracking server not found in a local Docker development setup During local development an engineer runs an MLflow tracking server inside a Docker container (or via docker‑compose) and then starts a separate client container (or a host‑side script) that attempts to log runs. The client immediately fails with errors such as: mlflow.exceptions.RestException: Unable … Read more

MLflow tracking server auth fails after secret rotation

a close-up of a server room

Problem – Inconsistent Authentication After Secret Rotation During a blue‑green rollout of an ML pipeline on Kubernetes, the MLflow tracking server stopped logging experiments. The server reported authentication failures against the backend database despite the new deployment using the updated secret ARN. Typical log excerpt: 2024-06-28 14:32:11,842 ERROR mlflow.store.sqlalchemy_store SQLAlchemyStore: Backend store connection failed: sqlalchemy.exc.OperationalError: … Read more

MLflow RAG query decomposition fails during rolling update

cable network

Problem – RAG query decomposition fails during a rolling update During a rolling update of an MLflow‑served Retrieval‑Augmented Generation (RAG) model, inference requests start returning errors such as: Failed to decompose query: embedding dimension mismatch (expected 768, got 512) CacheKeyCollisionError: Duplicate cache entry for key ‘rag_decompose:customer_id=123’ detected during rolling update ModelVersionNotFoundError: Requested version ‘2’ for … Read more

MLflow training job rejected by Kubernetes admission controller

photo of computer cables

Problem Description When launching an MLflow training run that uses the Kubernetes backend, the pod creation fails with an admission‑controller error. The MLflow client reports a kubectl error similar to the following: Error from server (Forbidden): pods “mlflow-train-7f9c8d5b9-xyz” is forbidden: exceeded quota: compute-resources, request: cpu=8, memory=16Gi Other observed messages include: admission webhook “validation.gatekeeper.sh” denied the … Read more