From 75e37be55ccfa531e305aaed5bc0bba410dfc68a Mon Sep 17 00:00:00 2001 From: NanoCode012 Date: Wed, 6 Nov 2024 15:02:39 +0700 Subject: [PATCH] fix: remove unneeded param --- .../utils/config/models/input/v0_4_1/__init__.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/axolotl/utils/config/models/input/v0_4_1/__init__.py b/src/axolotl/utils/config/models/input/v0_4_1/__init__.py index 49ebe27c84..96e5330005 100644 --- a/src/axolotl/utils/config/models/input/v0_4_1/__init__.py +++ b/src/axolotl/utils/config/models/input/v0_4_1/__init__.py @@ -67,8 +67,6 @@ class DeprecatedParameters(BaseModel): noisy_embedding_alpha: Optional[float] = None dpo_beta: Optional[float] = None - alternate_optimizer: Optional[str] = None - @field_validator("max_packed_sequence_len") @classmethod def validate_max_packed_sequence_len(cls, max_packed_sequence_len): @@ -99,14 +97,6 @@ def validate_dpo_beta(cls, dpo_beta): LOG.warning("dpo_beta is deprecated, use rl_beta instead") return dpo_beta - @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"""