Skip to content

Commit

Permalink
precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
v-chen_data committed Sep 16, 2024
1 parent db724a0 commit a42d22e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions llmfoundry/command_utils/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from composer.core import Callback
from composer.loggers.logger_destination import LoggerDestination
from composer.trainer import Trainer
from composer.utils import dist, get_device, reproducibility, parallelism
from composer.utils import dist, get_device, parallelism, reproducibility
from omegaconf import DictConfig
from omegaconf import OmegaConf as om

Expand Down Expand Up @@ -70,7 +70,9 @@ def evaluate_model(
):
throw_deprecation_warning = False
if parallelism_config:
deprecated_fsdp_args = list(parallelism.FSDPConfig.__annotations__.keys())
deprecated_fsdp_args = list(
parallelism.FSDPConfig.__annotations__.keys()
)
for deprecated_arg in deprecated_fsdp_args:
if deprecated_arg in parallelism_config:
throw_deprecation_warning = True
Expand Down

0 comments on commit a42d22e

Please sign in to comment.