Skip to content

Commit 6804ede

Browse files
committed
.
1 parent 78c4ed5 commit 6804ede

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

areal/api/cli_args.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2066,7 +2066,7 @@ def to_structured_cfg(cfg, config_cls):
20662066

20672067
def _validate_cfg(cfg: Any) -> None:
20682068
"""Validate configuration for consistency and correctness."""
2069-
2069+
from areal.api.alloc_mode import AllocationMode
20702070

20712071
am = AllocationMode.from_str(cfg.allocation_mode)
20722072
if am.train_backend == "megatron" and cfg.actor.optimizer.type == "adam_bf16":

docs/cli_reference.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -739,14 +739,14 @@ Configuration for experiment statistics logging and tracking services.
739739

740740
Configuration for SwanLab experiment tracking and monitoring.
741741

742-
| Parameter | Type | Default | Description |
743-
| --------- | -------------- | ------------------------- | ----------- |
744-
| `project` | string \| None | `None` | - |
745-
| `name` | string \| None | `None` | - |
746-
| `config` | `dict` \| None | `None` | - |
747-
| `logdir` | string \| None | `None` | - |
748-
| `mode` | string \| None | `"disabled"` | - |
749-
| `api_key` | string \| None | `None` | - |
742+
| Parameter | Type | Default | Description |
743+
| --------- | -------------- | ------------ | ----------- |
744+
| `project` | string \| None | `None` | - |
745+
| `name` | string \| None | `None` | - |
746+
| `config` | `dict` \| None | `None` | - |
747+
| `logdir` | string \| None | `None` | - |
748+
| `mode` | string \| None | `"disabled"` | - |
749+
| `api_key` | string \| None | `None` | - |
750750

751751
(section-tensor-board)=
752752

0 commit comments

Comments
 (0)