↓ 1 callersFunctioncreate_save_root(args, dataset, epoch_name, step_name, sample_steps, guidance_type)
tools/controlnet/inference_controlnet.py:78
↓ 1 callersFunctioncreate_save_root(args, dataset, epoch_name, step_name, sample_steps, num_frames)
inference_video_scripts/inference_sana_video.py:582
↓ 1 callersFunctiondepthwise_conv_fwd Input: x: (B, H, W, C) weight: (C, K, K) bias: (C,) Output: y: (B, H, W, C)
diffusion/model/nets/fastlinear/modules/triton_mb_conv_pre_glu_kernels/depthwise_conv_fwd.py:134
↓ 1 callersFunctionencode_flux_prompt(
pipeline,
prompt,
max_sequence_length,
device=None,
num_images_per_prompt=1,
prompt_
diffusion/post_training/diffusers_patch/text_encode.py:144
↓ 1 callersFunctionencode_sana_prompt(
pipeline,
prompt,
max_sequence_length,
device=None,
negative_prompt="",
do_classifie
diffusion/post_training/diffusers_patch/text_encode.py:175
↓ 1 callersFunctionencode_sd3_prompt(
text_encoders,
tokenizers,
prompt,
max_sequence_length,
device=None,
num_images_per_
diffusion/post_training/diffusers_patch/text_encode.py:96
↓ 1 callersFunctioneval_fn(
pipeline,
test_dataloader,
text_encoders,
tokenizers,
config,
device,
rank,
train_scripts/sol_rl/train_flux1.py:115
↓ 1 callersFunctioneval_fn(
pipeline,
eval_transformer,
vae,
num_channels,
latent_size,
test_dataloader,
con
train_scripts/sol_rl/train_sana.py:326
↓ 1 callersFunctioneval_fn(
pipeline,
test_dataloader,
text_encoders,
tokenizers,
config,
device,
rank,
train_scripts/sol_rl/train_sd3.py:117
↓ 1 callersMethodforward(
self, x: torch.Tensor, mask=None, HW=None, rotary_emb=None, block_id=None, block_mask=None
)
diffusion/model/nets/sana_blocks.py:265
↓ 1 callersMethodforward Forward pass of Sana. x: (N, C, T, H, W) tensor of spatial inputs (images or latent representations of images) t: (N,) tensor
diffusion/model/nets/sana_multi_scale_video_camctrl.py:924
↓ 1 callersMethodforward(
self,
x: torch.Tensor,
mask: torch.Tensor | None = None,
HW: tuple[int, int,
diffusion/model/nets/sana_gdn_blocks_triton.py:96
↓ 1 callersMethodforward(
self,
x: torch.Tensor,
mask: torch.Tensor | None = None,
HW: tuple[int, int,
diffusion/model/nets/sana_gdn_blocks.py:1225
↓ 1 callersMethodforward_frame_aware(
self, x, y, t, mask=None, THW=None, rotary_emb=None, block_mask=None, chunk_index=None, **kwargs
diffusion/model/nets/sana_multi_scale_video_camctrl.py:303
↓ 1 callersMethodforward_frame_aware(self, x, y, t, mask=None, THW=None, rotary_emb=None, chunk_index=None, **kwargs)
diffusion/model/nets/sana_multi_scale_video.py:204
↓ 1 callersFunctionget_activations(files, model, batch_size=50, dims=2048, device="cpu", num_workers=1)
tools/metrics/pytorch-fid/compute_fid.py:48