↓ 6 callersMethodinfer_self_attn(self, weights, grid_sizes, embed, x, embed0, seq_lens, freqs, context, block_idx, kv_start, kv_end)
lightx2v/models/networks/wan/infer/causvid/transformer_infer.py:98
↓ 6 callersFunctionpadding_resize(img_ori, height=512, width=512, padding_color=(0, 0, 0), interpolation=cv2.INTER_LINEAR)
tools/preprocess/utils.py:126
↓ 6 callersMethodpreprocess(self, audio_preprocessor, audio_encoder, audio_array: torch.Tensor, device, dtype: torch.dtype)
lightx2v/models/input_encoders/hf/seko_audio/audio_adapter.py:304
↓ 5 callersMethod__init__(self, block_index, block_prefix, task, mm_type, config, create_cuda_buffer, create_cpu_buffer, lazy_load, laz
lightx2v/models/networks/qwen_image/weights/transformer_weights.py:504
↓ 5 callersMethod__init__(
self,
block_index,
block_prefix,
ffn_prefix,
task,
mm_type,
lightx2v/models/networks/ltx2/weights/transformer_weights.py:439
↓ 5 callersMethod_infer_velocity(self, sample, z_in, t_pixeldit, latents, sigma, infer_condition=True)
lightx2v/models/networks/hidream_o1_image/model.py:93
↓ 5 callersFunctionall2all_seq2head 将输入张量从 [seq_len/N, heads, hidden_dims] 转换为 [seq_len, heads/N, hidden_dims] 的格式。 参数: input (torch.Tensor): 输入张量,形状为 [seq_len/N, heads
lightx2v/common/ops/attn/utils/all2all.py:55
↓ 5 callersMethodcomfy_resize_frames(self, frames, height, width, interpolation=cv2.INTER_LANCZOS4, crop=None)
lightx2v/models/runners/wan/wan_animate_runner.py:143