mirror of
https://github.com/wassname/evil_MoE.git
synced 2026-07-01 07:44:17 +08:00
fix(plots): drop deprecated routing arm; plot_substrate reads per-batch counts
- plot_dynamics: routing (route v1) out of ARM_ORDER -- superseded by routing2. - plot_substrate: per-mode hk_* are now plain per-batch counts (streaming log dropped the /denominator); parse the count, plot it (EMA or cumsum); skip old n/d-format logs (incompatible units). Y-axis hacks/batch, count annotations. Co-Authored-By: Claudypoo <288921227+claudypoo@users.noreply.github.com>
This commit is contained in:
@@ -156,7 +156,10 @@ def classify(run: dict) -> str:
|
||||
|
||||
# --- plot ------------------------------------------------------------------
|
||||
|
||||
ARM_ORDER = ["vanilla", "static erasure", "online erasure", "routing", "routing2"]
|
||||
# routing (route v1, single quarantine) is deprecated -- superseded by routing2
|
||||
# (scale-matched quarantine). classify() still tags v1 logs as "routing" so they
|
||||
# don't get misread as erasure, but it's left out of ARM_ORDER so it isn't plotted.
|
||||
ARM_ORDER = ["vanilla", "static erasure", "online erasure", "routing2"]
|
||||
# Distinct colour per series -- the two rows measure different things, so they
|
||||
# must not share a palette (hack != teacher-cos). Row 0: red hack vs green
|
||||
# solve. Row 1: blue teacher-cos vs amber student-cos.
|
||||
|
||||
Reference in New Issue
Block a user