[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:
Jonathan Mamou
2026-06-18 18:59:30 +08:00
committed by GitHub
co-authored by Li, Jiang <jiang1.li@intel.com>
parent 7299e6509e
commit 351c72d6e5
3 changed files with 26 additions and 6 deletions
-1
View File
@@ -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: