MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

↓ 1 callersMethodget_video_segment_num
(self)
lightx2v/models/runners/wan/wan_audio_runner.py:1260
↓ 1 callersMethodget_video_segment_num
(self)
lightx2v/models/runners/wan/wan_infinitetalk_runner.py:634
↓ 1 callersMethodget_video_segment_num
(self)
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:1605
↓ 1 callersMethodget_wan_freqs
(self)
lightx2v/models/networks/motus/model.py:504
↓ 1 callersFunctionget_wanx_vae_wrapper
(model_path, weight_dtype)
lightx2v/models/runners/wan/wan_matrix_game2_runner.py:69
↓ 1 callersFunctionget_window_op
(name: str)
lightx2v/models/networks/seedvr/utils/window.py:6
↓ 1 callersFunctionget_window_width
(i, j, token_per_frame, sparse_type, num_frame, decay_factor=1, block_size=128, model_type=None)
lightx2v/common/ops/attn/radial_attn.py:29
↓ 1 callersFunctionget_world_size
()
lightx2v/models/networks/hunyuan3d/utils/misc.py:94
↓ 1 callersFunctionguidance_scale_embedding
Args: timesteps: torch.Tensor: generate embedding vectors at these timesteps embedding_dim: int: dimension of the embeddings to generate
lightx2v/models/networks/wan/infer/utils.py:255
↓ 1 callersMethodhamming
(self, t1, t2)
lightx2v/models/vfi/rife/model/loss.py:40
↓ 1 callersMethodhandle
(self, msg: dict[str, Any])
lightx2v/disagg/services/instance_proxy.py:186
↓ 1 callersMethodhas_more_voice
(self)
lightx2v/utils/va_reader_omni.py:78
↓ 1 callersFunctionidentify_dynamic_map
( query_centroids, key_centroids, q_cluster_sizes, k_cluster_sizes, p, min_kc_ratio=0,
lightx2v/common/ops/attn/svg2_attn_utils.py:847
↓ 1 callersFunctionignore_padding
(model)
lightx2v/models/video_encoders/hf/seedvr/causal_inflation_lib.py:35
↓ 1 callersFunctionimage_msg_to_bgr
(msg)
lightx2v_ros/src/visualization/visualization/image_web_viewer_node/main.py:192
↓ 1 callersFunctionimage_to_base64
Convert an image file to base64 string
scripts/server/post_multi_servers.py:12
↓ 1 callersFunctionimage_to_base64
Convert an image file to base64 string
scripts/server/post_i2i_with_lora.py:7
↓ 1 callersFunctionimage_to_base64
Convert an image file to base64 string
scripts/server/post_i2v.py:7
↓ 1 callersFunctionimage_to_base64
(image_path)
scripts/server/disagg/wan/post_wan_i2v.py:24
↓ 1 callersFunctionimage_to_base64
(image_path)
scripts/server/disagg/qwen/post_qwen_i2i.py:25
↓ 1 callersMethodimmediate_switch_to
(self, status)
lightx2v/utils/va_reader_omni.py:179
↓ 1 callersMethodindex_for_timestep
(self, timestep, schedule_timesteps=None)
lightx2v/models/schedulers/hunyuan3d/flow_match_euler.py:404
↓ 1 callersMethodindex_for_timestep
(self, timestep)
lightx2v/models/schedulers/hidream_o1_image/scheduler.py:36
↓ 1 callersMethodindex_for_timestep
(self, timestep, schedule_timesteps=None)
lightx2v/models/schedulers/wan/self_forcing/scheduler.py:91
↓ 1 callersMethodindex_for_timestep
(self, timestep, schedule_timesteps=None)
lightx2v/models/schedulers/cosmos3/scheduler.py:428
↓ 1 callersMethodinfer
Single-step reconstruction: ViT → heads → gsplat → predictions dict.
lightx2v/models/networks/worldmirror/model.py:1022
↓ 1 callersMethodinfer
Run pre-inference with action conditioning for AR model. Args: weights: WorldPlayPreWeights containing action_weights
lightx2v/models/networks/worldplay/infer/ar_pre_infer.py:26
↓ 1 callersMethodinfer
Main inference entry point. Delegates to the appropriate inference function based on offloading configuration. Args:
lightx2v/models/networks/ltx2/infer/offload/transformer_infer.py:125
↓ 1 callersMethodinfer
(self, texts)
lightx2v/models/input_encoders/hf/wan/t5/model.py:861
↓ 1 callersMethodinfer
(self, prompts)
lightx2v/models/input_encoders/hf/hunyuan15/byt5/model.py:357
↓ 1 callersMethodinfer
Infer text encoder outputs for prompt and negative prompt. This is a convenience function that encodes both prompt and negative prom
lightx2v/models/input_encoders/hf/ltx2/model.py:158
↓ 1 callersMethodinfer_action
(self, inputs, update_cache=0, cache_name="pos", enable_cfg=False, guide_scale=1.0)
lightx2v/models/networks/wan/lingbot_va_model.py:150
↓ 1 callersMethodinfer_action_decoder
(self, weights, x, pre_infer_out)
lightx2v/models/networks/wan/infer/dreamzero/transformer_infer.py:378
↓ 1 callersMethodinfer_attn
( self, attn_phase, hidden_states, freqs_cis, scale_msa=None,
lightx2v/models/networks/z_image/infer/transformer_infer.py:69
↓ 1 callersFunctioninfer_bagel_vit_layer_count
(weight_dict)
lightx2v/models/networks/bagel/vision.py:164
↓ 1 callersMethodinfer_bi
Run bidirectional inference for a chunk. This is the main inference method for BI model, supporting: - Context frame concate
lightx2v/models/networks/worldplay/bi_model.py:173
↓ 1 callersMethodinfer_block
(self, block_weights, hidden_states, cond, skip_value=None)
lightx2v/models/networks/hunyuan3d/infer/transformer_infer.py:171
↓ 1 callersMethodinfer_block
(self, block, x, pre_infer_out)
lightx2v/models/networks/wan/infer/transformer_infer.py:135
↓ 1 callersMethodinfer_block
Execute one MG3.0 transformer block. Phase order: 0: self_attn 1: cam_injection 2: cross_attn 3: action_model
lightx2v/models/networks/wan/infer/matrix_game3/transformer_infer.py:183
↓ 1 callersMethodinfer_block
(self, block, x, pre_infer_out, kv_cache)
lightx2v/models/networks/wan/infer/dreamzero/transformer_infer.py:347
↓ 1 callersMethodinfer_block
(self, block, x, pre_infer_out)
lightx2v/models/networks/wan/infer/lingbot/transformer_infer.py:10
↓ 1 callersMethodinfer_block
(self, weights, grid_sizes, embed, x, embed0, seq_lens, freqs, context, i)
lightx2v/models/networks/wan/infer/feature_caching/transformer_infer.py:255
↓ 1 callersMethodinfer_block
(self, block, x, pre_infer_out, update_cache=0, cache_name="pos")
lightx2v/models/networks/wan/infer/lingbot_va/transformer_infer.py:89
↓ 1 callersMethodinfer_block
(self, block, hidden_states, pre_infer_out, infer_state)
lightx2v/models/networks/motus/infer/transformer_infer.py:378
↓ 1 callersMethodinfer_block_post_attn
Norm2 + modulate + FFN after cross-attention.
lightx2v/models/networks/qwen_image/infer/transformer_infer.py:301
↓ 1 callersMethodinfer_block_post_attn_magi
( self, ffn_phase, hidden_states, encoder_hidden_states,
lightx2v/models/networks/qwen_image/infer/transformer_infer.py:504
↓ 1 callersMethodinfer_block_pre_attn
Norm1 + modulate + QKV (+ RoPE); hidden_states unchanged for cross-attn residual.
lightx2v/models/networks/qwen_image/infer/transformer_infer.py:260
↓ 1 callersMethodinfer_block_pre_attn_magi
( self, img_attn_phase, txt_attn_phase, hidden_states,
lightx2v/models/networks/qwen_image/infer/transformer_infer.py:472
↓ 1 callersMethodinfer_block_with_kvcache
(self, block, x, pre_infer_out)
lightx2v/models/networks/wan/infer/audio/transformer_infer.py:262
↓ 1 callersMethodinfer_calculating
(self, weights, pre_infer_out)
lightx2v/models/networks/wan/infer/feature_caching/transformer_infer.py:1033
↓ 1 callersMethodinfer_calculating
(self, weights, infer_module_out)
lightx2v/models/networks/hunyuan_video/infer/feature_caching/transformer_infer.py:67
↓ 1 callersMethodinfer_causal
(self, audio_segment, sliding_processor)
lightx2v/models/input_encoders/hf/seko_audio/audio_encoder.py:50
↓ 1 callersMethodinfer_context_refiner
( self, context_refiner_blocks, encoder_hidden_states, cap_freqs_cis,
lightx2v/models/networks/z_image/infer/transformer_infer.py:220
↓ 1 callersMethodinfer_cross_attn
(self, phase, x, context, y_out, gate_msa)
lightx2v/models/networks/wan/infer/transformer_infer.py:271
↓ 1 callersMethodinfer_cross_attn_dreamzero
(self, phase, x, y_out, gate_msa, pre_infer_out)
lightx2v/models/networks/wan/infer/dreamzero/transformer_infer.py:288
↓ 1 callersMethodinfer_cross_attn_with_kvcache
(self, phase, x, context, y_out, gate_msa, block=None, conditional_dict=None)
lightx2v/models/networks/wan/infer/lingbot_fast/transformer_infer.py:48
↓ 1 callersMethodinfer_ffn
(self, phase, x, attn_out, c_shift_msa, c_scale_msa, c_gate_msa=None)
lightx2v/models/networks/wan/infer/self_forcing/transformer_infer.py:419
↓ 1 callersMethodinfer_ffn
(self, ffn_phase, hidden_states, scale_mlp=None, gate_mlp=None)
lightx2v/models/networks/z_image/infer/transformer_infer.py:147
↓ 1 callersMethodinfer_ffn_dreamzero
(self, phase, x, attn_out, c_shift_msa, c_scale_msa)
lightx2v/models/networks/wan/infer/dreamzero/transformer_infer.py:335
↓ 1 callersMethodinfer_layers
(self, layers, und_seq, gen_seq, rotary_emb)
lightx2v/models/networks/cosmos3/infer/transformer_infer.py:105
↓ 1 callersFunctioninfer_lightvae_pruning_rate_from_ckpt
(vae_pth, full_decoder_conv1_out=1024)
lightx2v/models/video_encoders/hf/wan/vae_2_2.py:122
↓ 1 callersMethodinfer_main_blocks
(self, blocks, pre_infer_out)
lightx2v/models/networks/wan/infer/transformer_infer.py:101
↓ 1 callersMethodinfer_main_blocks
(self, blocks, pre_infer_out)
lightx2v/models/networks/wan/infer/matrix_game3/transformer_infer.py:176
↓ 1 callersMethodinfer_main_blocks
(self, blocks, pre_infer_out, update_cache=0, cache_name="pos")
lightx2v/models/networks/wan/infer/lingbot_va/transformer_infer.py:107
↓ 1 callersMethodinfer_main_blocks
( self, main_blocks, hidden_states, encoder_hidden_states, x_freqs_cis
lightx2v/models/networks/z_image/infer/transformer_infer.py:240
↓ 1 callersMethodinfer_main_blocks
(self, blocks, hidden_states, pre_infer_out, infer_state)
lightx2v/models/networks/motus/infer/transformer_infer.py:370
↓ 1 callersMethodinfer_mod
(self, mod_phase, hidden_states, adaln_input)
lightx2v/models/networks/z_image/infer/transformer_infer.py:55
↓ 1 callersFunctioninfer_moe_block
(moe_weights, hidden_states)
lightx2v/models/networks/hunyuan3d/infer/moe_infer.py:13
↓ 1 callersMethodinfer_noise_refiner
( self, noise_refiner_blocks, hidden_states, x_freqs_cis, adaln_input,
lightx2v/models/networks/z_image/infer/transformer_infer.py:198
↓ 1 callersMethodinfer_non_blocks
Head processing — same as base but handles per-token time embeddings.
lightx2v/models/networks/wan/infer/matrix_game3/transformer_infer.py:554
↓ 1 callersMethodinfer_non_blocks
(self, weights, x, pre_infer_out, action_mode=False)
lightx2v/models/networks/wan/infer/lingbot_va/transformer_infer.py:114
↓ 1 callersMethodinfer_non_blocks
(self, hidden_states, infer_state)
lightx2v/models/networks/motus/infer/transformer_infer.py:398
↓ 1 callersMethodinfer_phases
(self, block_idx, blocks, x, pre_infer_out)
lightx2v/models/networks/wan/infer/offload/transformer_infer.py:94
↓ 1 callersMethodinfer_s2v_block
(self, block, x, pre_infer_out)
lightx2v/models/networks/wan/infer/s2v/transformer_infer.py:126
↓ 1 callersMethodinfer_self_attn
(self, phase, x, shift_msa, scale_msa)
lightx2v/models/networks/wan/infer/transformer_infer.py:180
↓ 1 callersMethodinfer_self_attn
(self, phase, x, shift_msa, scale_msa, pre_infer_out)
lightx2v/models/networks/wan/infer/infinitetalk/transformer_infer.py:115
↓ 1 callersMethodinfer_self_attn_with_cache
(self, phase, x, shift_msa, scale_msa, pre_infer_out, kv_cache)
lightx2v/models/networks/wan/infer/dreamzero/transformer_infer.py:248
↓ 1 callersMethodinfer_self_attn_with_kvcache
(self, phase, grid_sizes, x, seq_lens, freqs, shift_msa, scale_msa)
lightx2v/models/networks/wan/infer/self_forcing/transformer_infer.py:204
↓ 1 callersMethodinfer_txt
Cache text KV, called once at the beginning of generation. Corresponds to original forward_txt(). Args: inputs:
lightx2v/models/networks/worldplay/ar_model.py:122
↓ 1 callersMethodinfer_txt_only
Process only text embeddings for text KV caching. Called once at the beginning of AR generation. This method computes text e
lightx2v/models/networks/worldplay/infer/ar_pre_infer.py:208
↓ 1 callersMethodinfer_txt_with_offload
Text KV caching inference using block-level CPU offload.
lightx2v/models/networks/worldplay/infer/ar_transformer_infer.py:533
↓ 1 callersMethodinfer_using_cache
(self, x)
lightx2v/models/networks/wan/infer/feature_caching/transformer_infer.py:1064
↓ 1 callersMethodinfer_using_cache
(self, infer_module_out)
lightx2v/models/networks/hunyuan_video/infer/feature_caching/transformer_infer.py:102
↓ 1 callersMethodinfer_vace_blocks
(self, vace_blocks, pre_infer_out)
lightx2v/models/networks/wan/infer/vace/transformer_infer.py:53
↓ 1 callersMethodinfer_video
(self, pre_weight, first_frame_latents, context, context_mask)
lightx2v/models/networks/wan/infer/fastwam/pre_infer.py:67
↓ 1 callersMethodinfer_video_head
(self, weights, x, pre_infer_out)
lightx2v/models/networks/wan/infer/dreamzero/transformer_infer.py:385
↓ 1 callersMethodinfer_vision_with_offload
Vision inference using cached text KV with block-level CPU offload.
lightx2v/models/networks/worldplay/infer/ar_transformer_infer.py:561
↓ 1 callersMethodinfer_with_blocks_offload
( self, main_blocks, unified, unified_freqs_cis, adaln_input,
lightx2v/models/networks/z_image/infer/offload/transformer_infer.py:24
↓ 1 callersMethodinfer_without_offload
(self, blocks, hidden_states, cos_sin, past_key_values)
lightx2v/models/networks/neopp/infer/transformer_infer.py:170
↓ 1 callersMethodinference
(self, img0, img1, timestep=0.5, scale=1.0)
lightx2v/models/vfi/rife/train_log/RIFE_HDv3.py:52
↓ 1 callersMethodinit
(self, config)
lightx2v/disagg/services/transformer.py:375
↓ 1 callersMethodinit
(self, config)
lightx2v/disagg/services/encoder.py:365
↓ 1 callersMethodinit
(self, args)
lightx2v/server/services/inference/worker.py:29
↓ 1 callersFunctioninit_ai_device
(platform="cuda")
lightx2v_platform/base/base.py:9
↓ 1 callersMethodinit_base
(self, config, input_info, has_vfi_model, has_vsr_model)
lightx2v/utils/va_controller.py:38
↓ 1 callersMethodinit_device_env
()
lightx2v_platform/base/nvidia.py:17
↓ 1 callersMethodinit_from_ckpt
(self, path, ignore_keys=())
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/model.py:165
↓ 1 callersMethodinit_gen_context
(self)
lightx2v/models/networks/bagel/model.py:136
↓ 1 callersMethodinit_gen_context
(self)
lightx2v/models/networks/bagel/infer/transformer_infer.py:72
↓ 1 callersMethodinit_kv_cache
(self)
lightx2v/models/networks/bagel/infer/transformer_infer.py:80
← previousnext →3,801–3,900 of 8,429, ranked by callers