↓ 2 callersMethodapply(
self,
q,
k,
v,
cu_seqlens_q=None,
cu_seqlens_kv=None,
lightx2v/common/ops/attn/svg_attn.py:361
↓ 2 callersMethodapply(
self,
q,
k,
v,
cu_seqlens_q=None,
cu_seqlens_kv=None,
lightx2v/common/ops/attn/sla_attn.py:68
↓ 2 callersFunctionapply_rotary Arguments: x: (batch, seqlen, nheads, headdim) if cu_seqlens is None else (total_seqlen, nheads, headdim). cos: (seql
lightx2v_platform/ops/rope/iluvatar_cuda/wan_rope.py:134
↓ 2 callersFunctionapply_time_embedding(timestep, seq_len, freq_dim, hidden_dim, embedding_0, embedding_2, projection_1)
lightx2v/models/networks/wan/weights/motus/_shared.py:99
↓ 2 callersMethodbuild_grid_id(f, h, w, t, f_w=1, f_shift=0, action=False)
lightx2v/models/networks/wan/lingbot_va_model.py:21
↓ 2 callersFunctionbuild_t2i_text_sample(prompt, height, width, tokenizer, processor, model_config)
lightx2v/models/networks/hidream_o1_image/utils.py:412
↓ 2 callersFunctionbuild_wobble_traj(nums, delta, anchor_idx=0, yaw_rad=0.0, pivot=None, forward_ratio=0.0)
lightx2v/models/networks/worldmirror/utils/render_utils.py:203
↓ 2 callersMethodcalculate_should_calc(self, weights, grid_sizes, embed, x, embed0, seq_lens, freqs, context)
lightx2v/models/networks/wan/infer/feature_caching/transformer_infer.py:563