MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

↓ 5 callersMethodfail_task
(self, task_id: str, error: str, error_type: Optional[str] = None)
lightx2v/server/task_manager.py:127
↓ 5 callersFunctionfp16_clamp
(x)
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/t5.py:20
↓ 5 callersMethodget_backlog_counts
(self)
lightx2v/disagg/conn.py:519
↓ 5 callersMethodget_global_end
(self, layer_id: int)
lightx2v/common/kvcache/rolling.py:357
↓ 5 callersMethodget_i2v_mask
(self, lat_t, lat_h, lat_w, mask_len=1, mask_pixel_values=None, device=AI_DEVICE)
lightx2v/models/runners/wan/wan_animate_runner.py:59
↓ 5 callersMethodget_latent_shape_with_target_hw
(self)
lightx2v/models/runners/ltx2/ltx2_runner.py:206
↓ 5 callersFunctionget_lazy_load_file_path
Get the full file path for lazy loading, handling both file and directory inputs. Args: lazy_load_file: Base file or directory path for l
lightx2v/common/ops/utils.py:101
↓ 5 callersFunctionget_local_rank
Get the local rank, the local index of the GPU.
lightx2v/models/video_encoders/hf/seedvr/common/distributed/basic.py:20
↓ 5 callersMethodget_task_status
(self, task_id: str)
lightx2v/server/task_manager.py:187
↓ 5 callersMethodinfer
Run inference with action and camera pose conditioning. Args: inputs: Dict containing: - text_encoder_ou
lightx2v/models/networks/worldplay/ar_model.py:213
↓ 5 callersMethodinfer_block
(self, weights, grid_sizes, embed, x, embed0, seq_lens, freqs, context, block_idx, kv_start, kv_end)
lightx2v/models/networks/wan/infer/causvid/transformer_infer.py:208
↓ 5 callersMethodinfer_post_adapter
(self, phase, x, pre_infer_out)
lightx2v/models/networks/wan/infer/audio/transformer_infer.py:33
↓ 5 callersMethodinit_parallel_env
()
lightx2v_platform/base/nvidia.py:34
↓ 5 callersMethodload_state_dict_from_disk
(self, block_index, adapter_block_index=None)
lightx2v/common/ops/mm/mm_weight.py:359
↓ 5 callersFunctionmake_bagel_i2i_config
(model_path=".")
test_cases/test_bagel_t2i_support.py:66
↓ 5 callersMethodmetadata
Load metadata from path
lightx2v/utils/ltx2_utils.py:171
↓ 5 callersFunctionmove_attr_to_cpu
Move base attributes and LoRA attributes to CPU device. Args: cls: Target class instance containing tensor attributes base_attrs:
lightx2v/common/ops/utils.py:274
↓ 5 callersFunctionmove_attr_to_cuda
Move base attributes and LoRA attributes to CUDA device. Args: cls: Target class instance containing tensor attributes base_attrs
lightx2v/common/ops/utils.py:256
↓ 5 callersFunctionparse_checkpoint_iteration
(checkpoint_path)
lightx2v_train/lightx2v_train/runtime/checkpoint.py:20
↓ 5 callersMethodpostprocess_denoiser_output
(self, prediction, denoiser_input)
lightx2v_train/lightx2v_train/model_zoo/base.py:160
↓ 5 callersMethodprepare_loop
(self, action_shape, *, seed, device, dtype, infer_steps=None)
lightx2v/models/schedulers/wan/fastwam/scheduler.py:17
↓ 5 callersFunctionprint_summary
(label: str, values: List[float])
scripts/server/benchmark_sync_s3_latency.py:168
↓ 5 callersMethodproduce
Produce one config into ring buffer and advance tail by rdma_faa.
lightx2v/disagg/rdma_buffer.py:268
↓ 5 callersFunctionprojector_layer_prefixes
(projector_type, base_prefix)
lightx2v/models/networks/wan/weights/motus/_shared.py:93
↓ 5 callersFunctionregister_self_attn_kv_cache
Register a self-attention KV cache pool implementation.
lightx2v/common/kvcache/manager.py:16
↓ 5 callersFunctionresolve_bagel_i2i_image_shape
(input_info, config, input_image_size)
lightx2v/models/runners/bagel/i2i_utils.py:34
↓ 5 callersMethodroll_window
(self, layer_id: int, sink_tokens: int, num_evicted: int)
lightx2v/common/kvcache/rolling.py:367
↓ 5 callersFunctionrtr_path_mtu
Use port active MTU for RTR path_mtu (avoids hard-coded 1024 vs link mismatch).
lightx2v/disagg/rdma_utils.py:214
↓ 5 callersMethodrun_image_encoder
(self, first_frame, last_frame=None)
lightx2v/models/runners/wan/wan_runner.py:432
↓ 5 callersMethodrun_text_encoder
Run text encoder Args: prompt: Input text prompt img: Optional input image (for some models) Returns:
lightx2v/models/runners/base_runner.py:159
↓ 5 callersMethodrun_vae_decoder_stream
(self, latents)
lightx2v/models/runners/default_runner.py:459
↓ 5 callersMethodsample
( self, x: torch.Tensor, f: Callable[[SamplerModelArgs], torch.Tensor], )
lightx2v/models/schedulers/seedvr/utils.py:194
↓ 5 callersMethodsample
(self, imgs, deterministic=False)
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/vae.py:487
↓ 5 callersFunctionset_config
(args)
lightx2v/utils/set_config.py:249
↓ 5 callersFunctionset_config
Load configuration for Wan model.
lightx2v/disagg/utils.py:33
↓ 5 callersMethodset_ends
(self, layer_id: int, global_end: int, local_end: int)
lightx2v/common/kvcache/rolling.py:363
↓ 5 callersFunctionset_parallel_config
(config)
lightx2v/utils/set_config.py:255
↓ 5 callersMethodset_scheduler
(self, scheduler)
lightx2v/models/networks/bagel/model.py:71
↓ 5 callersMethodset_timesteps
Set timesteps for the scheduler.
lightx2v/models/schedulers/longcat_image/scheduler.py:338
↓ 5 callersMethodset_timesteps
Sets the discrete timesteps used for the diffusion chain (to be run before inference). Args: num_inference_steps (`int`):
lightx2v_train/lightx2v_train/model_zoo/native/wan/utils/fm_solvers.py:206
↓ 5 callersMethodsigma_at
(self, step_idx, batch_size, device=None, dtype=None)
lightx2v_train/lightx2v_train/schedulers/dmd_scheduler.py:74
↓ 5 callersMethodstop
(self)
lightx2v/utils/va_reader.py:217
↓ 5 callersFunctionswish
Applies the swish activation function.
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:35
↓ 5 callersMethodtransform
(self, img)
lightx2v/models/vfi/rife/model/loss.py:29
↓ 5 callersMethodtransformer_forward_context
(self)
lightx2v_train/lightx2v_train/model_zoo/wan_t2v.py:129
↓ 5 callersMethodupdate_context_text
(self, text, gen_context)
lightx2v/models/networks/bagel/model.py:262
↓ 5 callersFunctionvalidate_url_async
(url: str)
lightx2v/server/api/deps.py:39
↓ 4 callersMethodA
(self, t: torch.Tensor)
lightx2v/models/schedulers/seedvr/utils.py:40
↓ 4 callersMethodB
(self, t: torch.Tensor)
lightx2v/models/schedulers/seedvr/utils.py:43
↓ 4 callersMethod__init__
( self, block_index, block_prefix, task, mm_type, config,
lightx2v/models/networks/wan/weights/transformer_weights.py:610
↓ 4 callersMethod__init__
(self, block_index, block_prefix, mm_type, config)
lightx2v/models/networks/wan/weights/matrix_game3/transformer_weights.py:101
↓ 4 callersMethod__init__
(self, block_idx, config, und_config, wan_num_heads, wan_head_dim)
lightx2v/models/networks/wan/weights/motus/transformer_weights.py:41
↓ 4 callersMethod__init__
(self, tensor_name)
lightx2v/models/networks/wan/weights/motus/_shared.py:232
↓ 4 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, bias=True, drop=0.0)
lightx2v/models/networks/worldmirror/models/layers/patch_embed.py:136
↓ 4 callersMethod__init__
( self, block_idx, block_prefix, task, mm_type, config,
lightx2v/models/networks/z_image/weights/transformer_weights.py:394
↓ 4 callersMethod__init__
(self, config)
lightx2v/models/networks/hunyuan_video/weights/transformer_weights.py:349
↓ 4 callersMethod__init__
(self, hidden_dim, logscale=True)
lightx2v/models/audio_encoders/hf/cosmos3/sound_tokenizer.py:12
↓ 4 callersMethod__init__
(self)
lightx2v/models/vfi/rife/model/loss.py:11
↓ 4 callersMethod__setitem__
(self, key, value)
lightx2v/utils/lockable_dict.py:85
↓ 4 callersMethod_apply_gate
(self, x, y, gate)
lightx2v/models/networks/motus/infer/transformer_infer.py:160
↓ 4 callersMethod_apply_rope_with_cache_range
( self, x, freqs, h, w, world_size, rank, toke
lightx2v/models/networks/wan/infer/audio/transformer_infer.py:214
↓ 4 callersFunction_build_dataloader
(dataset, data_config, train_or_val)
lightx2v_train/lightx2v_train/data/video_dataset.py:468
↓ 4 callersMethod_build_lr_scheduler
(self, optimizer, num_training_steps=None, num_warmup_steps=None)
lightx2v_train/lightx2v_train/trainers/base.py:112
↓ 4 callersMethod_calculate_2d_grid
(self, latent_height, latent_width, world_size)
lightx2v/models/video_encoders/hf/wan/vae.py:1000
↓ 4 callersMethod_cleanup_transformer_phase2_room
(self, room: int)
lightx2v/disagg/services/data_mgr_sidecar.py:153
↓ 4 callersMethod_clear_ltx2_reference_video_state
Avoid leaking reference-video latents into non-v2av runs on a reused runner, and avoid re-appending reference tokens in stage-2 upsampling.
lightx2v/models/runners/ltx2/ltx2_runner.py:292
↓ 4 callersMethod_create_cpu_pin_tensor
(self, tensor)
lightx2v_platform/ops/norm/norm_template.py:206
↓ 4 callersFunction_current_stage
(stages: list[StageSpec])
lightx2v/disagg/workload.py:152
↓ 4 callersMethod_dequant_nhd
( self, code: torch.Tensor, sc: torch.Tensor, mn: torch.Tensor, attn_s
lightx2v/common/kvcache/quant.py:108
↓ 4 callersFunction_detect_non_loopback_ipv4
()
lightx2v/disagg/mooncake.py:12
↓ 4 callersMethod_disagg_alloc_buffers
(self, buffer_sizes: List[int])
lightx2v/disagg/disagg_mixin.py:240
↓ 4 callersMethod_disagg_alloc_p2_buffers
(self, buffer_sizes: List[int])
lightx2v/disagg/disagg_mixin.py:248
↓ 4 callersMethod_disagg_connect_queue_client
( self, disagg_cfg: dict, *, phase: str, )
lightx2v/disagg/disagg_mixin.py:373
↓ 4 callersFunction_encode
(frames: List[np.ndarray])
tools/preprocess/ltx2.3_preprocess_data.py:296
↓ 4 callersMethod_ensure_local_mr_capacity
(self, required_size: int)
lightx2v/disagg/rdma_client.py:124
↓ 4 callersFunction_estimate_encoder_buffer_sizes
Estimate upper-bound byte sizes for each RDMA buffer slot.
lightx2v/disagg/disagg_mixin.py:58
↓ 4 callersMethod_forward_causal_chunk
(self, latents, timestep, context, kv_cache, crossattn_cache, current_start, cache_start)
lightx2v_train/lightx2v_train/infer/video.py:350
↓ 4 callersMethod_get_action_value
(self, key, default=None)
lightx2v/models/runners/cosmos3/cosmos3_runner.py:173
↓ 4 callersMethod_get_io_names
Get input/output tensor names from engine.
lightx2v/models/video_encoders/trt/qwen_image/vae_trt.py:171
↓ 4 callersMethod_get_tensor
(self, name, weight_dict=None, use_infer_dtype=False)
lightx2v_platform/ops/norm/norm_template.py:190
↓ 4 callersMethod_infer_cond_uncond
(self, input_ids)
lightx2v/models/networks/cosmos3/model.py:123
↓ 4 callersMethod_infer_once
(self, inputs, infer_condition=True, update_cache=False, cache_name="pos", shared_pre_infer_out=None)
lightx2v/models/networks/wan/dreamzero_model.py:129
↓ 4 callersMethod_init_offload_state
(self, event_shape: tuple[int, ...])
lightx2v/common/kvcache/rolling.py:213
↓ 4 callersFunction_is_profiler_no_sync_active
()
lightx2v/utils/profiler.py:25
↓ 4 callersMethod_is_tcp_port_open
(self, host: str, port: int)
lightx2v/disagg/services/controller.py:90
↓ 4 callersMethod_is_valid_pose_meta
(cls, pose_meta)
tools/preprocess/process_pipepline.py:97
↓ 4 callersFunction_is_video
(path)
lightx2v/models/runners/wan/wan_infinitetalk_runner.py:98
↓ 4 callersMethod_kivi_k_code
(self, layer_id: int)
lightx2v/common/kvcache/quant.py:196
↓ 4 callersMethod_kivi_k_mn
(self, layer_id: int)
lightx2v/common/kvcache/quant.py:211
↓ 4 callersMethod_kivi_k_scale
(self, layer_id: int)
lightx2v/common/kvcache/quant.py:206
↓ 4 callersMethod_kivi_v_code
(self, layer_id: int)
lightx2v/common/kvcache/quant.py:201
↓ 4 callersMethod_kivi_v_mn
(self, layer_id: int)
lightx2v/common/kvcache/quant.py:221
↓ 4 callersMethod_kivi_v_scale
(self, layer_id: int)
lightx2v/common/kvcache/quant.py:216
↓ 4 callersMethod_load_action_spec
(self)
lightx2v/models/runners/cosmos3/cosmos3_runner.py:153
↓ 4 callersMethod_load_engine_file
Load a TensorRT engine from file.
lightx2v/models/video_encoders/trt/qwen_image/vae_trt.py:164
↓ 4 callersMethod_load_safetensor_to_dict
(self, file_path, unified_dtype, sensitive_layer)
lightx2v/models/networks/wan/matrix_game2_model.py:24
↓ 4 callersFunction_load_stage_specs
()
lightx2v/disagg/workload.py:122
↓ 4 callersMethod_logical_chunks
Return logical->physical chunks as ``(logical_start, physical_start, length)``. Chunks are returned in logical order. They address the physic
lightx2v/common/kvcache/rolling.py:92
↓ 4 callersFunction_ltx2_parse_image_paths
(image_path: str)
lightx2v/models/runners/ltx2/ltx2_runner.py:29
↓ 4 callersFunction_make_fusion_block
(features: int, size: int = None, has_residual: bool = True, groups: int = 1)
lightx2v/models/networks/worldmirror/models/heads/dense_head.py:432
← previousnext →501–600 of 8,429, ranked by callers