↓ 2 callersFunctionrope_apply x: [B, L, N, C]. grid_sizes: [B, 3]. freqs: [M, C // 2].
lact_ar_video/minVid/models/wan/wan_base/distributed/xdit_context_parallel.py:26
↓ 2 callersFunctionsilu_backprop Args: dy: [b, d, l], gradient of the outer loss wrt the y x: [b, d, l], input of the silu activation outs: dx: [b, d,
lact_llm/lact_model/ttt_operation.py:6
↓ 2 callersFunctionswiglu_backward_three_bmm_triton Outs: Hidden: [B, M, N] in other words [B, Hidden, num_tokens] DY0_DY2: [B, 2M, N] in other words [B, 2 * Hidden, num_tokens]
lact_llm/lact_model/lact_triton_kernels/triton_swiglu_bwd_kernels.py:187
↓ 2 callersFunctionswiglu_backward_three_bmm_with_lr_triton Args: W0: [B, M, K] - [B, Hidden, D] W1: [B, K, M] - [B, D, Hidden] W2: [B, M, K] - [B, Hidden, D] X: [B, N, K] -
lact_llm/lact_model/lact_triton_kernels/triton_swiglu_bwd_with_lr.py:197
↓ 2 callersFunctiontwo_mm(W0, X0, W1, X1, A_transpose=True, B_transpose=True)
lact_llm/lact_model/lact_triton_kernels/triton_fused_matmul_kernels.py:7
↓ 1 callersMethod_prepare_ar_input Prepare the input for the AR video generation. input: noisy_input: [b * num_repeat, num_ar_chunks, ar_window_size, c, h,
lact_ar_video/minVid/models/video_latent_flow_matching_ar.py:176
↓ 1 callersMethod_prepare_ar_input Prepare the input for the AR video generation. input: noisy_input: [b * num_repeat, num_ar_chunks, ar_window_size, c, h,
lact_ar_video/minVid/models/video_latent_flow_matching_ar_validation.py:188
↓ 1 callersMethod_rescale_qk Args: q: [b, s, d] k: [b, s, d] Returns: q: [b, s, d] k: [b, s, d]
lact_llm/lact_model/layer_lact_swiglu.py:259
↓ 1 callersFunctionar_fast_weight_swish_glu_weight_norm_mini_batch Note: Forward: w1 @ (silu(w0 @ x) * (w2 @ x)) w0, w2: [b, dh, d] w1: [b, d, dh] x: [b, l, d] Fast linear layer
lact_ar_video/minVid/models/blocks/ar_lact_swa_repeat.py:23
↓ 1 callersFunctionar_fast_weight_swish_glu_weight_norm_mini_batch_inference Note: Forward: w1 @ (silu(w0 @ x) * (w2 @ x)) w0, w2: [b, dh, d] w1: [b, d, dh] x: [b, l, d] Fast linear layer
lact_ar_video/minVid/models/blocks/ar_lact_swa_repeat.py:172
↓ 1 callersFunctionar_fast_weight_swish_glu_weight_norm_mini_batch_inference_with_momentum Note: Forward: w1 @ (silu(w0 @ x) * (w2 @ x)) w0, w2: [b, dh, d] w1: [b, d, dh] x: [b, l, d] Fast linear layer
lact_ar_video/minVid/models/blocks/ar_lact_swa_repeat_sp.py:197
↓ 1 callersFunctionar_fast_weight_swish_glu_weight_norm_mini_batch_with_momentum Note: Forward: w1 @ (silu(w0 @ x) * (w2 @ x)) w0, w2: [b, dh, d] w1: [b, d, dh] x: [b, l, d] Fast linear layer
lact_ar_video/minVid/models/blocks/ar_lact_swa_repeat_sp.py:28
↓ 1 callersFunctionbatched_sliding_window_attention q: [b, l, h, d] k: [b, l, h, d] v: [b, l, h, d] l = update_every - mini_batch_size + update_every * (num_chunks - 1)
lact_ar_video/minVid/models/blocks/ar_lact_swa_repeat_sp.py:343
↓ 1 callersFunctionbatched_sliding_window_attention q: [b, l, h, d] k: [b, l, h, d] v: [b, l, h, d] l = update_every - mini_batch_size + update_every * (num_chunks - 1)
lact_ar_video/minVid/models/blocks/ar_lact_swa_repeat.py:300
↓ 1 callersFunctionbatched_sliding_window_attention_with_repeated_chunks q: [b, l, h, d] k: [b, l, h, d] v: [b, l, h, d] l = update_every - mini_batch_size + update_every * (num_chunks - 1) num_repeat
lact_ar_video/minVid/models/blocks/ar_lact_swa_repeat_sp.py:417
↓ 1 callersFunctionbatched_sliding_window_attention_with_repeated_chunks q: [b, l, h, d] k: [b, l, h, d] v: [b, l, h, d] l = update_every - mini_batch_size + update_every * (num_chunks - 1) num_repeat
lact_ar_video/minVid/models/blocks/ar_lact_swa_repeat.py:372
↓ 1 callersFunctioncheck_correctness(B=2, M=256, N=192, K=320, dtype=torch.bfloat16, device="cuda")
lact_llm/lact_model/lact_triton_kernels/triton_swiglu_bwd_kernels.py:387
↓ 1 callersMethodencode TODO: rgb or bgr? in [0,1] or [-1,1]? videos: A list of videos each with shape [C, T, H, W].
lact_ar_video/minVid/models/wan/wan_base/modules/vae.py:647
↓ 1 callersFunctionfast_weight_swish_glu_weight_norm_mini_batch_apply Note: Forward: (silu(x @ w0) * (x @ w2)) @ w1 w0, w2: [b, d, dh] w1: [b, dh, d] q: [b, l, d] k: [b, l, d] v: [b,
lact_nvs/lact_ttt.py:71
↓ 1 callersFunctionfused_four_mm_same_out_interface(
W0, X0, W1, X1, W2, X2, W3, X3, A_transpose=True, B_transpose=False
)
lact_llm/lact_model/lact_triton_kernels/triton_fused_matmul_kernels.py:628