Add exact state observation modes

This commit is contained in:
2026-07-19 18:49:06 +08:00
parent 670eca176d
commit b49c072502
3 changed files with 40 additions and 3 deletions

View File

@@ -170,6 +170,14 @@ class FidelityEnvelopeTest(unittest.TestCase):
self.assertNotIn(
"--no-metrics_config_store_frontier_stage_batch_ledger", transformed
)
traced = module.transform_command(
base, metrics_root=Path("/new/traced-metrics"), run_id="traced", op_trace=True
)
self.assertIn("--metrics_config_enable_op_level_tracing", traced)
self.assertEqual(
module.option_value(traced, "--communication_collective_profile_path"),
"/profiles/real-allreduce.csv",
)
def test_qwen235_state_replay_rejects_implicit_ledger_base(self) -> None:
module = load("run_qwen235_fixed_pd_state_replay.py")