Skip to main content

PulseML

Pulse — a live ML training debugger, GUI or CLI, any backend.

🔗 pulsedb.netlify.app

Pulse is a live machine learning training debugger designed to monitor tensors, track metrics, visualize heatmaps and line charts, and interact with an integrated AI analyst.

Key Features

  • GUI Mode — Opens an interactive matrix picker with live shapes, followed by a live dashboard with a heatmap grid and an integrated AI chat panel.
  • Smart Scalars — Scalars (loss, accuracy, learning rate) automatically render as live step-charts rather than heatmaps. Loss-like scalars are auto-detected and pre-selected in the picker.
  • CLI Mode — Built for Colab, SSH, or headless environments, printing tensor stats step-by-step, displaying live ASCII charts for scalars, and supporting optional labeled PDF snapshots. Supports pausing training so you can tag new matrices or ask the AI to interpret results, right from the terminal.
  • Universal Backend Support — Automatically detects and works with NumPy, PyTorch, TensorFlow, CuPy, and JAX via a shared backend abstraction layer.
  • High Performance — Keeps overhead low by converting tensors to host-side NumPy arrays, reusing Matplotlib figures (set_data) instead of rebuilding them every step, and matching render sizes to the actual on-screen thumbnail.
  • Pulse AI Analyst — A context-aware chat panel briefed on its role that can inspect live matrix statistics, heatmaps, and your training code when "Send Code" is enabled.

Past Debugs

  • Debugged a custom LLM after a vocab size increase (2.5x) by catching a normalization bug — dividing residual growth by math.sqrt(num_layers) instead of num_layers — that let activations blow up and halted training.
  • Debugged another developer's custom attention mechanism producing NaN loss, tracing it to a missing infinity check before a division.

See pulsedb.netlify.app for screenshots of matrix selection, the live dashboard, and the CLI view.

Install

pip install pulseml

tkinter is required for GUI mode and ships with most Python installs. On Debian/Ubuntu, if it's missing:

sudo apt install python3-tk

For CLI-mode PDF snapshots, fpdf2 is installed automatically as part of the base package.

Quickstart

Import auto_track and call it right before your training loop starts. Make sure your loop is wrapped in if __name__ == '__main__':.

from pulse import auto_track

if __name__ == '__main__':
    auto_track()   # pass your training function for shape discovery, or call directly

    # Your training loop
    for epoch in range(num_epochs):
        # Training logic here
        pass

AI Chat & API Keys

To enable the AI chat panel, set the relevant provider's API key as an environment variable (e.g. ANTHROPIC_API_KEY, OPENAI_API_KEY, GEMINI_API_KEY, DEEPSEEK_API_KEY) — or leave it unset and Pulse will prompt you for one inside the GUI the first time you send a message.

License

Proprietary. See LICENSE. Use of this software is governed by the terms in that file — copying, redistribution, and reverse engineering are not permitted.

Metadata

Release files for pulseml 0.3.19

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pulseml 0.3.19
File Size Uploaded
pulseml-0.3.19.tar.gz 683.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pulseml 0.3.19
File Interpreter ABI Platform
pulseml-0.3.19-py3-none-any.whl Python 3 none any Details

Total release size: 1.3 MB

Release files / pulseml-0.3.19.tar.gz

Download URL pulseml-0.3.19.tar.gz
Size 683.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a4d8e280b467c495c2d7619172239fcc3ed00c775266e310f31d43b7184644f7
BLAKE2b-256 checksum
How to use checksums
bba146cf3b1e1df2a867698656e2a58f1d7975500b04d8e651084b36310c3834
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Release files / pulseml-0.3.19-py3-none-any.whl

Download URL pulseml-0.3.19-py3-none-any.whl
Size 616.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b83e700e130092c0a5419243040ec7a932f1d3186137fc866f08d8f63d68dd24
BLAKE2b-256 checksum
How to use checksums
9708eef30ce33d7db4b2e59d82c5c5418d95ec745ffba53fe28ae24e17722f5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.3.19 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.20

2 release files

0.2.19

2 release files

0.2.18

2 release files

0.2.17

2 release files

0.2.16

2 release files

0.2.15

2 release files

0.2.14

2 release files

0.2.13

2 release files

0.2.12

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page