MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

Functiongenerate_random_seed
()
lightx2v/server/schema.py:27
Functiongenerate_random_seed
生成随机种子
app/utils/ui_builder.py:325
Methodgenerate_video_with_stop_event
(self, message: Any, stop_event)
lightx2v/server/services/generation/video.py:21
Functionget
(self, key, default=None)
lightx2v/pipeline.py:62
Methodget
(self, key, default=None)
lightx2v/utils/registry_factory.py:49
FunctiongetMultiProcessorCount
lightx2v_kernel/csrc/gemm/sm120_utils.h:68
FunctiongetSMVersion
lightx2v_kernel/include/utils.h:234
Methodget_all_tasks
(cls)
lightx2v/utils/service_utils.py:102
Methodget_audio_embed_bucket
(self, audio_embed, stride=2, batch_frames=12, m=2)
lightx2v/models/input_encoders/hf/wan/s2v/audio_encoder.py:80
Functionget_available_attn_ops
获取可用的注意力算子
app/utils/model_utils.py:76
Functionget_available_quant_ops
获取可用的量化算子
app/utils/model_utils.py:38
Methodget_axial_freqs
(self, *dims, offsets: (tuple[int | float, ...] | Tensor | None) = None)
lightx2v/models/networks/seedvr/utils/rotary_embedding_torch.py:262
Methodget_bbox
(self, kp, kp_p, threshold=0.5)
tools/preprocess/pose2d_utils.py:69
Methodget_buffer_stream_size
(self)
lightx2v/utils/va_recorder_x264.py:165
Methodget_chunk_sigmas
Get sigmas for a specific chunk in AR generation.
lightx2v/models/schedulers/worldplay/scheduler.py:107
Methodget_chunk_sigmas
Get sigmas for a specific chunk in AR generation.
lightx2v/models/schedulers/worldplay/ar_scheduler.py:188
Methodget_chunk_sigmas
Get sigmas for a specific chunk in BI generation.
lightx2v/models/schedulers/worldplay/bi_scheduler.py:211
Methodget_chunk_timesteps
Get timesteps for a specific chunk in AR generation.
lightx2v/models/schedulers/worldplay/scheduler.py:103
Methodget_chunk_timesteps
Get timesteps for a specific chunk in AR generation.
lightx2v/models/schedulers/worldplay/ar_scheduler.py:184
Methodget_chunk_timesteps
Get timesteps for a specific chunk in BI generation.
lightx2v/models/schedulers/worldplay/bi_scheduler.py:207
Functionget_clip_tokenizer_choices
获取 CLIP Tokenizer 可选项
app/utils/model_choices.py:209
Methodget_compiled_methods
(self)
lightx2v/utils/custom_compiler.py:168
Methodget_conditions
(self, mode, num_frames)
lightx2v/models/input_encoders/hf/wan/matrix_game2/conditions.py:189
Functionget_config_from_file
(config_file: str)
lightx2v/models/networks/hunyuan3d/utils/misc.py:11
Functionget_config_json
(config_json)
lightx2v/shot_runner/shot_base.py:23
Methodget_context_data
Get context frame data for current chunk. Returns: Tuple of (context_latents, context_viewmats, context_Ks, context_acti
lightx2v/models/schedulers/worldplay/bi_scheduler.py:156
Methodget_context_timestep
Get timestep for context frames (stabilization level - 1).
lightx2v/models/schedulers/worldplay/bi_scheduler.py:182
Functionget_cuda_stream
()
lightx2v_kernel/python/lightx2v_kernel/utils.py:7
Functionget_data_parallel_rank
Get data parallel rank.
lightx2v/models/video_encoders/hf/seedvr/common/distributed/advanced.py:45
Functionget_data_parallel_world_size
Get data parallel world size.
lightx2v/models/video_encoders/hf/seedvr/common/distributed/advanced.py:53
Methodget_data_url_pattern
(self)
lightx2v/server/media/image.py:25
Methodget_data_url_pattern
(self)
lightx2v/server/media/audio.py:27
Methodget_device
Get the device type string. Returns "cuda" because Hygon DCU uses CUDA-compatible APIs through ROCm. This allows seamless in
lightx2v_platform/base/hygon_dcu.py:37
Methodget_device
Get the device type string. Returns 'xpu' for Intel XPU.
lightx2v_platform/base/intel_xpu.py:47
Methodget_device
()
lightx2v_platform/base/ascend_npu.py:27
Methodget_device
Get the device type string. Returns 'cuda' for ROCm compatibility.
lightx2v_platform/base/amd_rocm.py:135
Methodget_device
()
lightx2v_platform/base/metax_cuda.py:26
Methodget_device
()
lightx2v_platform/base/iluvatar_cuda.py:30
Methodget_device
()
lightx2v_platform/base/cambricon_mlu.py:25
Methodget_device
()
lightx2v_platform/base/ppu_cuda.py:26
Methodget_device
Get the device type string. Returns "gcu" for Enflame GCU device. This allows getattr(torch, AI_DEVICE) to work correctly (t
lightx2v_platform/base/enflame_gcu.py:56
Methodget_encoder_output_i2v
(self, clip_encoder_out, vae_encoder_out, text_encoder_output, img=None)
lightx2v/models/runners/wan/wan_runner.py:1172
Methodget_encoder_output_i2v
(self)
lightx2v/models/runners/qwen_image/qwen_image_runner.py:440
Methodget_encoder_output_i2v
(self)
lightx2v/models/runners/z_image/z_image_runner.py:359
Methodget_encoder_output_i2v
(self)
lightx2v/models/runners/longcat_image/longcat_image_runner.py:375
Functionget_flattened_position_ids_extrapolate
(img_h, img_w, patch_size, max_num_patches_per_side)
lightx2v/models/networks/bagel/data_utils.py:53
Functionget_flattened_position_ids_extrapolate
(img_h, img_w, patch_size, max_num_patches_per_side)
lightx2v/models/schedulers/bagel/scheduler.py:7
Functionget_flattened_position_ids_interpolate
(img_h, img_w, patch_size, max_num_patches_per_side)
lightx2v/models/networks/bagel/data_utils.py:61
Functionget_flattened_position_ids_interpolate
(img_h, img_w, patch_size, max_num_patches_per_side)
lightx2v/models/schedulers/bagel/scheduler.py:15
Methodget_global_end
(self, layer_id: int)
lightx2v/common/kvcache/quant.py:818
Methodget_global_end
(self, layer_id: int)
lightx2v/common/kvcache/rolling.py:496
Methodget_intermediate_layers
( self, x: torch.Tensor, n: Union[int, Sequence] = 1, # Layers or n last layers to ta
lightx2v/models/networks/worldmirror/models/layers/vision_transformer.py:296
Methodget_kps_body_with_p
(self, normalize=False)
tools/preprocess/pose2d_utils.py:99
Methodget_latent_idx
(frame_idx: int)
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:1841
Methodget_latent_shape_with_lat_hw
Get latent shape for SeedVR. Args: latent_h: Latent height latent_w: Latent width Returns: [num_
lightx2v/models/runners/seedvr/seedvr_runner.py:438
Methodget_lin_function
(x1, y1, x2, y2)
lightx2v/models/schedulers/seedvr/scheduler.py:66
Methodget_local_end
(self, layer_id: int)
lightx2v/common/kvcache/rolling.py:499
Methodget_localhost
(self)
lightx2v/disagg/mooncake.py:235
Functionget_logger
(name)
lightx2v/models/networks/hunyuan3d/utils/__init__.py:14
Functionget_logger
(name)
lightx2v/models/networks/hunyuan3d/utils/hy3dshape/utils.py:22
Functionget_model_shard_cpu_inter_group
Get the CPU inter process group of model sharding.
lightx2v/models/video_encoders/hf/seedvr/common/distributed/advanced.py:84
Functionget_model_shard_cpu_intra_group
Get the CPU intra process group of model sharding.
lightx2v/models/video_encoders/hf/seedvr/common/distributed/advanced.py:77
Functionget_model_shard_inter_group
Get the GPU inter process group of model sharding.
lightx2v/models/video_encoders/hf/seedvr/common/distributed/advanced.py:98
Functionget_model_shard_intra_group
Get the GPU intra process group of model sharding.
lightx2v/models/video_encoders/hf/seedvr/common/distributed/advanced.py:91
Methodget_next_pending_task
(self)
lightx2v/server/task_manager.py:236
Functionget_next_sequence_parallel_rank
Get the next global rank of the sequence parallel process group that the caller rank belongs to.
lightx2v/models/video_encoders/hf/seedvr/common/distributed/advanced.py:176
Functionget_obj_from_config
(config)
lightx2v/models/networks/hunyuan3d/utils/misc.py:38
Methodget_output_extension
(self)
lightx2v/server/services/generation/video.py:12
Functionget_output_len
(conv_module, input_len, pad_len, dim=0)
lightx2v/models/video_encoders/hf/seedvr/context_parallel_lib.py:73
Methodget_output_names
(self)
tools/preprocess/pose2d.py:37
Methodget_patch_grid_bounds
Return the per-dimension bounds [inclusive start, exclusive end) for every patch. Returns shape [3, num_patches, 2] where 3 is (frame
lightx2v/models/schedulers/ltx2/scheduler.py:118
Methodget_pending_counts
(self)
lightx2v/disagg/services/data_mgr_sidecar.py:549
Methodget_pending_counts
(self)
lightx2v/disagg/services/data_mgr_sidecar.py:734
Methodget_pipeline_infer_kwargs
(self, infer_config)
lightx2v_train/lightx2v_train/model_zoo/flux2_klein.py:156
Methodget_pipeline_infer_kwargs
(self, infer_config)
lightx2v_train/lightx2v_train/model_zoo/wan_t2v.py:349
Methodget_pipeline_infer_kwargs
(self, infer_config)
lightx2v_train/lightx2v_train/model_zoo/qwen_image_edit.py:249
Methodget_pipeline_infer_kwargs
(self, infer_config)
lightx2v_train/lightx2v_train/model_zoo/longcat_image.py:180
Methodget_pipeline_infer_kwargs
(self, infer_config)
lightx2v_train/lightx2v_train/model_zoo/flux2_dev.py:171
Methodget_pipeline_infer_kwargs
(self, infer_config)
lightx2v_train/lightx2v_train/model_zoo/qwen_image.py:166
Methodget_pipeline_sample_kwargs
(self, sample)
lightx2v_train/lightx2v_train/model_zoo/qwen_image_edit.py:260
Functionget_prev_sequence_parallel_rank
Get the previous global rank of the sequence parallel process group that the caller rank belongs to.
lightx2v/models/video_encoders/hf/seedvr/common/distributed/advanced.py:187
Functionget_queue_status
()
lightx2v/server/api/tasks/common.py:67
Functionget_rank
()
lightx2v/models/networks/hunyuan3d/utils/misc.py:88
Functionget_sequence_parallel_cpu_group
Get sequence parallel CPU process group.
lightx2v/models/video_encoders/hf/seedvr/common/distributed/advanced.py:38
Functionget_service_metadata
()
lightx2v/server/api/service_routes.py:15
Functionget_service_status
()
lightx2v/server/api/service_routes.py:10
Methodget_session_id
(self)
lightx2v/disagg/mooncake.py:238
Methodget_status_service
(cls)
lightx2v/utils/service_utils.py:95
Methodget_status_task_id
(cls, task_id: str)
lightx2v/utils/service_utils.py:86
Functionget_t5_tokenizer_choices
获取 T5 Tokenizer 可选项
app/utils/model_choices.py:178
Functionget_task_result
(task_id: str)
lightx2v/server/api/tasks/common.py:89
Functionget_task_status
(task_id: str)
lightx2v/server/api/tasks/common.py:81
Methodget_task_type
(self)
lightx2v/server/services/generation/image.py:18
Methodget_task_type
(self)
lightx2v/server/services/generation/video.py:15
Methodget_taylor_step_diff
(self)
lightx2v/models/networks/wan/infer/feature_caching/transformer_infer.py:186
Methodget_taylor_step_diff
(self)
lightx2v/models/networks/wan/infer/feature_caching/transformer_infer.py:545
Methodget_time_embedding
(self, timestep, seq_len)
lightx2v/models/networks/wan/weights/motus/pre_weights.py:146
Methodget_time_embedding
(self, timestep, seq_len)
lightx2v/models/networks/motus/model.py:74
Methodget_token_count
(self, tgt_shape)
lightx2v/models/schedulers/ltx2/scheduler.py:181
Methodget_transformer_output_backlog
(self)
lightx2v/disagg/services/data_mgr_sidecar.py:578
← previousnext →7,101–7,200 of 8,429, ranked by callers