MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

↓ 4 callersMethodload_vae
(self)
lightx2v/models/runners/cosmos3/cosmos3_runner.py:107
↓ 4 callersMethodmake_image_msg
(self, image, stamp, frame_id)
lightx2v_ros/src/simulator/simulator/libero_node/main.py:118
↓ 4 callersFunctionmm_weight_fp32
FP32 matmul for MMWeight when autocast does not apply (e.g. AdaIN).
lightx2v/models/networks/wan/infer/s2v/causal_audio_encoder.py:9
↓ 4 callersFunctionnorm_no_weight
(x: torch.Tensor, norm_type: str, eps: float)
lightx2v/models/networks/seedvr/infer/utils.py:19
↓ 4 callersMethodoffload_cpu
(self, model_index)
lightx2v/models/runners/wan/wan_runner.py:717
↓ 4 callersFunctionpad_by_length
(padded_tensor: torch.Tensor, padding_len: int, dim: int = 1, pad_value: float = 0.0)
lightx2v/models/networks/worldmirror/comm/padding.py:112
↓ 4 callersFunctionparse
(x)
lightx2v/models/networks/worldmirror/models/layers/patch_embed.py:122
↓ 4 callersFunctionprecompute_freqs_cis
(dim, end=1024, theta=10000.0)
lightx2v/models/networks/wan/infer/fastwam/pre_infer.py:18
↓ 4 callersMethodprepare_denoiser_input
(self, noisy_latent, condition=None)
lightx2v_train/lightx2v_train/model_zoo/base.py:154
↓ 4 callersMethodprepare_latents
(self, seed, latent_shape, dtype=torch.float32)
lightx2v/models/schedulers/wan/audio/scheduler.py:82
↓ 4 callersMethodprepare_room_threads
(self, room: int)
lightx2v/disagg/conn.py:263
↓ 4 callersMethodprepare_tokens_with_masks
(self, x, masks=None)
lightx2v/models/networks/worldmirror/models/layers/vision_transformer.py:209
↓ 4 callersMethodprepare_vae_latent
(self, curr_kvlens, curr_rope, image_sizes, new_token_ids, seed=None)
lightx2v/models/schedulers/bagel/scheduler.py:51
↓ 4 callersMethodregister_room_thread
(self, room: int, thread: threading.Thread)
lightx2v/disagg/conn.py:267
↓ 4 callersFunctionresize_by_area
(image, target_area, keep_aspect_ratio=True, divisor=64, padding_color=(0, 0, 0))
tools/preprocess/utils.py:105
↓ 4 callersFunctionresolve_ckpt_paths
(model_dir: str, use_safetensors: bool = False, variant: str = "fp16")
lightx2v/models/networks/hunyuan3d/utils/checkpoint.py:23
↓ 4 callersFunctionround_by_factor
Returns the closest integer to 'number' that is divisible by 'factor'.
lightx2v_train/lightx2v_train/model_zoo/native/wan/utils/qwen_vl_utils.py:39
↓ 4 callersFunctionround_to_64
(value, round_up=False, divisor=64)
tools/preprocess/utils.py:73
↓ 4 callersFunctionrun_command
Run a subprocess command and handle errors.
tools/convert/seko_talk_converter.py:78
↓ 4 callersMethodrun_individual_token_refiner
(self, weights, out, mask, c)
lightx2v/models/networks/hunyuan_video/infer/pre_infer.py:198
↓ 4 callersMethodrun_text_encoder
(self, input_info)
lightx2v/models/runners/ltx2/ltx2_runner.py:693
↓ 4 callersFunctionsafe_pad_operation
(x, pad)
lightx2v/models/networks/seedvr/utils/ops.py:20
↓ 4 callersMethodsample_initial_latents
(self, latent_shape)
lightx2v_train/lightx2v_train/trainers/dmd.py:224
↓ 4 callersMethodsend_stream
(self, name)
lightx2v_ros/src/visualization/visualization/image_web_viewer_node/main.py:164
↓ 4 callersMethodset_data
(self, dataloader_train, dataloader_eval=None)
lightx2v_train/lightx2v_train/trainers/base.py:78
↓ 4 callersMethodset_timesteps
(self)
lightx2v/models/schedulers/qwen_image/scheduler.py:601
↓ 4 callersMethodset_timesteps
(self)
lightx2v/models/schedulers/z_image/scheduler.py:532
↓ 4 callersMethodset_vision_cache
Set or append vision KV cache for context frames.
lightx2v/models/networks/worldplay/infer/ar_transformer_infer.py:67
↓ 4 callersFunctionsetup
(app)
docs/EN/source/conf.py:90
↓ 4 callersFunctionsinusoidal_embedding_1d
(dim, position)
lightx2v/models/networks/wan/infer/utils.py:242
↓ 4 callersFunctionsinusoidal_embedding_1d
(dim, position)
lightx2v/models/networks/wan/infer/fastwam/pre_infer.py:7
↓ 4 callersFunctionsmart_resize
Rescales the image so that the following conditions are met: 1. Both dimensions (height and width) are divisible by 'factor'. 2. The to
lightx2v_train/lightx2v_train/model_zoo/native/wan/utils/qwen_vl_utils.py:54
↓ 4 callersFunctionstate_dict
Generate state dictionary containing base attributes and LoRA attributes. Args: cls: Target class instance containing tensor attributes
lightx2v/common/ops/utils.py:292
↓ 4 callersMethodstep
(self, model_output, timestep, sample, return_dict=True)
lightx2v/models/schedulers/cosmos3/scheduler.py:446
↓ 4 callersMethodstop
(self)
lightx2v/utils/va_reader_omni.py:281
↓ 4 callersFunctionswish
(x: Tensor)
lightx2v/models/video_encoders/hf/bagel/autoencoder.py:34
↓ 4 callersMethodtext2tokens
Tokenize the input text. Args: text (str or list): Input text.
lightx2v/models/input_encoders/hf/hunyuan15/qwen25/model.py:371
↓ 4 callersMethodtiled_encode
(self, x, scale)
lightx2v/models/video_encoders/hf/wan/vae.py:563
↓ 4 callersMethodtime_embedder
(self, weights, t)
lightx2v/models/networks/bagel/model.py:714
↓ 4 callersMethodto_cpu
(self, non_blocking=False)
lightx2v/common/modules/weight_module.py:103
↓ 4 callersMethodto_cpu
(self, non_blocking=True)
lightx2v/models/networks/z_image/weights/transformer_weights.py:474
↓ 4 callersMethodto_cpu
(self)
lightx2v/models/video_encoders/hf/wan/vae.py:1025
↓ 4 callersMethodto_cuda
Move parameters to GPU device (supports cuda/intel xpu)
lightx2v/common/modules/weight_module.py:125
↓ 4 callersMethodto_cuda
(self, non_blocking=True)
lightx2v/models/networks/z_image/weights/transformer_weights.py:479
↓ 4 callersMethodto_cuda
(self)
lightx2v/models/video_encoders/hf/wan/vae.py:1033
↓ 4 callersMethodtrain
(self)
lightx2v/models/vfi/rife/train_log/RIFE_HDv3.py:23
↓ 4 callersMethodunconditional_embedding
(self, batch_size, **kwargs)
lightx2v/models/input_encoders/hf/hunyuan3d/conditioner.py:108
↓ 4 callersFunctionuse_magi_custom_ops
()
lightx2v/common/magi_custom_op_mode.py:11
↓ 4 callersMethodwith_replacement
Create a new SDOps instance with the specified replacement added to the mapping.
lightx2v/utils/ltx2_utils.py:77
↓ 3 callersFunctionGET_DTYPE
()
lightx2v_platform/ops/norm/norm_template.py:26
↓ 3 callersMethod__init__
(self, q_block_size=128, k_block_size=128, sparse_setting={}, attnmap_frame_num=None)
lightx2v/common/ops/attn/sparse_mask_generator.py:35
↓ 3 callersMethod__init__
(self, audio_sr: int = 16000, target_fps: int = 16)
lightx2v/models/runners/wan/wan_audio_runner.py:186
↓ 3 callersMethod__init__
(self, config)
lightx2v/models/runners/wan/wan_runner.py:76
↓ 3 callersMethod__init__
(self, dim, channel_first=True, images=True, bias=False)
lightx2v/models/runners/vsr/utils/utils.py:10
↓ 3 callersMethod__init__
(self, config)
lightx2v/models/networks/wan/weights/dreamzero/pre_weights.py:28
↓ 3 callersMethod__init__
(self, config)
lightx2v/models/networks/wan/weights/motus/pre_weights.py:211
↓ 3 callersMethod__init__
(self, block_index, block_prefix, task, mm_type, config)
lightx2v/models/networks/wan/weights/matrix_game2/transformer_weights.py:92
↓ 3 callersMethod__init__
( self, block_name: str, *, mm_type: str, ln_type: str, qk_nor
lightx2v/models/networks/worldmirror/weights/transformer_weights.py:54
↓ 3 callersMethod__init__
( self, dim_in: int, patch_size: int = 14, output_dim: int = 4, activa
lightx2v/models/networks/worldmirror/models/heads/dense_head.py:161
↓ 3 callersMethod__init__
( self, block_index, task, mm_type, config, subname="mlp",
lightx2v/models/networks/bagel/weights/transformer_weights.py:93
↓ 3 callersMethod__init__
(self, dim: int)
lightx2v/models/networks/seedvr/utils/rope.py:37
↓ 3 callersMethod__init__
(self, prefix, mm_type, create_cuda_buffer=False, create_cpu_buffer=False, lazy_load=False, lazy_load_file=Non
lightx2v/models/networks/cosmos3/weights/transformer_weights.py:347
↓ 3 callersMethod__init__
( self, attention_head_dim=64, num_attention_heads=40, base_num_layers=30,
lightx2v/models/input_encoders/hf/seko_audio/audio_adapter.py:346
↓ 3 callersMethod__init__
( self, version=None, config=None, use_cls_token=True, image_size=224,
lightx2v/models/input_encoders/hf/hunyuan3d/conditioner.py:59
↓ 3 callersMethod__init__
(self, n_f, stride)
lightx2v/models/video_encoders/hf/tae.py:41
↓ 3 callersMethod__init__
(self)
lightx2v/models/vfi/rife/train_log/IFNet_HDv3.py:44
↓ 3 callersMethod__init__
(self, dim, out_dim, patch_size, eps=1e-6)
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/causal_model.py:236
↓ 3 callersMethod_apply_clean_motion_prefix
(self)
lightx2v/models/schedulers/wan/infinitetalk/scheduler.py:56
↓ 3 callersMethod_apply_prope
Apply Projective Positional Encoding to Q, K, V. Args: q: Query tensor [B, L, H, D] or [B, H, L, D] k: Key t
lightx2v/models/networks/worldplay/infer/ar_transformer_infer.py:394
↓ 3 callersMethod_apply_timestep_embeds_to_noisy_tokens
(self, packed_tokens, packed_timestep_embeds, noisy_frame_indexes, token_shapes)
lightx2v/models/networks/cosmos3/infer/pre_infer.py:47
↓ 3 callersMethod_batch_to_list
(self, tensor)
lightx2v_train/lightx2v_train/model_zoo/wan_t2v.py:358
↓ 3 callersMethod_build_or_get_segment_state
Materialize one segment's complete conditioning package. This is the core of the adapter. It decides: - which absolute frames this se
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:1914
↓ 3 callersFunction_calc_distances
Calculate the normalized distances between preds and target. Note: batch_size: N num_keypoints: K dimension of keypoints:
tools/preprocess/pose2d_utils.py:322
↓ 3 callersMethod_can_use_mxfp8_modulate_quant
(self, norm2_out, c_scale_msa, c_shift_msa)
lightx2v/models/networks/wan/infer/mxfp8_fuse.py:94
↓ 3 callersFunction_canonical_ipv4
(text: str)
lightx2v/disagg/rdma_utils.py:64
↓ 3 callersFunction_cat_with_padding
Concatenate a tensor with a padding tensor of the given value.
lightx2v/models/input_encoders/hf/ltx2/gemma/encoders/base_encoder.py:156
↓ 3 callersMethod_causal_timestep
(self, timestep, latent)
lightx2v_train/lightx2v_train/model_zoo/wan_t2v.py:387
↓ 3 callersMethod_cfg_pass_key
(self)
lightx2v/models/networks/hidream_o1_image/infer/pre_infer.py:215
↓ 3 callersMethod_clear_ltx2_reference_audio_state
Avoid leaking ltx2_s2v audio conditioning into t2av/i2av runs on a reused runner.
lightx2v/models/runners/ltx2/ltx2_runner.py:239
↓ 3 callersFunction_count_video_frames
Count the actual decodable frame count of an mp4 (PyAV demux).
tools/preprocess/ltx2.3_preprocess_data.py:276
↓ 3 callersMethod_create_cpu_pin_weight
(self, tensor)
lightx2v_platform/ops/mm/intel_xpu/__init__.py:83
↓ 3 callersMethod_create_kv_caches
Create (or recreate) cache pools with resolution-dependent sizes.
lightx2v/common/kvcache/manager.py:201
↓ 3 callersMethod_create_pin_tensor
(self, tensor, dtype=None)
lightx2v_platform/ops/mm/template.py:151
↓ 3 callersMethod_decode
(self, z: torch.Tensor, memory_state: MemoryState = MemoryState.DISABLED)
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:1160
↓ 3 callersMethod_decoder_layer_ffn
(self, block_weight, hidden_states)
lightx2v/models/networks/neopp/infer/transformer_infer.py:235
↓ 3 callersMethod_disagg_encoder_teardown_room
(self, room: int)
lightx2v/disagg/disagg_mixin.py:636
↓ 3 callersMethod_dmd_loss
(latents, x_pred_fake_flow, x_pred_teacher, norm_clip_min=None)
lightx2v_train/lightx2v_train/trainers/dmd.py:146
↓ 3 callersMethod_do_cfg
(cond_pred, uncond_pred, cfg_scale, cfg_norm)
lightx2v_train/lightx2v_train/trainers/dmd.py:131
↓ 3 callersFunction_dtype
(name)
lightx2v_train/lightx2v_train/runtime/fsdp.py:18
↓ 3 callersMethod_embed_timestep
(self, weights, timestep, length, device, dtype)
lightx2v/models/networks/cosmos3/infer/pre_infer.py:64
↓ 3 callersMethod_encode
(self, x: torch.Tensor, memory_state: MemoryState = MemoryState.DISABLED)
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:1149
↓ 3 callersMethod_ensure_mxfp8_quant_fuse_ready
(self, phase, *tensors, module_names=(), required_module_attrs=("weight", "weight_scale", "alpha"))
lightx2v/models/networks/wan/infer/mxfp8_fuse.py:49
↓ 3 callersMethod_ensure_phase1_meta_buffer
(self)
lightx2v/disagg/services/encoder.py:266
↓ 3 callersMethod_ensure_phase1_request_buffer
(self)
lightx2v/disagg/services/transformer.py:251
↓ 3 callersMethod_ensure_phase2_meta_buffer
(self)
lightx2v/disagg/services/transformer.py:294
↓ 3 callersMethod_ensure_rdma_preferred_ipv4_env
So RoCE gid_index matches the data-plane IP on each worker (multi-node).
lightx2v/disagg/services/controller.py:132
↓ 3 callersFunction_find_matching_dir
Recursively search for files matching a glob pattern and return the parent directory of the first match.
lightx2v/models/input_encoders/hf/ltx2/model.py:39
↓ 3 callersMethod_flatten_norm
(norm_weight, hidden_states)
lightx2v/models/networks/hunyuan3d/infer/transformer_infer.py:23
↓ 3 callersFunction_fmt_float3
(value)
scripts/disagg/extract_disagg_utilization.py:11
↓ 3 callersFunction_fmt_float3
(value)
scripts/disagg/extract_base_utilization.py:11
← previousnext →701–800 of 8,429, ranked by callers