Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Changelog

All notable changes to Emry are documented here. The format follows
[Keep a Changelog](https://keepachangelog.com/), and Emry adheres to
[Semantic Versioning](https://semver.org/).

## [0.2.0] - 2026-07-07

A big batch of backward-compatible features. Upgrading from 0.1.0 requires no
code changes — everything below is additive, and existing defaults are unchanged
(the dashboard still binds loopback with no auth unless you opt in).

### Added

- **GPU telemetry.** When an NVIDIA GPU is present, Emry auto-samples
`nvidia-smi` and charts GPU utilization, memory, and temperature alongside your
metrics. On by default; `gpu=False` to disable.
- **NaN/Inf alerts.** Pass `alert_webhook=` (or set `EMRY_ALERT_WEBHOOK`) to get a
Slack/Discord/generic-webhook ping the moment a metric goes non-finite —
fire-once-per-metric, off the training thread, never blocking the loop.
- **Weights & Biases export.** `emry.to_wandb(run_dir, ...)` (or
`python -m emry.export_wandb`) replays a finished run into a W&B run. `wandb` is
an optional extra: `pip install emry[wandb]`.
- **Checkpoint markers.** `run.checkpoint(path, step)` records checkpoint events,
rendered as markers on both dashboards.
- **Multi-run project dashboard.** `emry web --project ./logs` overlays every run
in a log directory on one chart for sweep comparison.
- **SLURM sidecar helper.** `emry slurm-wrap --project NAME -- <cmd>` starts the
sidecar engine, points your command at it, and drains/cleans up on exit —
collapsing the batch-script boilerplate into one line.
- **Web dashboard auth + TLS.** `--auth-token` (or `EMRY_AUTH_TOKEN`) requires a
bearer token on every route except `/healthz`; `--tls-cert`/`--tls-key` serve
HTTPS from your own PEM files; `--host` sets the bind address (default
loopback). All opt-in.
- **Role-based access (RBAC).** `--viewer-token` grants read-only access to
single-run dashboards; the multi-run `--project` overlay requires the
full-access `--auth-token` (admin).
- **Kubernetes deployment.** A multi-stage `Dockerfile` and a Helm chart under
`deploy/helm/emry` (Deployment, Service, optional Ingress + auth Secret).
- **Terminal-dashboard parity.** `emry watch` gained the step-based chart axis,
phase bands, checkpoint markers, and a `--compare` baseline overlay — full
parity with the web dashboard.

### Changed

- Socket/stream observers now receive a metric name table, so live consumers show
real metric names instead of `m{id}` placeholders.
- Minimum supported Rust version raised to 1.88 (ratatui 0.30); this affects
building from source only, not installing the wheel.

[0.2.0]: https://github.com/femboyisp/emry/releases/tag/v0.2.0
[0.1.0]: https://github.com/femboyisp/emry/releases/tag/v0.1.0
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ members = [
]

[workspace.package]
version = "0.1.0"
version = "0.2.0"
edition = "2021"
license = "Apache-2.0"
rust-version = "1.88"
Expand Down
3 changes: 2 additions & 1 deletion crates/emry-py/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ mod tests {

#[test]
fn version_matches_cargo_package() {
assert_eq!(emry_version(), "0.1.0");
// Tracks the crate version automatically, so a release bump needs no edit.
assert_eq!(emry_version(), env!("CARGO_PKG_VERSION"));
}
}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "maturin"

[project]
name = "emry"
version = "0.1.0"
version = "0.2.0"
description = "Gentle observability for long training runs"
readme = "README.md"
requires-python = ">=3.10"
Expand Down
2 changes: 1 addition & 1 deletion python/emry/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
from emry.phase import Phase
from emry.run import Run, run

__version__ = "0.1.0"
__version__ = "0.2.0"

__all__ = ["DeployMode", "Phase", "Run", "run", "to_wandb", "__version__"]
2 changes: 1 addition & 1 deletion python/tests/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@

def test_version_is_string() -> None:
assert isinstance(emry.__version__, str)
assert emry.__version__ == "0.1.0"
assert emry.__version__ == "0.2.0"
Loading