Added StepOutput addition, so step results built per objective can be combined with + (losses summed, predictions, targets, and metrics merged) in PR #29.
Allowed @charge to take several events, so one method can handle, for example, train, validation, and test steps without stacking decorators in PR #29.
Made the StepOutput loss optional for test steps, so evaluation without a meaningful loss reports only metrics and the test result omits test_loss in PR #29.
Added a notebook benchmarking overhead against vanilla PyTorch and other training libraries.
Fixed loading retained top-k checkpoints after sibling files have been deleted.
Per-run ranking manifests preserve the current directory's best checkpoints when
restoring historical training state, with transactional save/load behavior and
collision-safe filenames for replayed epochs.
Added unlimited periodic checkpoint retention with save_top_k=-1, absolute
epoch cadence with save_every_n_epochs, and optional final training checkpoints
with save_final, configurable final_save_path, and a read-only
final_model_path. Final files respect save_weights_only and remain separate
from ranked retention. Validation checkpoints now subscribe to the existing
AFTER_VALIDATION_EPOCH event without changing event dispatch or contexts.
Added stateful and collected metrics to completed training, validation, and test
progress bars, including aggregate and per-dataset results.
Required release versions to be strictly newer than the published PyPI version,
using PEP 440 ordering to reject downgrades and equivalent version spellings.
Added native CPU compatibility CI for Python 3.12–3.14 across Linux, Apple Silicon
macOS, Windows x64, and Windows ARM64 where official PyTorch wheels are available.
Jobs build and install the wheel, exercise checkpoint resume and spawned data
loading, and publish test/environment summaries. Added Python 3.13/3.14 classifiers
in PR #31.
Added named training and validation datasets with deterministic round-robin or
seeded interleaved batches, sample-weighted losses and metrics, and dataset-specific
metric names for multi-dataset workflows.
Added phase-specific metric configuration and MetricSpec selectors for structured
model outputs and targets.
Added validation cadence, cumulative epoch and optimizer-step counts, and explicit
stop reasons to training results.
Added LocalTracker with versioned run directories, epoch-level CSV metrics,
hyperparameter YAML, and latest-value summaries.
Updated the existing examples and added USPS/SEMEION, Ames Housing multi-target,
and FrozenLake A2C notebooks.
Removed pre-1.0 callback aliases and legacy full-checkpoint loading in
PR #25.
Added compatibility contracts that detect removal or incompatible changes to the
documented public API and verify that protected endpoints remain in the generated
reference documentation.
Verified optional torch.compile use across training, validation, testing,
prediction, automatic metrics, optimizer parameters, and checkpoint restoration.
Added strict-by-default metric lifecycle errors with the optional
metric_error_policy="warn" policy, protected runtime configuration from mutation
inside events, and made missing monitored metrics fail consistently.
Added TerminateOnNonFinite for selected loss and metric checks before unsafe
training operations and across evaluation phase results.
Added Event.ON_EXCEPTION for escaping workflow failures and failure-aware
experiment-tracker cleanup without final model artifact logging.
Expanded full checkpoints with Python, PyTorch CPU, available CUDA and MPS,
optional NumPy, and DataLoader generator RNG state.
Made full and raw-model checkpoint restoration transactional, with complete
callback-state preflight, component rollback, and preservation of the original
load failure.
Clarified scalar batch-mean loss aggregation, DataPack generator behavior, and the
optional compile-before-Battery usage order in
PR #24.
Added Battery.fit() for training with optional per-epoch validation and
Battery.validate() for a required, optimizer-free standalone validation pass.
Added the public FitResult and ValidationResult contracts.
Retained validation through Battery.train() for compatibility while deprecating
its val_loader parameter and TrainResult.val_loss/val_metrics fields. The
compatibility path now logs and emits a deprecation warning only when validation
actually runs.
Unified charged-method discovery and dispatch behind shared handler infrastructure
while keeping the full public EventHandler and DataPackHandler APIs documented.
Split production classes, protocols, enums, and helper functions into focused
modules and natural data-types, event-core, trainer-types, progress-types, W&B,
logging, and metrics packages without changing existing public import paths.
Split Battery checkpointing, training, evaluation, prediction, and shared workflow
state into focused private modules while retaining checkpoint compatibility; made
@charge stackable with deterministic duplicate and competing-handler validation.
Updated guides, API references, executable documentation examples, and all seven
notebooks for fit(), standalone validation, result contracts, canonical
phase="validation", and the reorganized public API.
Aligned exception ownership, built-in error types, module-qualified logging,
lifecycle diagnostics, docstring coverage, and notebook-focused CI validation in
PR #23.
Renamed callback metric-monitoring configuration from stage to phase in
EarlyStopping, ModelCheckpoint, and LearningRateScheduler. The deprecated
stage= keyword remains available as a compatibility alias.
Added event-driven DataPack workflows for reusable dataset and DataLoader
construction across training, testing, and prediction while preserving the direct
DataLoader API.
Added validated phase-aware DataLoaderConfig materialization, deterministic
opt-in generators, guaranteed teardown, and DataPack state in full checkpoints.
Added context-managed DataPack.resolve() for constructing and inspecting datasets
and DataLoaders without a Battery, backed by the same lifecycle resolver used by
implicit Battery workflows.
Added the DataPack guide and API reference, converted the MNIST notebook to the
implicit DataPack workflow, and retained direct DataLoader coverage in the
function-fitting notebook in
PR #22.
Replaced pdoc with a structured MkDocs Material site, clarified public contracts,
updated all example notebooks, and added metadata-free static documentation and
notebook validation, and adopted the Apache License 2.0 without changing runtime
API behavior in
PR #21.
Introduced the explicit StepOutput contract and hardened workflow validation,
callback snapshots, checkpoint storage, logging, and regression coverage in
PR #19.
Expanded the image-classification notebook and example dependency set in
PR #12.
Subsequent repository maintenance at version 0.5.2 refined dependency groups,
workflow triggers, and release automation in
PR #15, updated contributor
guidance in PR #13, and added
a documentation badge in
PR #16.
Introduced Battery, event charging and dispatch, workflow result types, automatic
device and batch handling, progress reporting, package typing, and the first
end-to-end example in
PR #4.