Method_project(
self,
v0: torch.Tensor, # [B, C, H, W] # The delta: model_pred - model_pred_uncond
boogu/pipelines/boogu/pipeline_boogu.py:3053
Methodforward(
ctx,
x,
weight,
bias,
residual=None,
x1=None,
weight
boogu/ops/triton/layer_norm.py:788
Methodforward(
ctx,
x,
norm_weight,
norm_bias,
linear_weight,
linear_bias,
boogu/ops/triton/layer_norm.py:1209
Methodget_freqs_cis(
axes_dim: Tuple[int, int, int], axes_lens: Tuple[int, int, int], theta: int
)
boogu/models/transformers/rope.py:238
Functionlayer_norm_fn(
x,
weight,
bias,
residual=None,
x1=None,
weight1=None,
bias1=None,
eps=1e-6,
boogu/ops/triton/layer_norm.py:1084
Functionlayer_norm_linear_fn(
x,
norm_weight,
norm_bias,
linear_weight,
linear_bias,
residual=None,
eps=1e-6,
boogu/ops/triton/layer_norm.py:1319
Functionlayer_norm_ref(
x,
weight,
bias,
residual=None,
x1=None,
weight1=None,
bias1=None,
eps=1e-6,
boogu/ops/triton/layer_norm.py:54
Functionrms_norm_ref(
x,
weight,
bias,
residual=None,
x1=None,
weight1=None,
bias1=None,
eps=1e-6,
boogu/ops/triton/layer_norm.py:114