diff --git a/src/lighteval/logging/evaluation_tracker.py b/src/lighteval/logging/evaluation_tracker.py index 017055348..6a0b940f8 100644 --- a/src/lighteval/logging/evaluation_tracker.py +++ b/src/lighteval/logging/evaluation_tracker.py @@ -153,8 +153,7 @@ def save(self) -> None: date_id = datetime.now().isoformat().replace(":", "-") # We first prepare data to save - config_general = copy.deepcopy(self.general_config_logger) - config_general = asdict(config_general) + config_general = asdict(self.general_config_logger) # We remove the config from logging, which contains context/accelerator objects config_general.pop("config")