AReaL/realhf
xichengpro bb14f022dc
Support using SwanLab for experiment tracking (#98)
* Support using SwanLab for experiment tracking

* docs: improve WandB and SwanLab integration documentation
- Added official links for better user reference
- Used backticks to quote commands and parameters
- Unified mode settings to use "online" / "cloud" convention
- Merged WandB and SwanLab descriptions into a single concise statement
- Added note on using `swanlab.mode="local"` when server connection is unavailable

* refactor: update default value of api_key

* fix: correct help description from WandB to SwanLab in SwanLabConfig

* refactor: merge log_swanlab_tensorboard and log_wandb_tensorboard into log_swanlab_wandb_tensorboard

 - Unified logging logic for SwanLab, WandB, and TensorBoard to reduce code duplication

* chore: update swanlab version in dependency config files

 - Updated SwanLab version in pyproject.toml
 - Updated SwanLab version in requirements.txt

* refactor: enhance SwanLab config handling for logging purposes
- Config now uses provided arguments first
- Falls back to reading from config.yaml if no input is given

* docs: add note on using  when server connection is unavailable

* refactor: merge _LATEST_WANDB_STEP and _LATEST_SWANLAB_STEP into _LATEST_LOG_STEP

* Format code with black and isort

* chore: update swanlab version in dependency config files
- Updated SwanLab version in requirements.txt

* refactor: rename swanlab_wandb_data to log_data

---------

Co-authored-by: dubingnan <dubingnan@360.cn>
2025-06-16 19:51:31 +08:00
..
api Support using SwanLab for experiment tracking (#98) 2025-06-16 19:51:31 +08:00
apps Support using SwanLab for experiment tracking (#98) 2025-06-16 19:51:31 +08:00
base Support using SwanLab for experiment tracking (#98) 2025-06-16 19:51:31 +08:00
experiments Support using SwanLab for experiment tracking (#98) 2025-06-16 19:51:31 +08:00
impl [Bug] Fix the dependency of a virtual environment for sympy==1.12 (#92) 2025-06-08 21:11:35 +08:00
scheduler Support using SwanLab for experiment tracking (#98) 2025-06-16 19:51:31 +08:00
system Support using SwanLab for experiment tracking (#98) 2025-06-16 19:51:31 +08:00
__init__.py [Feature & Doc & Bug Fix] Add docs, simplified ray-based scripts, and fix issues to stablize asynchronous experiments (#52) 2025-05-28 19:18:05 +08:00
utils.py Fix formatting (#90) 2025-06-06 21:42:12 +08:00
version.py Merge updates from ant repository. (#34) 2025-04-27 11:09:25 +08:00