frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Autonomous recovery for distributed training jobs

https://docs.tensorpool.dev/features/agent
6•tsvoboda•5h ago
Hi HN! We’re TensorPool. We help companies access and optimize large scale compute for training foundation models.

The Problem

It’s been almost a year since we’ve finished YC, and we’ve just crossed 100,000 multinode training GPU hours run on our platform.

On those training runs, we’ve seen countless 3am job crashes because of issues like an Xid error from a flaky GPU or an S3 timeout that corrupted a checkpoint save. By the time you wake up and notice, you've lost 8+ hours of compute. You scramble to diagnose the issue, manually restart from the last checkpoint, and hope it doesn't happen again. Rinse and repeat.

For training runs that take days to weeks, this constant babysitting is exhausting and expensive. The research iteration cycles lost can also make or break a model release (especially for short reservations).

What We Built

This agent monitors your training jobs and autonomously recovers them when things go wrong. It works with Kubernetes, Slurm, and TensorPool Jobs.

We originally built the TensorPool Agent as an internal tool to help us debug failures with our own customers. Over time, we realized its performance was so good that we could automate the entire triage process. We're now releasing a public beta for people to use.

Best case: The TensorPool Agent detects the failure, diagnoses the root cause, fixes it, and restarts your job from the last checkpoint – all while you sleep ;)

Worst case: If the TensorPool agent can't fix the issue automatically, it delivers a preliminary RCA and a list of actions it attempted, giving you a head start on debugging.

How It Works

1) Registration – You provide credentials to your job scheduler via our dashboard. Perms are granted on a whitelist basis; you explicitly control what actions the agent can take.

2) Monitoring – The agent continuously monitors your job for failure conditions.

3) Recovery – On failure, the agent analyzes logs and attempts to diagnose the issue. If successful, it restarts the job from the last checkpoint and resumes monitoring. If not, you get an alert with full context.

Target Failure Modes

The agent is specifically designed for runtime errors that occur deep into training, like:

- CUDA OOM: Memory leaks, gradient explosions

- Xid errors: GPU hardware faults (Xid 79, 63, 48, etc.)

- Distributed communication failures: NCCL timeouts, rank failures

- Storage I/O errors: Checkpoint corruption

- Network issues: S3 request timeouts on mounted object storage

Comments

tsvoboda•5h ago
Would love to hear how you're handling recovery for long-running training jobs today, as well as what failure modes are most common/annoying for you.
hnotshe•3h ago
We're still figuring out how to detect "silent" failures where the job doesn't crash but stops making progress — like NCCL hangs where ranks are waiting indefinitely, or gradient norm explosions that don't trigger OOM but tank loss. Right now we rely on explicit errors in logs, but curious how others approach detecting "the job is technically running but something is very wrong" (if at all)?
jpollock•1h ago
Measurement and alerting is usually done in business metrics, not the causes. That way you catch classes of problems.

Not sure about expected loss, that's a decay rate?

But stuck jobs are via tasks being processed and average latency.

Show HN: Kolibri, a DIY music club in Sweden

https://kolibrinkpg.com/
23•EastLondonCoder•6h ago•5 comments

Show HN: Autonomous recovery for distributed training jobs

https://docs.tensorpool.dev/features/agent
6•tsvoboda•5h ago•3 comments

Show HN: We review YC applications for free – with feedback from YC founders

https://www.ycroaster.com
3•gjarrosson•54m ago•2 comments

Show HN: ShapedQL – A SQL engine for multi-stage ranking and RAG

https://playground.shaped.ai
70•tullie•2d ago•21 comments

Show HN: Transcribee: YouTube transcriber that builds a knowledge base

https://github.com/itsfabioroma/transcribee
10•ofabioroma•3h ago•1 comments

Show HN: ARC-AGI-3 Toolkit

https://docs.arcprize.org
3•gkamradt•1h ago•1 comments

Show HN: VCluster Free – Free K8s Multi-Tenancy with Virtual Clusters

https://www.vcluster.com/blog/launching-vcluster-free-get-enterprise-features-at-no-cost
10•gentele•4h ago•3 comments

Show HN: SimpleSVGs – Free Online SVG Optimizer Multiple SVG Files at Once

https://www.simplesvgs.online/
4•firtaet•4h ago•0 comments

Show HN: Dwm.tmux – a dwm-inspired window manager for tmux

https://github.com/saysjonathan/dwm.tmux
98•saysjonathan•5d ago•17 comments

Show HN: Built a way to validate ideas with AI personas and Simulated Community

https://www.nichesim.com/
2•justincxa•5h ago•0 comments

Show HN: An Open Source Alternative to Vercel/Render/Netlify

https://www.shorlabs.com/
21•thirdavenue•11h ago•2 comments

Show HN: SHDL – A minimal hardware description language built from logic gates

https://github.com/rafa-rrayes/SHDL
42•rafa_rrayes•1d ago•20 comments

Show HN: A MitM proxy to see what your LLM tools are sending

https://github.com/jmuncor/sherlock
212•jmuncor•1d ago•113 comments

Show HN: Shelvy Books

https://shelvybooks.com
44•tekkie00•21h ago•17 comments

Show HN: vind – A Better Kind (Kubernetes in Docker)

https://github.com/loft-sh/vind
12•saiyampathak•5h ago•1 comments

Show HN: The HN Arcade

https://andrewgy8.github.io/hnarcade/
336•yuppiepuppie•1d ago•112 comments

Show HN: I made a dual-bootable NixBSD (NixOS and FreeBSD) image

https://github.com/jonhermansen/nixbsd-demo
5•jonhermansen•6h ago•2 comments

Show HN: Build Web Automations via Demonstration

https://www.notte.cc/launch-week-i/demonstrate-mode
30•ogandreakiro•2d ago•20 comments

Show HN: Nomod payment integrated into usage-based billing stack

http://Link:admin.flexprice.io
8•ShreyaChaurasia•6h ago•4 comments

Show HN: Pinecone Explorer – Desktop GUI for the Pinecone vector database

https://www.pinecone-explorer.com
20•arsentjev•1d ago•3 comments

Show HN: Craft – Claude Code running on a VM with all your workplace docs

2•Weves•7h ago•0 comments

Show HN: Externalized Properties, a modern Java configuration library

https://github.com/joel-jeremy/externalized-properties
10•jeyjeyemem•2d ago•7 comments

Show HN: I built a small browser engine from scratch in C++

https://github.com/beginner-jhj/mini_browser
141•crediblejhj•1d ago•45 comments

Show HN: LemonSlice – Upgrade your voice agents to real-time video

123•lcolucci•2d ago•127 comments

Show HN: Dotenv-gad – typed, validated .env with CLI and grouping

https://github.com/kasimlyee/dotenv-gad
3•kasimlyee•8h ago•0 comments

Show HN: Cursor for Userscripts

https://github.com/chebykinn/browser-code
54•mifydev•1d ago•15 comments

Show HN: Cua-Bench – a benchmark for AI agents in GUI environments

https://github.com/trycua/cua
36•someguy101010•3d ago•8 comments

Show HN: Clings – Learn C through interactive, Rustlings-style exercises

https://github.com/a-hariti/clings
3•drht_•8h ago•1 comments

Show HN: One Human + One Agent = One Browser From Scratch in 20K LOC

https://emsh.cat/one-human-one-agent-one-browser/
313•embedding-shape•2d ago•147 comments

Show HN: Hud – eBPF-based blocking detector for Tokio

https://cong-or.xyz/blocking-async-rust
2•cong-or•9h ago•1 comments