MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

Method__init__
(self, weight)
tools/convert/quant/quant.py:54
Method__init__
(self, weight)
tools/convert/quant/quant.py:84
Method__init__
(self, weight)
tools/convert/quant/quant.py:99
Method__init__
(self, weight)
tools/convert/quant/quant.py:114
Method__init__
(self, weight)
tools/convert/quant/quant.py:129
Method__init__
( self, model_path: str, hy_repo: str | None = None, max_num_view: int = 6,
tools/postprocess/paint_pipeline.py:135
Method__init__
(self, det_checkpoint_path, pose2d_checkpoint_path, sam_checkpoint_path, flux_kontext_path)
tools/preprocess/process_pipepline.py:43
Method__init__
(self, det_onnx_path: str, pose_onnx_path: str, device: str = "cuda")
tools/preprocess/dwpose_onnx.py:430
Method__init__
(self, meta=None, kp2ds=None)
tools/preprocess/pose2d_utils.py:43
Method__init__
(self, det_checkpoint_path: str, pose2d_checkpoint_path: str, device: str = "cuda")
tools/preprocess/ltx2.3_preprocess_data.py:163
Method__init__
(self, checkpoint, device="cuda", reverse_input=False, **kwargs)
tools/preprocess/pose2d.py:13
Method__init__
(self, checkpoint, device="cuda", **kwargs)
tools/preprocess/pose2d.py:306
Method__init__
(self, checkpoint, detector_checkpoint=None, device="cuda", **kwargs)
tools/preprocess/pose2d.py:338
Method__init__
(self, *args, **kwargs)
tools/preprocess/video_predictor.py:11
Method__init__
(self, *args, **kwargs)
lightx2v_platform/registry_factory.py:2
Method__init__
(self, weight_name)
lightx2v_platform/ops/attn/template.py:5
Method__init__
(self)
lightx2v_platform/ops/attn/ascend_npu/npu_flash_attn.py:14
Method__init__
(self, weight_name="flash_attn_hygon_dcu")
lightx2v_platform/ops/attn/hygon_dcu/flash_attn.py:43
Method__init__
(self)
lightx2v_platform/ops/attn/amd_rocm/flash_attn.py:59
Method__init__
(self)
lightx2v_platform/ops/attn/iluvatar_cuda/flash_attn.py:16
Method__init__
(self)
lightx2v_platform/ops/attn/metax_cuda/metax_sage_attn2.py:15
Method__init__
(self)
lightx2v_platform/ops/attn/intel_xpu/xpu_flash_attn.py:82
Method__init__
(self, weight_name="flash_attn_enflame_gcu")
lightx2v_platform/ops/attn/enflame_gcu/flash_attn.py:49
Method__init__
(self)
lightx2v_platform/ops/attn/cambricon_mlu/flash_attn.py:16
Method__init__
(self)
lightx2v_platform/ops/attn/cambricon_mlu/sage_attn.py:16
Method__init__
(self)
lightx2v_platform/ops/rope/rope_template.py:28
Method__init__
(self)
lightx2v_platform/ops/rope/iluvatar_cuda/wan_rope.py:13
Method__init__
(self)
lightx2v_platform/ops/rope/enflame_gcu/wan_rope.py:9
Method__init__
(self, weight_name, create_cuda_buffer=False, create_cpu_buffer=False, lazy_load=False, lazy_load_file=None, i
lightx2v_platform/ops/norm/norm_template.py:41
Method__init__
(self, weight_name=None, bias_name=None, create_cuda_buffer=False, create_cpu_buffer=False, lazy_load=False, l
lightx2v_platform/ops/norm/norm_template.py:152
Method__init__
(self, weight_name, create_cuda_buffer=False, create_cpu_buffer=False, lazy_load=False, lazy_load_file=None, i
lightx2v_platform/ops/norm/iluvatar_cuda/iluvatar_rms_norm.py:12
Method__init__
(self, weight_name=None, bias_name=None, create_cuda_buffer=False, create_cpu_buffer=False, lazy_load=False, l
lightx2v_platform/ops/norm/enflame_gcu/layer_norm.py:9
Method__init__
(self, weight_name, create_cuda_buffer=False, create_cpu_buffer=False, lazy_load=False, lazy_load_file=None, i
lightx2v_platform/ops/norm/cambricon_mlu/mlu_rms_norm.py:12
Method__init__
( self, weight_name, bias_name, create_cuda_buffer=False, create_cpu_buffer=False, lazy_load=False, la
lightx2v_platform/ops/mm/template.py:56
Method__init__
(self, in_features, out_features, bias=True, dtype=torch.bfloat16)
lightx2v_platform/ops/mm/ascend_npu/npu_q_linear.py:11
Method__init__
( self, weight_name, bias_name, create_cuda_buffer=False, create_cpu_b
lightx2v_platform/ops/mm/ascend_npu/mm_weight.py:21
Method__init__
( self, weight_name, bias_name, create_cuda_buffer=False, create_cpu_b
lightx2v_platform/ops/mm/hygon_dcu/mm_weight.py:28
Method__init__
( self, weight_name, bias_name, create_cuda_buffer=False, create_cpu_b
lightx2v_platform/ops/mm/iluvatar_cuda/mm_weight.py:24
Method__init__
(self, in_features, out_features, bias=True, dtype=torch.float16)
lightx2v_platform/ops/mm/iluvatar_cuda/q_linear.py:33
Method__init__
(self, weight_name, bias_name, create_cuda_buffer=False, create_cpu_buffer=False, lazy_load=False, lazy_load_f
lightx2v_platform/ops/mm/intel_xpu/__init__.py:133
Method__init__
(self, in_features, out_features, bias=True, dtype=torch.float16)
lightx2v_platform/ops/mm/intel_xpu/q_linear.py:128
Method__init__
(self, weight_name, bias_name, create_cuda_buffer=False, create_cpu_buffer=False, lazy_load=False, lazy_load_f
lightx2v_platform/ops/mm/cambricon_mlu/mm_weight.py:21
Method__init__
(self, in_features, out_features, bias=True, dtype=torch.bfloat16)
lightx2v_platform/ops/mm/cambricon_mlu/q_linear.py:11
Method__init__
(self, aiter_module)
lightx2v_platform/base/amd_rocm.py:44
Method__init__
( self, task="", model_path="", model_cls="", support_tasks=[],
lightx2v/pipeline.py:73
Method__init__
(self)
lightx2v/utils/service_utils.py:108
Method__init__
(self)
lightx2v/utils/service_utils.py:134
Method__init__
(self, cfg: TorchTraceProfileConfig)
lightx2v/utils/torch_trace_profiler.py:117
Method__init__
Args: name: Optional label for logs and call-site identification. If omitted, the qualified name of the profiled
lightx2v/utils/torch_trace_profiler.py:180
Method__init__
(self, enabled: bool, device: torch.device | str | None = None)
lightx2v/utils/async_vae.py:24
Method__init__
( self, livestream_url: str, fps: float = 16.0, )
lightx2v/utils/video_recorder.py:21
Method__init__
(self, bit, symmetric, granularity, **kwargs)
lightx2v/utils/quant_utils.py:116
Method__init__
(self, bit, symmetric, granularity, **kwargs)
lightx2v/utils/quant_utils.py:155
Method__init__
(self, info: dict)
lightx2v/utils/va_reader_omni.py:28
Method__init__
(self)
lightx2v/utils/va_reader_omni.py:46
Method__init__
( self, omni_work_dir: str, whep_url: str, session_id: str, account: s
lightx2v/utils/va_reader_omni.py:86
Method__init__
( self, rank: int, world_size: int, stream_url: str, segment_duration:
lightx2v/utils/va_reader_omni.py:295
Method__init__
recorder_mode = 0: disable recorder recorder_mode = 1: enable recorder recorder_mode = 2: enable recorder and force disable l
lightx2v/utils/profiler.py:50
Method__init__
(self, name=None)
lightx2v/utils/profiler.py:157
Method__init__
(self, name, recorder_mode=0, metrics_func=None, metrics_labels=None)
lightx2v/utils/profiler.py:224
Method__init__
(self, name, recorder_mode=0, metrics_func=None, metrics_labels=None)
lightx2v/utils/profiler.py:231
Method__init__
(self, weight_loader: SafetensorsStateDictLoader | None = None)
lightx2v/utils/ltx2_utils.py:223
Method__init__
(self, *args, **kwargs)
lightx2v/utils/registry_factory.py:5
Method__init__
( self, rank: int, world_size: int, stream_url: str, segment_duration:
lightx2v/utils/va_reader.py:16
Method__init__
( self, livestream_url: str, fps: float = 16.0, sample_rate: int = 16000,
lightx2v/utils/va_recorder.py:23
Method__init__
( self, data: Union[torch.Tensor, np.ndarray, None] = None, orig_shape: Tuple[int, ...
lightx2v/utils/ggml_tensor.py:18
Method__init__
(self, libggml: Path)
lightx2v/utils/ggml_tensor.py:299
Method__init__
(self, *args, auto_wrap: bool = True, **kwargs)
lightx2v/utils/lockable_dict.py:12
Method__init__
(self, model_name="Qwen/Qwen2.5-32B-Instruct", device_map="cuda:0")
lightx2v/utils/prompt_enhancer.py:32
Method__init__
(self, action: str, data: any = None)
lightx2v/utils/va_controller.py:13
Method__init__
(self, model_runner)
lightx2v/utils/va_controller.py:24
Method__init__
( self, whip_shared_path: str, livestream_url: str, fps: float = 16.0,
lightx2v/utils/va_recorder_x264.py:15
Method__init__
(self, *args, **kwargs)
lightx2v/utils/custom_compiler.py:114
Method__init__
Args: format_name: The LoRA format type up_suffix: Suffix for the up (B) weight matrix (e.g., ".lora_up.weight")
lightx2v/utils/lora_loader.py:37
Method__init__
Initialize the pattern matcher with all supported formats.
lightx2v/utils/lora_loader.py:69
Method__init__
Args: key_mapping_rules: Optional list of (pattern, replacement) regex rules for key mapping model_prefix: Optional p
lightx2v/utils/lora_loader.py:184
Method__init__
(self, iface_name=None, port_num=1, buffer_size=4096)
lightx2v/disagg/rdma_server.py:31
Method__init__
(self, service_type: str, gpu_id: int, bind_address: str)
lightx2v/disagg/monitor.py:21
Method__init__
(self, nodes: List[str], request_timeout_ms: int = 1000)
lightx2v/disagg/monitor.py:105
Method__init__
( self, role: str, buffer_size: int = 128, slot_size: int = 4096, *,
lightx2v/disagg/rdma_buffer.py:46
Method__init__
(self, **kwargs)
lightx2v/disagg/utils.py:23
Method__init__
(self)
lightx2v/disagg/mooncake.py:130
Method__init__
(self, disaggregation_phase: DisaggregationPhase, disaggregation_mode: DisaggregationMode)
lightx2v/disagg/conn.py:95
Method__init__
(self, mgr: DataManager, bootstrap_addr: str, bootstrap_room: int)
lightx2v/disagg/conn.py:553
Method__init__
(self, mgr: DataManager, bootstrap_addr: str, bootstrap_room: Optional[int] = None)
lightx2v/disagg/conn.py:572
Method__init__
(self)
lightx2v/disagg/conn.py:615
Method__init__
(self)
lightx2v/disagg/workload.py:23
Method__init__
(self, iface_name=None, local_buffer_size=4096)
lightx2v/disagg/rdma_client.py:39
Method__init__
(self, name: str)
lightx2v/disagg/rdma_base.py:25
Method__init__
(self)
lightx2v/disagg/scheduler/round_robin.py:9
Method__init__
(self)
lightx2v/disagg/scheduler/base.py:10
Method__init__
(self, config: dict)
lightx2v/disagg/services/decoder.py:26
Method__init__
(self, logger)
lightx2v/disagg/services/base.py:15
Method__init__
Base initialization for all services.
lightx2v/disagg/services/base.py:62
Method__init__
(self, bind_addr: str, workdir: str, log_dir: str)
lightx2v/disagg/services/instance_proxy.py:23
Method__init__
(self)
lightx2v/disagg/services/controller.py:28
Method__init__
(self, config: dict)
lightx2v/disagg/services/transformer.py:59
Method__init__
(self, push_addr: str, req_addr: str)
lightx2v/disagg/services/data_mgr_sidecar.py:59
Method__init__
(self, poll_interval_s: float = 0.01)
lightx2v/disagg/services/data_mgr_sidecar.py:475
Method__init__
(self, push_addr: str, req_addr: str, poll_interval_s: float = 0.01)
lightx2v/disagg/services/data_mgr_sidecar.py:632
← previousnext →4,901–5,000 of 8,429, ranked by callers