Skip to content

Commit

Permalink
fix import location
Browse files Browse the repository at this point in the history
  • Loading branch information
thomwolf committed Feb 14, 2024
1 parent c409fda commit ad89f02
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lighteval/main_nanotron.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from typing import Optional, Type

import numpy as np
from nanotron.config import LightEvalConfig

from lighteval.evaluator import evaluate, make_results_table
from lighteval.logging.evaluation_tracker import EvaluationTracker
Expand All @@ -22,7 +21,7 @@
raise ImportError(NO_NANOTRON_ERROR_MSG)

from nanotron import distributed as dist
from nanotron.config import Config, get_config_from_file
from nanotron.config import Config, LightEvalConfig, get_config_from_file
from nanotron.logging import get_logger
from nanotron.parallel.context import ParallelContext
from nanotron.utils import local_ranks_zero_first
Expand Down

0 comments on commit ad89f02

Please sign in to comment.