↓ 15 callersFunctionflash_attention q: [B, Lq, Nq, C1]. k: [B, Lk, Nk, C1]. v: [B, Lk, Nk, C2]. Nq must be divisible by Nk. q_lens
wan/modules/attention.py:23
↓ 7 callersMethod__init__(self,
dim=128,
z_dim=4,
dim_mult=[1, 2, 4, 4],
wan/modules/vae2_1.py:484
↓ 5 callersFunctionpadding_resize(img_ori, height=512, width=512, padding_color=(0, 0, 0), interpolation=cv2.INTER_LINEAR)
wan/modules/animate/preprocess/utils.py:158
↓ 3 callersFunctiondraw_aapose_by_meta_new(img, meta: AAPoseMeta, threshold=0.5, stickwidth_type='v2', draw_hand=True, draw_head=True)
wan/modules/animate/preprocess/human_visualization.py:218