FailSight

Fine-tuned SLM backend for real-time log root cause analysis (RCA).

The Vision

FailSight was engineered from the ground up around a custom fine-tuned small language model (Phi-3) specialized in root cause analysis (RCA) for complex multi-line system logs and stack traces. The model was fine-tuned with LoRA on incident logs using MLX on Apple Silicon, and the fused weights are served on GCP with vLLM, so FailSight delivers fast, domain-specific diagnostic reasoning without sending sensitive infrastructure logs to third-party model APIs.

Technologies

FastAPI
Python
vLLM
Docker
Redis
MongoDB
Linux
GCP
Github Actions

Key Innovations

Domain Fine-Tuned Model

Custom fine-tuned Phi-3 model trained with LoRA specifically on system stack traces, error signatures, and postmortem incident reports.

Real-Time Streaming RCA

Server-Sent Events (SSE) stream incremental token outputs with dedicated thinking blocks for explainable diagnostic reasoning.

Zero Cold-Start Inference

Smart model lifecycle that lazy-loads and pre-warms fine-tuned weights in the background immediately upon user authentication.

Outcome

FailSight proves that domain fine-tuned small language models can rival generic giant cloud models for specialized tasks, isolating root causes in failure logs within seconds while keeping logs on self-hosted infrastructure instead of third-party model APIs.

I'm Subrat Bera - a Backend & AI Engineer building GenAI systems, scalable backends, and cloud infrastructure. Thanks for checking out my site!

© 2026 Subrat Bera. All Rights Reserved.