OmegaScaleMonitorCallback#
- class OmegaScaleMonitorCallback(*args, **kwargs)#
Bases:
CallbackLogs a single chart per block tracking the effective per-row ω₀.
For each Hyena block whose kernel uses a
LearnableOmegaSIRENPositionalEmbeddingND, we logomega_eff_min/omega_eff_mean/omega_eff_max, the running per-block stats ofomega_0 · scale(post-clamp). The raw scale series is intentionally omitted because the per-block ω₀ values differ substantially (typically by ~24×), which would otherwise compress the scale axis on shared charts.- Parameters:
log_every_n_steps (int) – How often to log (in global steps).
- on_fit_start(trainer, pl_module)#
- Parameters:
trainer (pytorch_lightning.Trainer)
pl_module (pytorch_lightning.LightningModule)
- Return type:
None
- on_train_batch_end(
- trainer,
- pl_module,
- outputs,
- batch,
- batch_idx,