mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 12:24:53 +00:00
Scoring func softmax
is the only one that works.
This commit is contained in:
parent
d5b2c25d8f
commit
2c90b0575b
@ -72,7 +72,7 @@ class GPTQMarlinSparseMoELayer(nn.Module):
|
||||
scoring_func: Optional[str] = None,
|
||||
e_score_correction_bias: Optional[float] = None,
|
||||
):
|
||||
assert scoring_func is None, "scoring func is not handled"
|
||||
assert scoring_func == "softmax", f"scoring func {scoring_func} is not handled"
|
||||
assert e_score_correction_bias is None, "scoring correction bias is not handled"
|
||||
super().__init__()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user