[CPU][Spec Decode] Optimize GDN conv path for speculative decoding (#48577)
Signed-off-by: Li, Tianmu <tianmu.li@intel.com> Co-authored-by: Codex <codex@openai.com> Co-authored-by: Li, Jiang <jiang1.li@intel.com>
This commit is contained in:
co-authored by
Codex
Li, Jiang <jiang1.li@intel.com>
parent
c314af1abf
commit
544cb724c8
+2
-1
@@ -3505,6 +3505,7 @@ def causal_conv1d_update_cpu(
|
||||
silu_activation: bool,
|
||||
conv_state_indices: torch.Tensor | None,
|
||||
is_vnni: bool,
|
||||
num_accepted_tokens: torch.Tensor | None = None,
|
||||
) -> torch.Tensor:
|
||||
return torch.ops._C.causal_conv1d_update_cpu(
|
||||
x,
|
||||
@@ -3512,7 +3513,7 @@ def causal_conv1d_update_cpu(
|
||||
weight,
|
||||
bias,
|
||||
silu_activation,
|
||||
None,
|
||||
num_accepted_tokens,
|
||||
conv_state_indices,
|
||||
-1,
|
||||
is_vnni,
|
||||
|
||||
Reference in New Issue
Block a user