Skip to content

Commit

Permalink
remove circular dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
aspfohl committed Nov 28, 2023
1 parent 1a0a3da commit 972ed96
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions llmfoundry/utils/builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
from torch.optim.optimizer import Optimizer
from transformers import AutoTokenizer, PreTrainedTokenizerBase

from llmfoundry import ComposerHFCausalLM
from llmfoundry.callbacks import (EvalGauntlet, FDiffMetrics, GlobalLRScaling,
HuggingFaceCheckpointer, LayerFreezing,
MonolithicCheckpointSaver,
Expand All @@ -43,7 +42,7 @@

def build_eval_loader(
eval_loader_config: Union[DictConfig, ListConfig],
model: Union[Any, ComposerHFCausalLM],
model: Any,
tokenizer: PreTrainedTokenizerBase,
device_eval_batch_size: int,
) -> List[Evaluator]:
Expand Down

0 comments on commit 972ed96

Please sign in to comment.