Skip to content

Commit

Permalink
fix: remove alternate_optimizer
Browse files Browse the repository at this point in the history
  • Loading branch information
NanoCode012 committed Dec 9, 2024
1 parent 119514b commit c24ca9b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/axolotl/utils/config/models/input/v0_4_1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,6 @@ def validate_evaluation_strategy(cls, evaluation_strategy):
LOG.warning("evaluation_strategy is deprecated, use eval_strategy instead")
return evaluation_strategy

@field_validator("alternate_optimizer")
@classmethod
def validate_alternate_optimizer(cls, alternate_optimizer):
if alternate_optimizer:
raise DeprecationWarning(
"alternate_optimizer is deprecated, use optimizer instead"
)


class RemappedParameters(BaseModel):
"""parameters that have been remapped to other names"""
Expand Down

0 comments on commit c24ca9b

Please sign in to comment.