Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion skyrl-train/docs/configuration/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Logging and Debugging Configuration
dump_data_batch: false
dump_eval_results: true

- ``logger``: Logger to use. Currently, we support ``wandb`` and ``console``. ``console`` will simply log metrics to the console.
- ``logger``: Logger to use. Currently, we support ``wandb``, ``mlflow``, and ``console``. ``console`` will simply log metrics to the console.
- ``project_name``: Name of the project in WandB.
- ``run_name``: Name of the run in WandB.
- ``dump_data_batch``: Whether to dump the data batch to a file. This is useful for debugging. When ``true``, the data batch will be dumped to a file in the ``export_path`` directory. The training batch at global step ``N`` is saved to ``self.cfg.trainer.export_path / "dumped_data" / global_step_N_training_input``
Expand Down
4 changes: 4 additions & 0 deletions skyrl-train/skyrl_train/utils/tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from pathlib import Path
from typing import Any, Dict, List, Union
from loguru import logger
from omegaconf import DictConfig, OmegaConf
import pprint


Expand Down Expand Up @@ -184,6 +185,9 @@ def _compute_mlflow_params_from_objects(params) -> Dict[str, Any]:
if params is None:
return {}

if isinstance(params, DictConfig):
params = OmegaConf.to_container(params, resolve=True)

return _flatten_dict(_transform_params_to_json_serializable(params, convert_list_to_dict=True), sep="/")


Expand Down