AstrAI/tests/trainer
ViperEkura 84ed2327f5 feat: add --resume flag to decouple weight loading from training resumption
- Add --resume bool flag to train.py CLI
- --param_path always loads weights only by default
- --resume restores epoch, consumed_samples, optimizer & scheduler
- Checkpoint.load() now preserves full meta dict
- Update test_early_stopping to use new param_path/resume API
2026-07-16 14:23:23 +08:00
..
conftest.py refactor : replace iteration with consumed_samples 2026-06-30 18:42:42 +08:00
test_callbacks.py refactor : 清理工厂和配置系统中的死代码与冗余抽象 2026-06-07 11:39:50 +08:00
test_early_stopping.py feat: add --resume flag to decouple weight loading from training resumption 2026-07-16 14:23:23 +08:00
test_grpo_strategy.py refactor: separate old policy and ref model in GRPO strategy 2026-07-14 20:03:45 +08:00
test_train_strategy.py refactor : 清理工厂和配置系统中的死代码与冗余抽象 2026-06-07 11:39:50 +08:00
test_trainer.py refactor: 检查点加载重构,路径替代对象传递 2026-05-27 20:15:29 +08:00