↓ 2 callersFunctioncalculate_activation_statistics(files, model, batch_size=50, dims=2048, device="cpu", num_workers=1)
tools/metrics/pytorch-fid/compute_fid.py:123
↓ 2 callersFunctioncam_prep_funcFused RMSNorm + ReLU + (K-scale on K) + UCPE 4x4 + RoPE for the cam branch. Args: q_raw, k_raw, v_raw: ``(B, N, H, D)`` contiguous (any f
diffusion/model/ops/fused_cam_gdn.py:355
↓ 2 callersFunctioncreate_gridCreate a pixel coordinate grid of shape ``(H, W, 3)`` or ``(B, H, W, 3)``.
diffusion/model/nets/sana_camctrl_blocks.py:73
↓ 2 callersFunctioncreate_save_root(args, dataset, epoch_name, step_name, sample_steps, guidance_type)
scripts/inference_image_reward.py:345
↓ 2 callersFunctioncreate_save_root(args, dataset, epoch_name, step_name, sample_steps, guidance_type)
scripts/inference_sana_sprint.py:337
↓ 2 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.py:590
↓ 2 callersMethodforward_long 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.py:673
↓ 2 callersFunctionfused_qk_inv_rmsSingle-pass Triton fused Q+K inverse-RMS. Replaces ``(_precompute_inv_rms(qkv, 0, C, eps), _precompute_inv_rms(qkv, 1, C, eps))`` with one la
diffusion/model/ops/fused_gdn.py:195
↓ 2 callersMethodget_coefficients_fn(self, order, interval_start, interval_end, lambda_list, tau)
diffusion/scheduler/sa_solver_diffusers.py:585
↓ 2 callersMethodinference Generate a full video. Args: noise: Gaussian noise latent of shape [B, T, C, H, W] or [B, C, T, H, W]. text_
diffusion/longsana/pipeline/sana_inference_pipeline.py:138