Functionfused_four_mm_wT_x_kernel(
W0,
W1,
W2,
W3,
X0,
X1,
X2,
X3,
O,
B,
M,
N,
K,
# W0
lact_llm/lact_model/lact_triton_kernels/triton_fused_matmul_kernels.py:296
Functionfused_prenorm_update_with_momentum_and_l2_norm x_main: [B, n, D2], fp32 or bf16, recommended to be fp32 dx: [B, n, D2], bf16 dx_momentum: [B, n, D2], same dtype as x_main momentum_
lact_llm/lact_model/lact_triton_kernels/triton_prenorm_update_with_momentum.py:379
Functionfused_two_mm_wT_xT_kernel(
W0,
W1,
X0T,
X1T,
O,
B,
M,
N,
K,
# W0 strides: [B, K, M]
stride_
lact_llm/lact_model/lact_triton_kernels/triton_fused_matmul_kernels.py:48
Functionfused_two_mm_wT_x_kernel(
W0,
W1,
X0,
X1,
O,
B,
M,
N,
K,
# W0 strides: [B, K, M]
stride_w0
lact_llm/lact_model/lact_triton_kernels/triton_fused_matmul_kernels.py:176
Functionget_autotune_configs(
block_M_list=(64, 128),
block_N_list=(64, 128, 256),
block_K_list=(32, 64),
num_stages_list=
lact_llm/lact_model/lact_triton_kernels/triton_swiglu_bwd_kernels.py:10
Functionget_autotune_configs(
block_M_list=(64, 128),
block_N_list=(64, 128, 256),
block_K_list=(32, 64),
num_stages_list=
lact_llm/lact_model/lact_triton_kernels/triton_fused_matmul_kernels.py:19
Functionget_autotune_configs(
block_M_list=(64, 128),
block_N_list=(64, 128, 256),
block_K_list=(32, 64),
num_stages_list=
lact_llm/lact_model/lact_triton_kernels/triton_swiglu_kernels.py:9
Functionget_autotune_configs(
block_M_list=(64, 128),
block_N_list=(64, 128, 256),
block_K_list=(32, 64),
num_stages_list=
lact_llm/lact_model/lact_triton_kernels/triton_swiglu_bwd_with_lr.py:9
Functionl2norm_add_bwd_kernel_2d(
y,
rstd,
tgt_scale,
# output
dy,
dx,
dx_add,
dtgt_scale,
eps,
x_dtyp
lact_llm/lact_model/lact_triton_kernels/l2norm_triton_kernels.py:106
Functionl2norm_add_fwd_kernel1(
x,
x_add,
y,
tgt_scale,
rstd,
eps,
tgt_dtype: tl.constexpr, # 0 for bf16, 1 for
lact_llm/lact_model/lact_triton_kernels/l2norm_triton_kernels.py:182
Functionl2norm_add_fwd_kernel_2d(
x, # [B, T, D]
x_add,
y,
tgt_scale,
rstd,
eps,
tgt_dtype: tl.constexpr,
B:
lact_llm/lact_model/lact_triton_kernels/l2norm_triton_kernels.py:31
Functionl2norm_bwd_kernel1(
y,
rstd,
tgt_scale,
dy,
# output
dx,
dx_add,
dtgt_scale,
eps,
x_dtyp
lact_llm/lact_model/lact_triton_kernels/l2norm_triton_kernels.py:226
Functionprenorm_update_with_momentum_and_l2_norm_backward_kernel(
y_normalized_ptr, # [B, n, D2], fp32
dx_momentum_ptr, # [B, n, D2], fp32
momentum_mu_ptr, # [
lact_llm/lact_model/lact_triton_kernels/triton_prenorm_update_with_momentum.py:181
Functionprenorm_update_with_momentum_and_l2_norm_kernel(
x_main_ptr, # [B, n, D2], fp32
dx_ptr, # [B, n, D2], bf16
dx_momentum_ptr, # [B, n, D2], fp32
lact_llm/lact_model/lact_triton_kernels/triton_prenorm_update_with_momentum.py:48
Functionreference_lact_swiglu_ffn_fast_weight_grads Args: W0, W2: [B, M, K] or [B, Hidden, D] W1: [B, K, M] or [B, D, Hidden] X: [M, N, K] or [B, num_Tokens, D]
lact_llm/lact_model/lact_triton_kernels/lact_fw_grad.py:269
Functionreference_swiglu_ffn_fwd Args: W0, W2: [B, M, K] or [B, Hidden, D] W1: [B, K, M] or [B, D, Hidden] X: [M, N, K] or [B, num_Tokens, D]
lact_llm/lact_model/lact_triton_kernels/lact_swiglu_ffn.py:105
Functionstr2bool Convert a string to a boolean. Supported true values: 'yes', 'true', 't', 'y', '1' Supported false values: 'no', 'false', 'f', 'n', '0'
lact_ar_video/minVid/models/wan/wan_base/utils/utils.py:94