↓ 1 callersFunctionl2_norm_add_fwd(
x: torch.Tensor, # [B, D1, D2]
x_add: torch.Tensor, # [B, D1, D2]
tgt_scale: torch.Tensor, #
lact_llm/lact_model/lact_triton_kernels/l2norm_triton_kernels.py:273
↓ 1 callersFunctionl2_norm_bwd(
dy: torch.Tensor, # [B, D1, D2]
y: torch.Tensor, # [B, D1, D2]
tgt_scale: torch.Tensor, # [B,
lact_llm/lact_model/lact_triton_kernels/l2norm_triton_kernels.py:321
↓ 1 callersFunctionmake_inputs(B, M, K, N, dtype=torch.bfloat16, device="cuda")
lact_llm/lact_model/lact_triton_kernels/triton_swiglu_bwd_kernels.py:378
↓ 1 callersFunctionmake_inputs W0, W1: [B, K, M] X0, X1: [B, K, N] W2: [B, M, N] X2: [B, K, M]
lact_llm/lact_model/lact_triton_kernels/triton_swiglu_bwd_with_lr.py:317
↓ 1 callersMethodpad_video_frames x of shape [B, C, F, H, W] pad zeros to the begging frames, pad self.patch_size[0] -1 frames with all zeros in the beginning
lact_ar_video/minVid/models/autoencoder/vae.py:47
↓ 1 callersFunctionprenorm_update_with_momentum_and_l2_norm Args: x: [B, n, D2], fp32 dx: [B, n, D2], bf16 dx_momentum: [B, n, D2], fp32 momentum_mu: [B], fp32 tgt_s
lact_llm/lact_model/lact_triton_kernels/triton_prenorm_update_with_momentum.py:122
↓ 1 callersFunctionprenorm_update_with_momentum_and_l2_norm_backward(
y_normalized: torch.Tensor, # [B, n, D2], fp32
dx_momentum: torch.Tensor, # [B, n, D2], fp32
m
lact_llm/lact_model/lact_triton_kernels/triton_prenorm_update_with_momentum.py:280
↓ 1 callersFunctionref_func Shapes: W0: [B, M, K] W1: [B, K, M] W2: [B, M, K] X : [B, N, K] dOut (a.k.a. V): [B, N, K] lr0, lr1, lr2: [B,
lact_llm/lact_model/lact_triton_kernels/triton_swiglu_bwd_with_lr.py:291
↓ 1 callersFunctionreference_l2_norm_add_fused(
x: torch.Tensor, # [B, D1, D2]
x_add: torch.Tensor, # [B, D1, D2]
tgt_scale: torch.Tensor, #
lact_llm/lact_model/lact_triton_kernels/l2norm_triton_kernels.py:430
↓ 1 callersFunctionrescale_qk q: [b, s, n_h, d] k: [b, s, n_h, d]
lact_ar_video/minVid/models/blocks/ar_lact_swa_repeat_sp.py:584
↓ 1 callersFunctionrescale_qk q: [b, s, n_h, d] k: [b, s, n_h, d]
lact_ar_video/minVid/models/blocks/ar_lact_swa_repeat.py:538
↓ 1 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,
minimal_implementations/bidirectional_lact_layer.py:10
↓ 1 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,
minimal_implementations/causal_lact_with_sliding_window_attn.py:20
↓ 1 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_nvs/lact_ttt.py:18
↓ 1 callersFunctionsliding_window_attention_inference q: [b, l, h, d] k: [b, l, h, d] v: [b, l, h, d] kv_cache: [2, b, l, h, d] Three cases: 1. first ar noise chunk, where kv_ca
lact_ar_video/minVid/models/blocks/ar_lact_swa_repeat_sp.py:512
↓ 1 callersFunctionsliding_window_attention_inference q: [b, l, h, d] k: [b, l, h, d] v: [b, l, h, d] kv_cache: [2, b, l, h, d] Three cases: 1. first ar noise chunk, where kv_ca
lact_ar_video/minVid/models/blocks/ar_lact_swa_repeat.py:466
↓ 1 callersFunctionswiglu_backward_three_bmm_ref Reference implementation in PyTorch (for correctness checks). Shapes / layouts (contiguous, unless noted): W0: [B, M, K] W1: [B,
lact_llm/lact_model/lact_triton_kernels/triton_swiglu_bwd_kernels.py:338
Method__init__(
self,
num_heads,
out_features,
in_features,
rank=32,
init_ga
lact_llm/lact_model/layer_lact_swiglu.py:69