Skip to content

Commit

Permalink
Merge branch 'main' of github.com:huggingface/lighteval into fix-task…
Browse files Browse the repository at this point in the history
…-registry
  • Loading branch information
albertvillanova committed Dec 20, 2024
2 parents ff9a497 + a1c610d commit 4b65050
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lighteval/logging/evaluation_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

import copy
import json
import logging
import os
Expand Down Expand Up @@ -156,8 +155,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")

Expand Down

0 comments on commit 4b65050

Please sign in to comment.