MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

Method__call__
( self, q, k, v, mask, cu_seqlens_q=None, cu_seqlens_k
lightx2v/common/ops/attn/sparse_operator.py:84
Method__call__
( self, q, k, v, mask, cu_seqlens_q=None, cu_seqlens_k
lightx2v/common/ops/attn/sparse_operator.py:116
Method__call__
( self, q, k, v, mask, cu_seqlens_q=None, cu_seqlens_k
lightx2v/common/ops/attn/sparse_operator.py:147
Method__call__
( self, q, k, v, mask, cu_seqlens_q=None, cu_seqlens_k
lightx2v/common/ops/attn/sparse_operator.py:208
Method__call__
( self, q, k, v, mask, cu_seqlens_q=None, cu_seqlens_k
lightx2v/common/ops/attn/sparse_operator.py:252
Method__call__
( self, q, k, v, mask, cu_seqlens_q=None, cu_seqlens_k
lightx2v/common/ops/attn/sparse_operator.py:299
Method__call__
(self, q, k)
lightx2v/common/ops/attn/sparse_mask_generator.py:23
Method__call__
(self, q, k)
lightx2v/common/ops/attn/sparse_mask_generator.py:40
Method__call__
(self, q, k)
lightx2v/common/ops/attn/sparse_mask_generator.py:56
Method__call__
(self, q, k)
lightx2v/common/ops/attn/sparse_mask_generator.py:77
Method__call__
(self, q, k)
lightx2v/common/ops/attn/sparse_mask_generator.py:178
Method__call__
Decorator: wrap the function to time its execution.
lightx2v/models/networks/hunyuan3d/utils/__init__.py:60
Method__call__
Decorator: wrap the function to time its execution.
lightx2v/models/networks/hunyuan3d/utils/hy3dshape/utils.py:68
Method__call__
(self, x, pos_indices)
lightx2v/models/networks/wan/infer/infinitetalk/transformer_infer.py:34
Method__call__
(self, *args, **kwargs)
lightx2v/models/networks/worldmirror/model.py:1044
Method__call__
(self, fn)
lightx2v/models/networks/worldmirror/utils/warnings.py:14
Method__call__
Generates spatial positions for a batch of patches. Args: batch_size: Number of samples in the batch. height: Height
lightx2v/models/networks/worldmirror/models/layers/rope.py:33
Method__call__
(self, batch_size: int, height: int, width: int, device: torch.device)
lightx2v/models/networks/worldmirror/models/layers/norm_rope.py:16
Method__call__
(self, key: str, fn: Callable)
lightx2v/models/networks/seedvr/utils/cache.py:10
Method__call__
(self, ids: torch.Tensor, return_real: bool = False)
lightx2v/models/schedulers/z_image/scheduler.py:340
Method__call__
(self, image, border_ratio=0.15, to_tensor=True, **kwargs)
lightx2v/models/input_encoders/hf/hunyuan3d/image_processor.py:108
Method__call__
(self, image_dict, border_ratio=0.15, to_tensor=True, **kwargs)
lightx2v/models/input_encoders/hf/hunyuan3d/image_processor.py:127
Method__call__
(self, image: Image.Image)
lightx2v/models/input_encoders/hf/hunyuan3d/rembg.py:28
Method__call__
(self, image_path: str)
lightx2v/models/input_encoders/hf/hunyuan3d/encoder.py:123
Method__call__
(self, sequence, **kwargs)
lightx2v/models/input_encoders/hf/wan/t5/tokenizer.py:46
Method__call__
(self, sequence, **kwargs)
lightx2v/models/input_encoders/hf/wan/matrix_game2/tokenizers.py:46
Method__call__
(self, tensor_key: str, tensor_value: torch.Tensor)
lightx2v/models/input_encoders/hf/ltx2/utils.py:59
Method__call__
(self, q: torch.Tensor, k: torch.Tensor, v: torch.Tensor, heads: int, mask: torch.Tensor | None = None)
lightx2v/models/input_encoders/hf/ltx2/gemma/attention.py:28
Method__call__
(self, q: torch.Tensor, k: torch.Tensor, v: torch.Tensor, heads: int, mask: torch.Tensor | None = None)
lightx2v/models/input_encoders/hf/ltx2/gemma/attention.py:32
Method__call__
( self, q: torch.Tensor, k: torch.Tensor, v: torch.Tensor, heads: int,
lightx2v/models/input_encoders/hf/ltx2/gemma/attention.py:51
Method__call__
( self, q: torch.Tensor, k: torch.Tensor, v: torch.Tensor, heads: int,
lightx2v/models/input_encoders/hf/ltx2/gemma/attention.py:94
Method__call__
(self, q: torch.Tensor, k: torch.Tensor, v: torch.Tensor, heads: int, mask: torch.Tensor | None = None)
lightx2v/models/input_encoders/hf/ltx2/gemma/attention.py:124
Method__call__
Process a batch of grid logits to extract surface meshes. Args: grid_logits (torch.Tensor): Batch of grid logits with sh
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/surface_extractors.py:77
Method__call__
( self, latents: torch.FloatTensor, geo_decoder: Callable, bounds: Union[Tuple
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/volume_decoders.py:147
Method__call__
( self, latents: torch.FloatTensor, geo_decoder: Callable, bounds: Union[Tuple
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/volume_decoders.py:185
Method__call__
( self, latents: torch.FloatTensor, geo_decoder: CrossAttentionDecoder, bounds
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/volume_decoders.py:281
Method__call__
(self, attn, q, k, v)
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_processors.py:30
Method__call__
(self, attn, q, k, v)
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_processors.py:39
Method__call__
(self, image: Union[torch.Tensor, Image.Image])
lightx2v/models/video_encoders/hf/seedvr/data/image/transforms/divisible_crop.py:15
Method__call__
Args: image (PIL Image or Tensor): Image to be scaled. Returns: PIL Image or Tensor: Rescaled image.
lightx2v/models/video_encoders/hf/seedvr/data/image/transforms/side_resize.py:20
Method__call__
(self, image: Union[torch.Tensor, Image.Image])
lightx2v/models/video_encoders/hf/seedvr/data/image/transforms/area_resize.py:22
Method__call__
(self, image: Union[torch.Tensor, Image.Image])
lightx2v/models/video_encoders/hf/seedvr/data/image/transforms/area_resize.py:71
Method__call__
(self, image: Union[torch.Tensor, Image.Image])
lightx2v/models/video_encoders/hf/seedvr/data/image/transforms/area_resize.py:99
Method__call__
(self, x)
lightx2v/models/video_encoders/hf/seedvr/data/video/transforms/rearrange.py:9
Method__call__
(self, key: str, fn: Callable)
lightx2v/models/video_encoders/hf/seedvr/common/cache.py:12
Method__call__
(self, inputs)
lightx2v/models/video_encoders/hf/seedvr/common/distributed/ops.py:397
Method__call__
(self, target_or_name)
lightx2v_train/lightx2v_train/utils/registry.py:6
Method__call__
(self, latent_hw=None, num_steps=None)
lightx2v_train/lightx2v_train/schedulers/time_shift.py:8
Method__call__
(self, latent_hw=None, num_steps=None)
lightx2v_train/lightx2v_train/schedulers/time_shift.py:22
Method__call__
(self, latent_hw=None, num_steps=None)
lightx2v_train/lightx2v_train/schedulers/time_shift.py:38
Method__call__
(self, latent_hw=None, num_steps=None)
lightx2v_train/lightx2v_train/schedulers/time_shift.py:88
Method__call__
(self, sequence, **kwargs)
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/tokenizers.py:46
Method__call__
(self, texts, device)
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/t5.py:397
Method__call__
(self, prompt, tar_lang="ch", image=None, seed=-1, *args, **kwargs)
lightx2v_train/lightx2v_train/model_zoo/native/wan/utils/prompt_extend.py:136
Method__class__
(self)
lightx2v_train/lightx2v_train/runtime/ddp.py:19
Method__contains__
(self, key)
lightx2v_platform/registry_factory.py:31
Method__contains__
(self, key)
lightx2v/utils/registry_factory.py:34
Method__contains__
(self, key)
lightx2v_train/lightx2v_train/utils/registry.py:31
Method__del__
(self)
lightx2v/utils/video_recorder.py:368
Method__del__
(self)
lightx2v/utils/va_reader_omni.py:290
Method__del__
(self)
lightx2v/utils/va_reader_omni.py:558
Method__del__
(self)
lightx2v/utils/va_reader.py:238
Method__del__
(self)
lightx2v/utils/va_recorder.py:629
Method__del__
(self)
lightx2v/utils/va_controller.py:252
Method__del__
(self)
lightx2v/utils/va_recorder_x264.py:239
Method__del__
(self)
lightx2v/common/offload/manager.py:151
Method__del__
(self, _empty_cache=getattr(torch_device_module, "empty_cache", None), _gc_collect=gc.collect)
lightx2v/models/runners/default_runner.py:645
Method__del__
(self)
lightx2v/models/networks/worldmirror/model.py:862
Method__del__
(self)
lightx2v/models/video_encoders/hf/vid_recon.py:38
Method__delitem__
(self, key)
lightx2v/utils/lockable_dict.py:89
Method__enter__
(self)
lightx2v/utils/torch_trace_profiler.py:229
Method__enter__
(self)
lightx2v/utils/profiler.py:66
Method__enter__
(self)
lightx2v/utils/profiler.py:138
Method__enter__
(self)
lightx2v/utils/profiler.py:164
Method__enter__
Context manager entry: start timing.
lightx2v/models/networks/hunyuan3d/utils/__init__.py:43
Method__enter__
Context manager entry: start timing.
lightx2v/models/networks/hunyuan3d/utils/hy3dshape/utils.py:51
Method__exit__
(self, exc_type, exc_val, exc_tb)
lightx2v/utils/torch_trace_profiler.py:232
Method__exit__
(self, exc_type, exc_val, exc_tb)
lightx2v/utils/profiler.py:74
Method__exit__
(self, *args)
lightx2v/utils/profiler.py:141
Method__exit__
(self, exc_type, exc_val, exc_tb)
lightx2v/utils/profiler.py:171
Method__exit__
Context manager exit: stop timing and log results.
lightx2v/models/networks/hunyuan3d/utils/__init__.py:51
Method__exit__
Context manager exit: stop timing and log results.
lightx2v/models/networks/hunyuan3d/utils/hy3dshape/utils.py:59
Method__getattr__
(self, name)
tools/postprocess/torchvision_fix.py:54
Method__getattr__
Allow attribute-style access: d.key instead of d['key']
lightx2v/utils/lockable_dict.py:131
Method__getattr__
(self, item)
lightx2v/disagg/services/base.py:54
Method__getattr__
(self, name)
lightx2v/models/runners/wan/wan_matrix_game2_runner.py:23
Method__getattr__
Fallback to regular functional module
lightx2v/models/networks/hunyuan3d/utils/torchvision_fix.py:66
Method__getattr__
(self, name)
lightx2v_train/lightx2v_train/runtime/ddp.py:24
Method__getitem__
(self, key)
lightx2v_platform/registry_factory.py:28
Method__getitem__
(self, key)
lightx2v/utils/registry_factory.py:31
Method__getitem__
(self, idx: int)
lightx2v/data/worldplay_ar_dataset.py:123
Method__getitem__
(self, idx)
lightx2v/common/modules/weight_module.py:204
Method__getitem__
(self, idx: Union[int, torch.IntTensor])
lightx2v/models/schedulers/seedvr/utils.py:142
Method__getitem__
(self, key)
lightx2v_train/lightx2v_train/utils/registry.py:28
Method__getitem__
(self, index)
lightx2v_train/lightx2v_train/data/video_dataset.py:213
Method__getitem__
(self, index)
lightx2v_train/lightx2v_train/data/video_dataset.py:261
Method__getitem__
(self, index)
lightx2v_train/lightx2v_train/data/video_dataset.py:323
Method__getitem__
(self, index)
lightx2v_train/lightx2v_train/data/video_dataset.py:461
Method__getitem__
(self, index)
lightx2v_train/lightx2v_train/data/image_dataset.py:35
Method__init__
(self, weight)
tools/convert/quant/quant.py:27
← previousnext →4,801–4,900 of 8,429, ranked by callers