File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2066,7 +2066,7 @@ def to_structured_cfg(cfg, config_cls):
20662066
20672067def _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" :
Original file line number Diff line number Diff line change @@ -739,14 +739,14 @@ Configuration for experiment statistics logging and tracking services.
739739
740740Configuration 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
You can’t perform that action at this time.
0 commit comments