Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VAST-AI-Research/TripoSG
/ functions
Functions
146 in github.com/VAST-AI-Research/TripoSG
⨍
Functions
146
◇
Types & classes
26
Method
enable_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
Method
enable_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
Function
find_mesh_grid_coordinates_fast_gpu
(occupancy_grid, n_limits=-1)
triposg/inference_utils.py:31
Method
fn_recursive_add_processors
( name: str, module: torch.nn.Module, processors: Dict[str, AttentionProce
triposg/models/transformers/triposg_transformer.py:561
Method
fn_recursive_add_processors
( name: str, module: torch.nn.Module, processors: Dict[str, AttentionProce
triposg/models/autoencoders/autoencoder_kl_triposg.py:326
Method
fn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
triposg/models/transformers/triposg_transformer.py:603
Method
fn_recursive_attn_processor
(name: str, module: torch.nn.Module, processor)
triposg/models/autoencoders/autoencoder_kl_triposg.py:368
Method
fn_recursive_feed_forward
( module: torch.nn.Module, chunk_size: int, dim: int )
triposg/models/transformers/triposg_transformer.py:751
Method
forward
Forward process. Args: x: tensor of shape [..., dim] Returns: embedding: an embedding of `x` of shape [...,
triposg/models/embeddings.py:76
Method
forward
( self, hidden_states: torch.Tensor, encoder_hidden_states: Optional[torch.Tensor] = N
triposg/models/transformers/triposg_transformer.py:288
Method
forward
The [`HunyuanDiT2DModel`] forward method. Args: hidden_states (`torch.Tensor` of shape `(batch size, dim, height, width)`):
triposg/models/transformers/triposg_transformer.py:622
Method
forward
(self, sample_1: torch.Tensor, sample_2: torch.Tensor)
triposg/models/autoencoders/autoencoder_kl_triposg.py:73
Method
forward
( self, sample: torch.Tensor, queries: torch.Tensor, kv_cache: Optional[torch.
triposg/models/autoencoders/autoencoder_kl_triposg.py:193
Method
forward
(self, x: torch.Tensor)
triposg/models/autoencoders/autoencoder_kl_triposg.py:535
Method
forward
(self,x)
scripts/briarmbg.py:21
Method
forward
(self,x)
scripts/briarmbg.py:74
Method
forward
(self,x)
scripts/briarmbg.py:149
Method
forward
(self,x)
scripts/briarmbg.py:214
Method
forward
(self,x)
scripts/briarmbg.py:268
Method
forward
(self,x)
scripts/briarmbg.py:312
Method
forward
(self,x)
scripts/briarmbg.py:351
Method
forward
(self,x)
scripts/briarmbg.py:397
Method
fuse_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
Method
fuse_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
Method
fuse_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
Method
guidance_scale
(self)
triposg/pipelines/pipeline_triposg_scribble.py:125
Method
guidance_scale
(self)
triposg/pipelines/pipeline_triposg.py:119
Method
kl
(self, other: "DiagonalGaussianDistribution" = None)
triposg/models/autoencoders/vae.py:38
Method
mode
(self)
triposg/models/autoencoders/vae.py:68
Method
nll
( self, sample: torch.Tensor, dims: Tuple[int, ...] = [1, 2, 3] )
triposg/models/autoencoders/vae.py:57
Method
num_timesteps
(self)
triposg/pipelines/pipeline_triposg_scribble.py:133
Method
num_timesteps
(self)
triposg/pipelines/pipeline_triposg.py:127
Method
query_fn
(q, kv)
triposg/models/autoencoders/autoencoder_kl_triposg.py:206
Method
scale_noise
Forward function for the noise scaling in the flow matching.
triposg/schedulers/scheduling_rectified_flow.py:310
Method
set_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
Method
set_default_attn_processor
Disables custom attention processors and sets the default attention implementation.
triposg/models/transformers/triposg_transformer.py:616
Method
set_default_attn_processor
Disables custom attention processors and sets the default attention implementation.
triposg/models/autoencoders/autoencoder_kl_triposg.py:381
Method
set_flash_processor
(self, flash_processor)
triposg/models/transformers/triposg_transformer.py:278
Method
set_topk
(self, topk)
triposg/models/autoencoders/autoencoder_kl_triposg.py:146
Function
set_transformer_attn_processor
( transformer: TripoSGDiTModel, set_self_attn_proc_func: Callable = default_set_attn_proc_func, se
triposg/models/transformers/__init__.py:15
Method
step_index
The index counter for current timestep. It will increase 1 after each scheduler step.
triposg/schedulers/scheduling_rectified_flow.py:130
Method
unfuse_qkv_projections
Disable QKV projection fusion if enabled. <Tip warning={true}> This API is 🧪 experimental. </Tip> Args:
triposg/pipelines/pipeline_utils.py:66
Method
unfuse_qkv_projections
Disables the fused QKV projection if enabled. <Tip warning={true}> This API is 🧪 experimental. </Tip>
triposg/models/transformers/triposg_transformer.py:537
Method
unfuse_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
Method
validate
(variable)
triposg/utils/typing.py:52
Function
zoom_block
(block, scale_factor, order=3)
triposg/inference_utils.py:119
← previous
101–146 of 146, ranked by callers