提交图

3 次代码提交

作者 SHA1 备注 提交日期
c1b2795640 feat(logging): add swanlab backend for training runs (#17)
* feat(logging): add swanlab backend + evo1 stage2 optimizations

- Add SwanLab logging support (auto-selects when SWANLAB_API_KEY is set)
- Add stage2 training optimizations: tensor fastpath, gradient checkpointing
- Document stage2 config override behavior and runnable value-model alternative

Cherry-picked from: bfdc28c, bcecabb

* refactor(logging): separate SwanLabLogger from WandBLogger

- Restore WandBLogger to its original clean form with all comments
- Add SwanLabLogger as a separate class with the same interface
- Add make_logger() factory function to select backend based on
  SWANLAB_API_KEY environment variable
- Move evo1 stage2 runtime logging from lerobot_train.py into
  EVO1Policy.__init__ where it belongs
- Add ImportError handling for swanlab dependency

* fix(logging): gracefully fall back to WandB when swanlab is not installed

If SWANLAB_API_KEY is set but the swanlab package is not installed,
make_logger() now logs a warning and falls back to WandBLogger instead
of crashing with an ImportError at training startup.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Elvinyk <223015152@link.cuhk.edu.cn>
Co-authored-by: MrBlue0632 <2028207642@qq.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 10:31:40 +08:00
c96c678772 chore(ci): make quality checks pass across repo
- fix ruff violations in dataset, recording, and value modules

- fix typos findings and markdown/workflow lint issues

- update pages workflow checkout to disable credential persistence

- apply pre-commit auto-formatting and EOF normalization

- include requested repo housekeeping updates (.gitignore and README)
2026-03-04 13:21:18 +08:00
908eb4bbbc snapshot: sync mint main from current workspace 2026-03-03 16:32:56 +0800 2026-03-03 16:32:56 +08:00