[AMD] avoid correction_bias_dtype dtype convert (#20692)
This commit is contained in:
@@ -281,6 +281,7 @@ class MoEGate(nn.Module):
|
|||||||
elif _use_aiter and quant_config.get_name() in (
|
elif _use_aiter and quant_config.get_name() in (
|
||||||
"fp8",
|
"fp8",
|
||||||
"compressed_tensors",
|
"compressed_tensors",
|
||||||
|
"quark",
|
||||||
):
|
):
|
||||||
correction_bias_dtype = torch.bfloat16
|
correction_bias_dtype = torch.bfloat16
|
||||||
self.e_score_correction_bias = nn.Parameter(
|
self.e_score_correction_bias = nn.Parameter(
|
||||||
|
|||||||
Reference in New Issue
Block a user