For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Understanding log messages is crucial for diagnosing issues. This guide helps you interpret logs from each component and identify common error patterns.
Log Levels
All components use standard log levels:
Level
Description
Example
DEBUG
Detailed diagnostic info
Variable values, function calls
INFO
Normal operation events
Request received, model loaded
WARNING
Potential issues
Slow response, retry attempt
ERROR
Error that needs attention
Failed request, connection error
CRITICAL
Severe error
Service crash, unrecoverable error
Lightning ASR Logs
Successful Startup
1
INFO: Starting Lightning ASR v1.0.0
2
INFO: GPU detected: NVIDIA A10 (24GB)
3
INFO: Downloading model from URL...
4
INFO: Model downloaded: 23.5GB
5
INFO: Loading model into GPU memory...
6
INFO: Model loaded successfully (5.2GB GPU memory)
7
INFO: Warmup inference completed in 3.2s
8
INFO: Server ready on port 2269
Request Processing
1
INFO: Request received: req_abc123
2
DEBUG: Audio duration: 60.5s, sample_rate: 44100
3
DEBUG: Preprocessing audio...
4
DEBUG: Running inference...
5
INFO: Transcription completed in 3.1s (RTF: 0.05x)
6
INFO: Confidence: 0.95
Common Errors
GPU Not Found
1
ERROR: No CUDA-capable device detected
2
ERROR: nvidia-smi command not found
3
CRITICAL: Cannot initialize GPU, exiting
Cause: GPU not available or drivers not installed
Solution:
Check nvidia-smi works
Verify GPU device plugin (Kubernetes)
Check NVIDIA Container Toolkit (Docker)
Out of GPU Memory
1
ERROR: CUDA out of memory
2
ERROR: Tried to allocate 2.5GB but only 1.2GB available
3
WARNING: Reducing batch size
Cause: Not enough GPU memory
Solution:
Reduce concurrent requests
Use larger GPU (A10 vs T4)
Scale horizontally (more pods)
Model Download Failed
1
INFO: Downloading model from https://example.com/model.bin