chore: lint

This commit is contained in:
Wing Lian
2024-10-17 08:17:11 -04:00
committed by NanoCode012
parent c2a48c3a1e
commit 1ed351781a

View File

@@ -41,7 +41,9 @@ class LigerArgs(BaseModel):
def check_deprecated_swiglu(cls, data):
if data.get("liger_swiglu") is not None:
if data.get("liger_glu_activation") is not None:
raise ValueError("You cannot have both `liger_swiglu` and `liger_glu_activation` set.")
raise ValueError(
"You cannot have both `liger_swiglu` and `liger_glu_activation` set."
)
LOG.warning(
"The 'liger_swiglu' argument is deprecated and will be removed in a future release. "