SQL tables, live introspection, cluster federation, and diagnostic skills
Attach to running processes without code changes. No instrumentation, no restarts, no workflow disruption.
Query performance data with standard SQL. Use familiar syntax to analyze torch traces, memory usage, and more.
Run Python code directly in target processes. Inspect variables, modify state, and debug in real-time.
Capture execution stacks with variable values. Understand exactly what your code is doing at any moment.
Monitor processes across multiple nodes. Debug distributed training issues with cross-node correlation.
Bundled multi-step playbooks β health_overview, slow_rank, β¦ β via CLI and Web Agent.
global.* cross-rank queries with _rank / _role tags and cluster query fan-out.
pip install probing
# Recommended for training
PROBING=1 PROBING_TORCH_PROFILING=on python train.py
# Or attach on Linux
pgrep -f "python.*train"
probing -t <pid> inject
# Query performance data
probing -t <pid> query "SELECT * FROM python.torch_trace LIMIT 10"
# Execute code in process
probing -t <pid> eval "print(torch.cuda.memory_allocated())"
# Capture stack trace
probing -t <pid> backtrace
Query your AI workload data with familiar SQL syntax. Analyze PyTorch traces, memory usage, and custom metrics using standard database operations.
Built on Apache DataFusion for high-performance analytics with support for aggregations, window functions, and complex joins.
Learn More β-- Find slowest operations
SELECT
module,
AVG(duration) as avg_time,
MAX(allocated) as peak_memory
FROM python.torch_trace
WHERE step > 100
GROUP BY module
ORDER BY avg_time DESC
LIMIT 10;
Execute arbitrary Python code in running processes without stopping them. Inspect variables, check GPU memory, and modify behavior on the fly.
Interactive REPL mode for exploratory debugging. Tab completion and full access to the process context.
Learn More β# Check GPU memory
probing -t <pid> eval "
import torch
print(f'Allocated: {torch.cuda.memory_allocated()/1024**3:.2f} GB')
print(f'Cached: {torch.cuda.memory_reserved()/1024**3:.2f} GB')"
# Interactive REPL
probing -t <pid> repl
Debug training instabilities, hangs, and performance regressions. Real-time insight into why training diverges or stops.
Track GPU/CPU memory usage across training steps. Detect memory leaks and optimize memory efficiency.
Identify bottlenecks in forward/backward passes. Find slow operations and optimize model performance.
Monitor AI services without restarts. Collect custom metrics and debug production issues live.