Methodapply(
self,
q,
k,
v,
cu_seqlens_q=None,
cu_seqlens_kv=None,
lightx2v/common/ops/attn/flash_attn.py:94
Methodapply(
self,
q,
k,
v,
cu_seqlens_q=None,
cu_seqlens_kv=None,
lightx2v/common/ops/attn/flash_attn.py:148
Methodapply(
self,
q,
k,
v,
cu_seqlens_q=None,
cu_seqlens_kv=None,
lightx2v/common/ops/attn/flash_attn.py:184
Methodapply(
self,
q,
k,
v,
cu_seqlens_q=None,
cu_seqlens_kv=None,
lightx2v/common/ops/attn/sage_attn.py:78
Methodapply(
self,
q,
k,
v,
cu_seqlens_q=None,
cu_seqlens_kv=None,
lightx2v/common/ops/attn/sage_attn.py:107
Methodapply(
self,
q,
k,
v,
cu_seqlens_q=None,
cu_seqlens_kv=None,
lightx2v/common/ops/attn/sage_attn.py:144
Methodapply(
self,
q,
k,
v,
cu_seqlens_q=None,
cu_seqlens_kv=None,
lightx2v/common/ops/attn/sage_attn.py:194
Methodapply(
self,
q,
k,
v,
cu_seqlens_q=None,
cu_seqlens_kv=None,
lightx2v/common/ops/attn/sage_attn.py:274
Methodapply(
self,
q,
k,
v,
cu_seqlens_q=None,
cu_seqlens_kv=None,
lightx2v/common/ops/attn/general_sparse_attn.py:32
Methodapply q: [seqlen, head_num, head_dim] k: [seqlen, head_num, head_dim] v: [seqlen, head_num, head_dim]
lightx2v/common/ops/attn/radial_attn.py:159
Methodapply q: [seqlen, head_num, head_dim] k: [seqlen, head_num, head_dim] v: [seqlen, head_num, head_dim]
lightx2v/common/ops/attn/nbhd_attn.py:106
Methodapply q: [seqlen, head_num, head_dim] k: [seqlen, head_num, head_dim] v: [seqlen, head_num, head_dim]
lightx2v/common/ops/attn/nbhd_attn.py:184
Methodapply(self, q, k, v, cu_seqlens_q=None, cu_seqlens_kv=None, max_seqlen_q=None, max_seqlen_kv=None, **kwargs)
lightx2v/common/ops/attn/sparge_attn.py:23
Methodapply(
self,
q,
k,
v,
drop_rate=0,
attn_mask=None,
causal=F
lightx2v/common/ops/attn/torch_sdpa.py:16
Methodapply(
self,
q,
k,
v,
cu_seqlens_q=None,
cu_seqlens_kv=None,
lightx2v/models/networks/wan/weights/dreamzero/transformer_weights.py:15
Methodapply(
self,
q,
k,
v,
cu_seqlens_q=None,
cu_seqlens_kv=None,
lightx2v/models/networks/wan/weights/dreamzero/transformer_weights.py:77
Methodapply_fa4(
self,
q,
k,
v,
cu_seqlens_q=None,
cu_seqlens_kv=None,
lightx2v/common/ops/attn/sla_attn.py:172
Methodapply_magi(
self,
q,
k,
v,
cu_seqlens_q=None,
cu_seqlens_kv=None,
lightx2v/common/ops/attn/sla_attn.py:211
Methodapply_sage2(
self,
q,
k,
v,
cu_seqlens_q=None,
cu_seqlens_kv=None,
lightx2v/common/ops/attn/sla_attn.py:127
Methodapply_sage3(
self,
q,
k,
v,
cu_seqlens_q=None,
cu_seqlens_kv=None,
lightx2v/common/ops/attn/sla_attn.py:150
Methodapply_triton(
self,
q,
k,
v,
cu_seqlens_q=None,
cu_seqlens_kv=None,
lightx2v/common/ops/attn/sla_attn.py:81
Methodapply_triton_ar(
self,
q,
k,
v,
cu_seqlens_q=None,
cu_seqlens_kv=None,
lightx2v/common/ops/attn/sla_attn.py:104