Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Logs ML training metrics and alerts with Trackio, syncing to Hugging Face Spaces dashboards and CLI metric retrieval.
Use this skill ↓27% 91%+64 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 6 of 22 without it.
3 of 3 safety checks passed
Not used yet
Alerts let you flag important training events directly from code. They are the primary mechanism for LLM agents to diagnose runs and iterate autonomously on ML experiments.
Alerts are printed to the terminal, stored in the database, displayed in the dashboard, and optionally sent to webhooks (Slack/Discord).
trackio.alert(
title="Loss divergence", # Short title (required)
text="Loss 5.2 still high after 200 steps", # Detailed description (optional)
level=trackio.AlertLevel.WARN, # INFO, WARN, or ERROR (default: WARN)
webhook_url="https://hooks.slack.com/...", # Per-alert webhook override (optional)
)
| Level | Usage |
|---|---|
trackio.AlertLevel.INFO | Informational milestones (checkpoints saved, eval completed) |
trackio.AlertLevel.WARN | Potential issues (loss plateau, low accuracy, high gradient norm) |
trackio.AlertLevel.ERROR | Critical failures (NaN loss, divergence, OOM) |
Set a global webhook URL via trackio.init() or the TRACKIO_WEBHOOK_URL environment variable. Alerts are auto-formatted for Slack and Discord URLs.
trackio.init(
project="my-project",
webhook_url="https://hooks.slack.com/services/...",
webhook_min_level=trackio.AlertLevel.WARN, # Only send WARN+ to webhook
)
Per-alert override:
Published skills whose descriptions closely match this one, with their benchmark result.
Next to this one in the catalogue, plus popular skills in the same category.