↓ 2 callersFunction_to_core_aten(
model: Union[torch.fx.GraphModule, torch.nn.Module],
example_inputs: Tuple[Value, ...],
*,
e
extension/export_util/utils.py:26
↓ 2 callersFunction_tq4_sdpa_fwd_kernel_body(
Q_ptr,
KP_ptr,
KN_ptr,
VP_ptr,
VN_ptr,
LUT_hi_ptr,
LUT_lo_ptr,
Mask_ptr,
backends/cuda/triton/kernels/tq4_sdpa.py:70
↓ 2 callersFunction_validate_params(
query,
key,
value,
key_cache,
value_cache,
start_pos,
seq_len,
attn_mask,
extension/llm/custom_ops/custom_ops.py:55
↓ 2 callersFunction_validate_qkv_shapes Validate dimensions and return shape info. Args: query: Query tensor [B, H_q, L_q, D] key: Key tensor [B, H_kv, L_kv, D]
backends/cuda/triton/kernels/sdpa.py:100