PraMamba
8aab807e67
feat: Add SwanLab integration for experiment tracking (#3334)
* feat(swanlab): add SwanLab integration for experiment tracking
SwanLab integration provides comprehensive experiment tracking and monitoring for Axolotl training.
Features:
- Hyperparameter logging
- Training metrics tracking
- RLHF completion logging
- Performance profiling
- Configuration validation and conflict detection
Includes:
- Plugin in src/axolotl/integrations/swanlab/
- Callback in src/axolotl/utils/callbacks/swanlab.py
- Tests in tests/integrations/test_swanlab.py
- Examples in examples/swanlab/
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* fix(swanlab): address PR #3334 review feedback from winglian and CodeRabbit
- Change use_swanlab default to True (winglian)
- Clear buffer after periodic logging to prevent duplicates (CodeRabbit Major)
- Add safe exception handling in config fallback (CodeRabbit)
- Use context managers for file operations (CodeRabbit)
- Replace LOG.error with LOG.exception for better debugging (CodeRabbit)
- Sort __all__ alphabetically (CodeRabbit)
- Add language specifiers to README code blocks (CodeRabbit)
- Fix end-of-file newline in README (pre-commit)
Resolves actionable comments and nitpicks from CodeRabbit review.
Addresses reviewer feedback from @winglian.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* only run swanlab integration tests if package is available
---------
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: Wing Lian <wing@axolotl.ai>
2026-01-06 09:19:18 -05:00
..
2025-09-24 16:13:49 -04:00
2025-09-19 17:34:04 +07:00
2025-09-19 17:34:04 +07:00
2025-09-23 21:22:15 +07:00
2025-08-26 09:29:50 -04:00
2025-07-21 11:40:56 -04:00
2025-12-25 18:07:59 +07:00
2025-09-23 21:22:15 +07:00
2025-07-30 06:44:06 -04:00
2025-09-10 09:03:30 +07:00
2025-08-08 12:45:36 +01:00
2025-07-21 11:40:56 -04:00
2025-07-21 11:40:56 -04:00
2025-11-04 07:35:07 +07:00
2025-09-18 15:42:20 +07:00
2025-07-30 06:44:06 -04:00
2025-12-23 08:49:07 -05:00
2025-11-13 10:19:16 -05:00
2025-09-10 09:03:30 +07:00
2025-12-25 18:07:59 +07:00
2025-07-30 06:44:06 -04:00
2025-12-25 17:53:52 +07:00
2025-10-09 10:47:41 -04:00
2025-09-26 10:23:59 +01:00
2025-12-22 13:58:25 -05:00
2025-07-22 10:00:30 -04:00
2025-09-23 21:22:15 +07:00
2025-07-22 10:00:30 -04:00
2025-12-25 19:17:25 +07:00
2025-07-30 06:44:06 -04:00
2025-12-25 18:09:03 +07:00
2025-12-04 21:44:44 +07:00
2025-12-25 19:17:25 +07:00
2025-12-25 19:17:25 +07:00
2025-12-25 19:17:25 +07:00
2025-12-25 17:56:20 +07:00
2025-07-30 06:44:06 -04:00
2025-09-23 21:22:15 +07:00
2025-09-18 15:42:20 +07:00
2025-12-25 18:09:03 +07:00
2025-12-17 09:35:22 -05:00
2025-12-19 10:43:47 -05:00
2025-09-23 21:22:15 +07:00
2025-09-23 21:22:15 +07:00
2025-12-09 14:31:03 +07:00
2025-09-25 17:06:16 +07:00
2025-11-24 10:21:31 +07:00
2025-08-08 08:02:03 -04:00
2025-11-24 10:21:31 +07:00
2025-09-02 12:08:44 -04:00
2026-01-06 09:19:18 -05:00
2025-12-25 18:09:03 +07:00
2025-11-13 10:18:42 -05:00