MCPcopy Create free account

hub / github.com/VAST-AI-Research/TripoSG / functions

Functions146 in github.com/VAST-AI-Research/TripoSG

Methodenable_vae_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
triposg/pipelines/pipeline_utils.py:11
Methodenable_vae_tiling
r""" Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to compute decoding and en
triposg/pipelines/pipeline_utils.py:25
Functionfind_mesh_grid_coordinates_fast_gpu
(occupancy_grid, n_limits=-1)
triposg/inference_utils.py:31
Methodfn_recursive_add_processors
( name: str, module: torch.nn.Module, processors: Dict[str, AttentionProce
triposg/models/transformers/triposg_transformer.py:561
Methodfn_recursive_add_processors
( name: str, module: torch.nn.Module, processors: Dict[str, AttentionProce
triposg/models/autoencoders/autoencoder_kl_triposg.py:326
Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
triposg/models/transformers/triposg_transformer.py:603
Methodfn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
triposg/models/autoencoders/autoencoder_kl_triposg.py:368
Methodfn_recursive_feed_forward
( module: torch.nn.Module, chunk_size: int, dim: int )
triposg/models/transformers/triposg_transformer.py:751
Methodforward
Forward process. Args: x: tensor of shape [..., dim] Returns: embedding: an embedding of `x` of shape [...,
triposg/models/embeddings.py:76
Methodforward
( self, hidden_states: torch.Tensor, encoder_hidden_states: Optional[torch.Tensor] = N
triposg/models/transformers/triposg_transformer.py:288
Methodforward
The [`HunyuanDiT2DModel`] forward method. Args: hidden_states (`torch.Tensor` of shape `(batch size, dim, height, width)`):
triposg/models/transformers/triposg_transformer.py:622
Methodforward
(self, sample_1: torch.Tensor, sample_2: torch.Tensor)
triposg/models/autoencoders/autoencoder_kl_triposg.py:73
Methodforward
( self, sample: torch.Tensor, queries: torch.Tensor, kv_cache: Optional[torch.
triposg/models/autoencoders/autoencoder_kl_triposg.py:193
Methodforward
(self, x: torch.Tensor)
triposg/models/autoencoders/autoencoder_kl_triposg.py:535
Methodforward
(self,x)
scripts/briarmbg.py:21
Methodforward
(self,x)
scripts/briarmbg.py:74
Methodforward
(self,x)
scripts/briarmbg.py:149
Methodforward
(self,x)
scripts/briarmbg.py:214
Methodforward
(self,x)
scripts/briarmbg.py:268
Methodforward
(self,x)
scripts/briarmbg.py:312
Methodforward
(self,x)
scripts/briarmbg.py:351
Methodforward
(self,x)
scripts/briarmbg.py:397
Methodfuse_qkv_projections
Enables fused QKV projections. For self-attention modules, all projection matrices (i.e., query, key, value) are fused. For cross-att
triposg/pipelines/pipeline_utils.py:40
Methodfuse_qkv_projections
Enables fused QKV projections. For self-attention modules, all projection matrices (i.e., query, key, value) are fused. For cross-att
triposg/models/transformers/triposg_transformer.py:509
Methodfuse_qkv_projections
Enables fused QKV projections. For self-attention modules, all projection matrices (i.e., query, key, value) are fused. For cross-att
triposg/models/autoencoders/autoencoder_kl_triposg.py:274
Methodguidance_scale
(self)
triposg/pipelines/pipeline_triposg_scribble.py:125
Methodguidance_scale
(self)
triposg/pipelines/pipeline_triposg.py:119
Methodkl
(self, other: "DiagonalGaussianDistribution" = None)
triposg/models/autoencoders/vae.py:38
Methodmode
(self)
triposg/models/autoencoders/vae.py:68
Methodnll
( self, sample: torch.Tensor, dims: Tuple[int, ...] = [1, 2, 3] )
triposg/models/autoencoders/vae.py:57
Methodnum_timesteps
(self)
triposg/pipelines/pipeline_triposg_scribble.py:133
Methodnum_timesteps
(self)
triposg/pipelines/pipeline_triposg.py:127
Methodquery_fn
(q, kv)
triposg/models/autoencoders/autoencoder_kl_triposg.py:206
Methodscale_noise
Forward function for the noise scaling in the flow matching.
triposg/schedulers/scheduling_rectified_flow.py:310
Methodset_begin_index
Sets the begin index for the scheduler. This function should be run from pipeline before the inference. Args: begin_inde
triposg/schedulers/scheduling_rectified_flow.py:144
Methodset_default_attn_processor
Disables custom attention processors and sets the default attention implementation.
triposg/models/transformers/triposg_transformer.py:616
Methodset_default_attn_processor
Disables custom attention processors and sets the default attention implementation.
triposg/models/autoencoders/autoencoder_kl_triposg.py:381
Methodset_flash_processor
(self, flash_processor)
triposg/models/transformers/triposg_transformer.py:278
Methodset_topk
(self, topk)
triposg/models/autoencoders/autoencoder_kl_triposg.py:146
Functionset_transformer_attn_processor
( transformer: TripoSGDiTModel, set_self_attn_proc_func: Callable = default_set_attn_proc_func, se
triposg/models/transformers/__init__.py:15
Methodstep_index
The index counter for current timestep. It will increase 1 after each scheduler step.
triposg/schedulers/scheduling_rectified_flow.py:130
Methodunfuse_qkv_projections
Disable QKV projection fusion if enabled. <Tip warning={true}> This API is 🧪 experimental. </Tip> Args:
triposg/pipelines/pipeline_utils.py:66
Methodunfuse_qkv_projections
Disables the fused QKV projection if enabled. <Tip warning={true}> This API is 🧪 experimental. </Tip>
triposg/models/transformers/triposg_transformer.py:537
Methodunfuse_qkv_projections
Disables the fused QKV projection if enabled. <Tip warning={true}> This API is 🧪 experimental. </Tip>
triposg/models/autoencoders/autoencoder_kl_triposg.py:302
Methodvalidate
(variable)
triposg/utils/typing.py:52
Functionzoom_block
(block, scale_factor, order=3)
triposg/inference_utils.py:119
← previous101–146 of 146, ranked by callers