Skip to content
Comparison

Denpex vs TensorBoard

TensorBoard is for visualization. Denpex is for failure diagnosis. Use both.

Inside Denpex

See the evidence, not just the claim

Follow the causal chain, inspect the quoted evidence and prepare the next handoff. These actual product captures use founder-account examples and the VS Code extension, with the source identified under each image. Open a capture to inspect it at full size.

Keep the investigation in the editor

Denpex VS Code extension displaying a bundled OOM-before-NCCL example, matched log evidence, verification guidance and an investigation handoff.
Actual VS Code extension capture of the bundled OOM-before-NCCL example. Review matched log evidence, verification guidance and the investigation handoff without leaving the editor.Inspect original image

Ask for the evidence that is missing

Denpex historical example says a collective timeout does not establish the initiating rank, cause or failure domain and requests distinguishing evidence before a remedy.
Founder-account example restored from history. The original timeout remains unattributed, and the UI keeps the missing-evidence assessment visible.Inspect original image

Follow the failure through the cascade

Denpex founder-account example: a causal graph connects an Xid 48 ECC event to a rank exit and downstream collective failures, with quoted evidence for each stage.
Live founder-account capture from the bundled NCCL/ECC example. Follow the hardware event, rank exit and downstream symptoms with a supporting log quote at each stage.Inspect original image

What is TensorBoard?

TensorBoard is Google's open-source visualization toolkit for machine learning. It reads event files written by TensorFlow, PyTorch (via torch.utils.tensorboard), and other frameworks to render live loss curves, weight histograms, embedding projections, model computation graphs, and hyperparameter experiment comparisons. It is the standard tool for understanding how a training run is progressing while it is running.

What is Denpex?

Denpex is a purpose-built ML training failure diagnosis engine. When a training run crashes, Denpex collects available rank logs, applies clock-drift correction to build a causal timeline, classifies the failure against 11,700+ documented patterns, and returns an evidence-ranked root cause, originating rank, and prescriptive next action.

The core difference

TensorBoard answers 'how is my training going?' Denpex answers 'why did my training die and what do I do?' TensorBoard is a monitoring and visualization tool for healthy or in-progress runs. Denpex is a post-failure diagnostic tool. When the loss curve in TensorBoard shows a spike and the job crashes, TensorBoard's job is done. Denpex's job begins. The loss spike is a symptom; Denpex finds the cause.

Feature comparison

Feature comparison: Denpex versus TensorBoard
CapabilityDenpexTensorBoard
Visualizes loss curves, histograms, model graphsNoYes
Diagnoses the likely initiating rank of an NCCL cascade when evidence supports itYesNo
Shows identity as unknown instead of guessing when rank evidence is missingYesNo
Cross-run diff: what changed between success and failureYesNo
Classifies failures as hardware / ML / data / environmentYesNo
Silent data corruption (SDC) detectionYesNo
Straggler and gray-failure detectionYesNo
Routes alert to the right engineer with fix inlineYesNo
Hyperparameter visualization (HParams plugin)NoYes
Embedding projector / PR curvesNoYes
Free and open-sourceFrom $0 (tiered free allowance)Yes, fully open source
Self-hostedYes (in-VPC on Scale+)Yes
Coexists with TensorBoardYes; no TensorBoard write-back requiredNative
PricingFrom $0; Team $415/month billed annually ($499 month-to-month), Scale $1,245/month billed annually ($1,499 month-to-month), Growth $2,915/month billed annually ($3,499 month-to-month), and custom Data Center contractsFree

Verdict

Use TensorBoard for visualizing training progress: loss curves, histograms, model graphs, and hyperparameter comparison. Use Denpex when a run dies and you need the root cause, the evidence-ranked cause, the initiating identity when it is observable, and a concrete next action. TensorBoard shows you the loss curve spiked; Denpex can connect that symptom to an Xid 48 on rank 42 when the submitted rank logs and hardware evidence establish that chain.

Key differences explained

Root cause vs visualization

TensorBoard shows you training metrics graphically. When a run fails, it shows you the loss exploded or went to NaN, but not why. Denpex reads the actual failure event from all 64 ranks' logs, correlates them into causal order, and tells you: 'NCCL watchdog timeout triggered by an Xid 48 hardware fault on rank 42. The fault originated at step 8,143. Remediation: replace GPU in slot 5 of node gpu-04, resume from checkpoint at step 8,000.' TensorBoard cannot produce this output under any configuration.

Cross-rank diagnosis vs single-run visualization

TensorBoard visualizes the metrics from a single training run. When a distributed run dies, the failure is typically a cascade. One rank fails, its watchdog fires, and the failure propagates to all other ranks within seconds. Each rank logs a different error message. Without cross-rank correlation, you cannot tell which rank failed first or what the actual fault was. Denpex's entire design is built around this problem.

Proactive monitoring vs passive visualization

TensorBoard requires you to open it and look at the charts. Denpex monitors the run proactively and fires an alert to Slack, PagerDuty, or email the moment a failure is detected, with the root cause and fix already written in the alert body. You don't need to be watching a dashboard to know what happened.

Silent data corruption

TensorBoard shows loss curves and metrics that look completely normal during a silent data corruption (SDC) event. SDC produces no log errors and no metric spikes. The model appears to train normally but is producing corrupted weights. Denpex detects SDC by monitoring per-layer weight-delta distributions and flags anomalies that are invisible to visualization tools. SDC discovered by TensorBoard typically means it was already caught at evaluation, often days or weeks later.

When to use each

Use TensorBoard when…

You want to monitor training progress in real time with visual charts. You need to compare multiple experiment runs. You want to visualize model architecture, weight distributions, or embeddings. You are debugging training dynamics, not a crash.

Use Denpex when…

A distributed training run has crashed and you need an evidence-ranked cause and next action. You want proactive alerts routed to the right engineer and want to detect silent data corruption, stragglers, and gray failures before they become multi-hour investigations.

Use both when…

Almost all serious ML teams. TensorBoard monitors training health while the run is active. Denpex handles failure diagnosis when the run crashes. They operate at different points in the training lifecycle and do not overlap.

Integration path

Denpex integrates with TensorBoard passively. The Denpex agent wraps your training command and collects failure events without modifying your TensorBoard logging code. Your existing SummaryWriter calls continue unchanged. On failure, Denpex diagnoses the crash while TensorBoard retains its visualization of everything up to the failure point.

Frequently asked questions

Does Denpex replace TensorBoard?

No. They operate at different stages of the training lifecycle. TensorBoard monitors active training runs visually. Denpex diagnoses runs after they crash. Most teams run both and they do not overlap in functionality.

TensorBoard is free. Why would I pay for Denpex?

TensorBoard is a visualization tool, not a diagnostic workflow. Denpex correlates failure evidence across the stack, ranks competing causes, and returns a concrete investigation or remediation plan. Evaluate the value against your own incident volume and GPU-hour cost.

Can TensorBoard tell me which GPU rank caused an NCCL timeout?

No. TensorBoard visualizes the metrics your training code logs to event files. It has no access to the raw NCCL or CUDA error stream across ranks and no ability to build a causal timeline across a distributed job.

Does Denpex break my existing TensorBoard logging?

No. Denpex wraps your training command at the process level. Your SummaryWriter calls, event files, and TensorBoard visualization all continue exactly as before. Denpex only acts on process exit, stderr, and the DCGM/NVML hardware telemetry stream.

Can I use Denpex with PyTorch Lightning and TensorBoard?

Yes. Denpex works at the process level and is framework-agnostic. It works with PyTorch, TensorFlow, JAX, DeepSpeed, FSDP, Megatron-LM, and any training framework that runs on Linux with NVIDIA GPUs.

Does Denpex require TensorBoard to be installed?

No. Denpex has no dependency on TensorBoard. The two tools operate independently and integration is optional. You can run Denpex without TensorBoard and vice versa.

What does Denpex do if a run is healthy?

With monitoring enabled, the agent emits bounded heartbeats and telemetry while leaving the training process unchanged. Collection has non-zero overhead, so evaluate it against your own workload. Diagnosis starts when a failure or configured degradation signal is detected.

Is Denpex open source like TensorBoard?

The published Python agent is MIT-licensed and supports deterministic zero-egress diagnosis. The hosted control plane, LLM fallback, and cross-cluster analytics are the paid product. An in-VPC or air-gapped agent is not the same as a self-hosted Denpex control plane; that control-plane option is roadmap work.

Live diagnosis, no signup

Upload your GPU log. Find what happened first.

Get the likely cause, supporting evidence, and next safe steps with the same cloud reasoning used by paid plans. A crash the engine recognizes is answered in seconds, then checked by an independent AI review that updates this page when it finishes. A crash it does not recognize waits for the AI's own answer, which can take a few minutes. No account, card, or installation. Logs are masked at Denpex API ingress and are not saved to account history.

Before uploading, review cloud data handling and local options.

training_logs.txt
No log to hand? Try one:

Upload your log file. Large files are processed in your browser. Only selected evidence is submitted when you run diagnosis.

3 free cloud diagnoses per day

Try Denpex for 30 days. FREE.

No credit card. No automatic subscription. See whether Denpex helps with an incident you already understand.

Start your free 30-day Team evaluation

Up to 50 diagnoses a day for 30 days. Verify your work email to activate an eligible company evaluation, then replay a resolved incident and compare the evidence and next steps with your team's confirmed cause.

Use your company email, for example alex@yourcompany.com.

Who qualifies?

Company email domains activate the free 30-day Team evaluation (up to 50 diagnoses a day) after an email and domain check, whatever mail provider you use. If we cannot verify your domain automatically, support reviews it: write to support@denpex.com. Free local diagnosis in the editor extension needs no account.

Using a personal email (Gmail, Outlook, Naver, QQ) or solo cluster? Create a free $0 account (no work email required) to save 7-day history and unlock AI fallback, or send a cluster crash log for a live walkthrough.