[CPU] Skip Triton kernel monkey-patches when Triton-CPU is available (#44991)
Signed-off-by: jmamou <jonathan.mamou@intel.com> Co-authored-by: Li, Jiang <jiang1.li@intel.com>
This commit is contained in:
co-authored by
Li, Jiang <jiang1.li@intel.com>
parent
7299e6509e
commit
351c72d6e5
@@ -156,7 +156,6 @@ def eagle_prepare_inputs_padded_kernel(
|
||||
# cumulative sum (first entry is the first value, not zero).
|
||||
cu_draft_curr = tl.load(cu_num_draft_tokens_ptr + req_idx)
|
||||
|
||||
num_draft_tokens = 0
|
||||
if req_idx == 0:
|
||||
num_draft_tokens = cu_draft_curr
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user