Fix other call locations.

This commit is contained in:
Nicolas Patry 2025-01-30 16:26:44 +01:00
parent c174142fe5
commit d5b2c25d8f
No known key found for this signature in database
GPG Key ID: D2920555C90F704C

View File

@ -69,7 +69,11 @@ class GPTQMarlinSparseMoELayer(nn.Module):
gate_proj_name: str = "gate_proj", gate_proj_name: str = "gate_proj",
up_proj_name: str = "up_proj", up_proj_name: str = "up_proj",
down_proj_name: str = "down_proj", down_proj_name: str = "down_proj",
scoring_func: Optional[str] = None,
e_score_correction_bias: Optional[float] = None,
): ):
assert scoring_func is None, "scoring func is not handled"
assert e_score_correction_bias is None, "scoring correction bias is not handled"
super().__init__() super().__init__()
if not ( if not (