From c09b0a3bbfb454f5cf861372a7074bb273242fac Mon Sep 17 00:00:00 2001 From: Salman Mohammadi Date: Wed, 13 Aug 2025 11:27:15 +0100 Subject: [PATCH] reverting change --- src/axolotl/cli/utils/train.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/axolotl/cli/utils/train.py b/src/axolotl/cli/utils/train.py index 265b0e604..31b0bcf58 100644 --- a/src/axolotl/cli/utils/train.py +++ b/src/axolotl/cli/utils/train.py @@ -67,14 +67,12 @@ def build_command(base_cmd: list[str], options: dict[str, Any]) -> list[str]: def generate_config_files(config: str, sweep: str | None) -> Iterator[tuple[str, bool]]: """ - Generate list of configuration files to process. + Generate list of configuration files to process. Yields a tuple of the configuration file name and a boolean indicating + whether this is a group of configurations (i.e., a sweep). Args: config: Base configuration file sweep: Sweep configuration file - - Yields: - Configuration file name and whether this is a group of configurations """ if not sweep: