MCPcopy Create free account

hub / github.com/NVlabs/LongLive / functions

Functions963 in github.com/NVlabs/LongLive

↓ 1 callersFunctionsave_prompts_to_txt
(prompts_for_sample, prompt_txt_path: str, is_main_process: bool)
inference_sp.py:33
↓ 1 callersFunctionsave_prompts_to_txt
Save per-block prompts alongside the video. Consecutive identical prompts are merged, e.g.: [0] a, [1] a, [2] b => [0,1] a\\n[2] b\\n
inference.py:61
↓ 1 callersFunctionsave_prompts_to_txt
Save prompts for one generated video to a txt file. Consecutive identical prompts are merged, e.g.: [0] a, [1] a, [2] b => [0,1] a\
trainer/diffusion.py:25
↓ 1 callersFunctionscale_rule_to_fp4_limits
Return the dequant denominator limits used by FourOverSix ScaleRule.
utils/kernel/kv_dequant.py:28
↓ 1 callersMethodscatter_frame_windows_for_chunk_halo
(self, root_frames)
wan_5b/distributed/sp_training.py:443
↓ 1 callersFunctionselect_fouroversix
( x_scale_blocks: torch.Tensor, x_block_scaled_6: torch.Tensor, scales_6: torch.Tensor, x_bloc
fouroversix/src/fouroversix/quantize/pytorch/reference.py:176
↓ 1 callersFunctionset_data_parallel_group
Set the DP group whose ranks own the same sequence chunk.
wan_5b/distributed/sp_training.py:86
↓ 1 callersFunctionset_random_seeds
(seed: int | None = None)
fouroversix/scripts/ptq/evaluators/utils.py:10
↓ 1 callersFunctionset_sequence_parallel_group
Set the SP group used by SP rank/world-size and all-to-all helpers.
wan_5b/distributed/sp_training.py:76
↓ 1 callersMethodshould_replace_existing_modules_in_model
Determine whether module should be replaced.
fouroversix/src/fouroversix/model/quantize.py:35
↓ 1 callersFunctionsp_scatter
(tensor: torch.Tensor, dim: int = 1)
wan_5b/distributed/sp_ulysses_inference.py:115
↓ 1 callersMethodstart
Start the evaluation coordinator.
fouroversix/scripts/ptq/coordinators/local.py:79
↓ 1 callersFunctionstring_to_array
(string: str)
fouroversix/scripts/hadamard_code_gen.py:73
↓ 1 callersMethodsync_batch
(self, batch, step)
wan_5b/distributed/sp_training.py:486
↓ 1 callersMethodt2v
r""" Generates video frames from text prompt using diffusion process. Args: input_prompt (`str`): Text pr
wan_5b/textimage2video.py:239
↓ 1 callersMethodtime_shift
(self, mu: float, sigma: float, t: torch.Tensor)
wan_5b/utils/fm_solvers.py:334
↓ 1 callersMethodtime_shift
(self, mu: float, sigma: float, t: torch.Tensor)
wan_5b/utils/fm_solvers_unipc.py:278
↓ 1 callersMethodtrain_one_step
(self, batch, accumulation_step=0, accumulation_steps=None)
trainer/diffusion.py:730
↓ 1 callersMethodtraining_target
(self, sample, noise, timestep)
utils/scheduler.py:178
↓ 1 callersMethodtraining_weight
Input: - timestep: the timestep with shape [B*T] Output: the corresponding weighting [B*T]
utils/scheduler.py:182
↓ 1 callersFunctionunload_complete_models
(*args)
utils/memory.py:128
↓ 1 callersFunctionunpack_packed_fp4
( x: torch.Tensor, to_dtype: torch.dtype = torch.float8_e4m3fn, )
fouroversix/src/fouroversix/quantize/quantized_tensor.py:37
↓ 1 callersMethodunpatchify
(self, x, grid_sizes)
wan_5b/modules/causal_model_sp_ulysses.py:581
↓ 1 callersFunctionvideo_to_uint8
Convert a generated video tensor from [T, C, H, W] or [1, T, C, H, W] to uint8 THWC.
utils/inference_utils.py:295
↓ 1 callersFunctionwrite_kernel
(kernel: Kernel, autogen_dir: Path)
fouroversix/scripts/generate_kernels.py:105
FunctionDEFINE_FP4_QUANT_KERNEL
fouroversix/src/fouroversix/csrc/include/fp4_quant_launch_template.h:34
FunctionPYBIND11_MODULE
utils/kernel/kv_dequant.cpp:17
FunctionPyInit__C
fouroversix/src/fouroversix/csrc/bindings.cpp:6
FunctionTORCH_LIBRARY
utils/kernel/kv_dequant.cpp:12
FunctionTORCH_LIBRARY
fouroversix/src/fouroversix/csrc/bindings.cpp:26
Function_
( a: torch.Tensor, b: torch.Tensor, a_sf: torch.Tensor, # noqa: ARG001 b_sf: torch.Tensor, #
fouroversix/src/fouroversix/matmul/cutlass/ops.py:23
Function_
( x: torch.Tensor, is_nvfp4: bool, # noqa: FBT001 is_rtn: bool, # noqa: ARG001, FBT0
fouroversix/src/fouroversix/quantize/cuda/ops.py:27
Method__call__
(self, sequence, **kwargs)
wan_5b/modules/tokenizers.py:49
Method__call__
(self, texts, device)
wan_5b/modules/t5.py:506
Method__call__
(self, prompt, system_prompt=None, tar_lang="zh",
wan_5b/utils/prompt_extend.py:95
Method__call__
Base class for denoising loss. Input: - x: the clean data with shape [B, F, C, H, W] - x_pred: the predicted
utils/loss.py:7
Method__call__
( self, x: torch.Tensor, x_pred: torch.Tensor, noise: torch.Tensor, noise_pred: torch.Tensor,
utils/loss.py:29
Method__call__
( self, x: torch.Tensor, x_pred: torch.Tensor, noise: torch.Tensor, noise_pred: torch.Tensor,
utils/loss.py:44
Method__call__
( self, x: torch.Tensor, x_pred: torch.Tensor, noise: torch.Tensor, noise_pred: torch.Tensor,
utils/loss.py:60
Method__call__
( self, x: torch.Tensor, x_pred: torch.Tensor, noise: torch.Tensor, noise_pred: torch.Tensor,
utils/loss.py:75
Method__call__
(self, *args, **kwargs)
utils/torch_compile_utils.py:69
Method__call__
( self, *, noisy_image_or_video, conditional_dict, timestep, c
tests/test_i2v_teacher_forcing_context.py:31
Method__enter__
(self)
wan_5b/modules/causal_model_sp_ulysses.py:55
Method__exit__
(self, exc_type, exc, tb)
wan_5b/modules/causal_model_sp_ulysses.py:59
Function__getattr__
(name)
wan_5b/__init__.py:6
Method__getitem__
(self, idx)
utils/dataset.py:40
Method__getitem__
(self, idx: int)
utils/dataset.py:97
Method__getitem__
(self, idx)
utils/dataset.py:159
Method__getitem__
(self, idx)
utils/dataset.py:956
Method__init__
r""" Initializes the image-to-video generation model components. Args: config (EasyDict): Object containi
wan_5b/image2video.py:35
Method__init__
r""" Initializes the Wan text-to-video generation model components. Args: config (EasyDict): Object conta
wan_5b/textimage2video.py:36
Method__init__
r""" Initializes the Wan text-to-video generation model components. Args: config (EasyDict): Object conta
wan_5b/text2video.py:33
Method__init__
(self, dim, num_heads, local_attn_size=-1,
wan_5b/modules/causal_model.py:300
Method__init__
(self, dim, ffn_dim, num_heads, local_attn
wan_5b/modules/causal_model.py:796
Method__init__
r""" Initialize the diffusion model backbone. Args: model_type (`str`, *optional*, defaults to 't2v'): Mo
wan_5b/modules/causal_model.py:974
Method__init__
(self, name, seq_len=None, clean=None, **kwargs)
wan_5b/modules/tokenizers.py:39
Method__init__
(self, dim, eps=1e-6)
wan_5b/modules/t5.py:55
Method__init__
(self, dim, dim_attn, num_heads, dropout=0.1)
wan_5b/modules/t5.py:71
Method__init__
(self, dim, dim_ffn, dropout=0.1)
wan_5b/modules/t5.py:125
Method__init__
(self, dim, dim_attn, dim_ffn, num_heads,
wan_5b/modules/t5.py:146
Method__init__
(self, dim, dim_attn, dim_ffn, num_heads,
wan_5b/modules/t5.py:180
Method__init__
(self, num_buckets, num_heads, bidirectional, max_dist=128)
wan_5b/modules/t5.py:223
Method__init__
(self, vocab, dim, dim_attn, dim_ffn,
wan_5b/modules/t5.py:267
Method__init__
(self, vocab, dim, dim_attn, dim_ffn,
wan_5b/modules/t5.py:315
Method__init__
( self, text_len, dtype=torch.bfloat16, device=None, checkpoint_path=N
wan_5b/modules/t5.py:472
Method__init__
(self, dim, num_heads, local_attn_size=-1, sink_size=0, qk_norm=True, eps=1e-6)
wan_5b/modules/causal_model_sp_ulysses.py:85
Method__init__
(self, dim, ffn_dim, num_heads, local_attn_size=-1, sink_size=0, qk_norm=True, cross_attn_nor
wan_5b/modules/causal_model_sp_ulysses.py:327
Method__init__
(self, dim, out_dim, patch_size, eps=1e-6)
wan_5b/modules/causal_model_sp_ulysses.py:400
Method__init__
(self, model_type="ti2v", patch_size=(1, 2, 2), text_len=512, in_dim=48, dim=3072, ffn_dim=14
wan_5b/modules/causal_model_sp_ulysses.py:441
Method__init__
(self, *args, **kwargs)
wan_5b/modules/vae2_2.py:22
Method__init__
(self, dim, channel_first=True, images=True, bias=False)
wan_5b/modules/vae2_2.py:47
Method__init__
(self, dim, mode)
wan_5b/modules/vae2_2.py:73
Method__init__
(self, in_dim, out_dim, dropout=0.0)
wan_5b/modules/vae2_2.py:194
Method__init__
(self, dim)
wan_5b/modules/vae2_2.py:242
Method__init__
( self, in_channels, out_channels, factor_t, factor_s=1, )
wan_5b/modules/vae2_2.py:317
Method__init__
(self, in_dim, out_dim, dropout, mult,
wan_5b/modules/vae2_2.py:416
Method__init__
(self, in_dim, out_dim, dropout, mult,
wan_5b/modules/vae2_2.py:456
Method__init__
( self, dim=128, z_dim=4, dim_mult=[1, 2, 4, 4], num_res_blocks=2,
wan_5b/modules/vae2_2.py:501
Method__init__
( self, dim=128, z_dim=4, dim_mult=[1, 2, 4, 4], num_res_blocks=2,
wan_5b/modules/vae2_2.py:617
Method__init__
( self, dim=160, dec_dim=256, z_dim=16, dim_mult=[1, 2, 4, 4],
wan_5b/modules/vae2_2.py:735
Method__init__
( self, z_dim=48, c_dim=160, vae_pth=None, dim_mult=[1, 2, 4, 4],
wan_5b/modules/vae2_2.py:889
Method__init__
(self, *args, **kwargs)
wan_5b/modules/vae2_1.py:22
Method__init__
(self, dim, channel_first=True, images=True, bias=False)
wan_5b/modules/vae2_1.py:41
Method__init__
(self, dim, mode)
wan_5b/modules/vae2_1.py:68
Method__init__
(self, in_dim, out_dim, dropout=0.0)
wan_5b/modules/vae2_1.py:183
Method__init__
(self, dim)
wan_5b/modules/vae2_1.py:223
Method__init__
(self, dim=128, z_dim=4, dim_mult=[1, 2, 4, 4],
wan_5b/modules/vae2_1.py:262
Method__init__
(self, dim=128, z_dim=4, dim_mult=[1, 2, 4, 4],
wan_5b/modules/vae2_1.py:366
Method__init__
(self, z_dim=16, vae_pth='cache/vae_step_411000.pth', dtype
wan_5b/modules/vae2_1.py:616
Method__init__
(self, dim, eps=1e-5)
wan_5b/modules/model.py:84
Method__init__
(self, dim, eps=1e-6, elementwise_affine=False)
wan_5b/modules/model.py:103
Method__init__
(self, dim, num_heads, window_size=(-1, -1),
wan_5b/modules/model.py:116
Method__init__
(self, dim, ffn_dim, num_heads, window_siz
wan_5b/modules/model.py:211
Method__init__
r""" Initialize the diffusion model backbone. Args: model_type (`str`, *optional*, defaults to 't2v'): Mo
wan_5b/modules/model.py:325
Method__init__
Args: api_key: The API key for Dash Scope authentication and access to related services. model_name: Model name, 'qwe
wan_5b/utils/prompt_extend.py:119
Method__init__
Args: model_name: Use predefined model names such as 'QwenVL2.5_7B' and 'Qwen2.5_14B', which are specific version
wan_5b/utils/prompt_extend.py:271
Method__init__
( self, num_train_timesteps: int = 1000, solver_order: int = 2, prediction_typ
wan_5b/utils/fm_solvers.py:131
Method__init__
( self, num_train_timesteps: int = 1000, solver_order: int = 2,
wan_5b/utils/fm_solvers_unipc.py:79
Method__init__
(self, trainer)
wan_5b/distributed/sp_training.py:243
Method__init__
( self, module: nn.Linear, module_name: str, module_config: Any, infer
utils/quant.py:193
← previousnext →501–600 of 963, ranked by callers