Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent-Hunyuan/HY3D-Bench
/ functions
Functions
516 in github.com/Tencent-Hunyuan/HY3D-Bench
⨍
Functions
516
◇
Types & classes
98
↳
Endpoints
1
Method
forward
(self, timesteps)
baselines/core/models/denoisers/hunyuan3d_v21/hunyuandit.py:76
Method
forward
(self, t, condition)
baselines/core/models/denoisers/hunyuan3d_v21/hunyuandit.py:113
Method
forward
(self, x)
baselines/core/models/denoisers/hunyuan3d_v21/hunyuandit.py:134
Method
forward
Parameters ---------- x: torch.Tensor (batch, seqlen1, hidden_dim) (where hidden_dim = num heads * head dim)
baselines/core/models/denoisers/hunyuan3d_v21/hunyuandit.py:177
Method
forward
(self, x)
baselines/core/models/denoisers/hunyuan3d_v21/hunyuandit.py:254
Method
forward
(self, x)
baselines/core/models/denoisers/hunyuan3d_v21/hunyuandit.py:287
Method
forward
(self, x, c=None, text_states=None, skip_value=None)
baselines/core/models/denoisers/hunyuan3d_v21/hunyuandit.py:392
Method
forward
(self, x, c=None, text_states=None, skip_value=None)
baselines/core/models/denoisers/hunyuan3d_v21/hunyuandit.py:440
Method
forward
(self, x, attention_mask=None)
baselines/core/models/denoisers/hunyuan3d_v21/hunyuandit.py:480
Method
forward
(self, x)
baselines/core/models/denoisers/hunyuan3d_v21/hunyuandit.py:523
Method
forward
(self, x, t, contexts, **kwargs)
baselines/core/models/denoisers/hunyuan3d_v21/hunyuandit.py:701
Method
forward
(ctx, x, loss)
baselines/core/models/denoisers/hunyuan3d_v21/moe_layers.py:30
Method
forward
(self, hidden_states)
baselines/core/models/denoisers/hunyuan3d_v21/moe_layers.py:63
Method
forward
(self, hidden_states)
baselines/core/models/denoisers/hunyuan3d_v21/moe_layers.py:134
Method
forward
Forward process. Args: x: tensor of shape [..., dim] Returns: embedding: an embedding of `x` of shape [...,
baselines/core/models/autoencoders/attention_blocks.py:123
Method
forward
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks). This is the same as the DropConnect impl I created f
baselines/core/models/autoencoders/attention_blocks.py:153
Method
forward
(self, x)
baselines/core/models/autoencoders/attention_blocks.py:191
Method
forward
(self, q, kv)
baselines/core/models/autoencoders/attention_blocks.py:213
Method
forward
(self, x, data)
baselines/core/models/autoencoders/attention_blocks.py:260
Method
forward
(self, x: torch.Tensor, data: torch.Tensor)
baselines/core/models/autoencoders/attention_blocks.py:306
Method
forward
(self, qkv)
baselines/core/models/autoencoders/attention_blocks.py:328
Method
forward
(self, x)
baselines/core/models/autoencoders/attention_blocks.py:369
Method
forward
(self, x: torch.Tensor)
baselines/core/models/autoencoders/attention_blocks.py:402
Method
forward
(self, x: torch.Tensor)
baselines/core/models/autoencoders/attention_blocks.py:440
Method
forward
(self, queries=None, query_embeddings=None, latents=None)
baselines/core/models/autoencoders/attention_blocks.py:494
Method
forward
Args: pc (torch.FloatTensor): [B, N, 3] feats (torch.FloatTensor or None): [B, N, C] Returns:
baselines/core/models/autoencoders/attention_blocks.py:713
Method
forward
(self, latents)
baselines/core/models/autoencoders/model.py:319
Function
fps
( src: torch.Tensor, batch: Optional[Tensor] = None, ratio: Optional[Union[Tensor, float]] = None,
baselines/core/models/autoencoders/attention_blocks.py:507
Method
from_pretrained
( cls, model_path, device='cuda', dtype=torch.float16, use_safetensors
baselines/core/models/denoisers/hunyuan3d_v21/hunyuandit.py:574
Method
get_noise_from_velocity
Wrapper function: transfrom velocity prediction model to denoiser Args: velocity: [batch_dim, ...] shaped tensor; velocity model o
baselines/core/models/diffusion/transport/path.py:111
Function
get_obj_from_config
(config)
baselines/core/utils/misc.py:48
Function
get_rank
()
baselines/core/utils/misc.py:94
Method
get_velocity_from_score
Wrapper function: transfrom score prediction model to velocity Args: score: [batch_dim, ...] shaped tensor; score model output
baselines/core/models/diffusion/transport/path.py:127
Function
getdata_list_zero
(meta_info, split_list, filter_list_path)
baselines/core/data/dit_dataset.py:1318
Function
identity
Return the argument as is.
baselines/core/data/utils.py:32
Method
initialize_weight
(self)
baselines/core/models/denoisers/hunyuan3d_v21/moe_layers.py:131
Method
invoke
(self, *args, **kw)
baselines/core/data/utils.py:28
Method
jupyter_mode
(self)
baselines/core/utils/visualizers/pythreejs_viewer.py:45
Method
kl
Compute the Kullback-Leibler (KL) divergence between this distribution and another. If `other` is None, compute KL divergence to a s
baselines/core/models/autoencoders/model.py:79
Function
load_json
(filepath)
baselines/core/utils/io.py:33
Function
log_state
(state)
baselines/core/models/diffusion/transport/utils.py:43
Function
lookup_sym
Look up a symbol in a list of modules.
baselines/core/data/utils.py:44
Function
make_seed
(*args)
baselines/core/data/utils.py:20
Method
maybe_free_model_hooks
r""" Function that offloads all components, removes all model hooks that were added when using `enable_model_cpu_offload` and then app
baselines/core/pipelines.py:404
Function
mkdir
(path)
baselines/core/utils/io.py:11
Function
modulate
(x, shift, scale)
baselines/core/models/denoisers/hunyuan3d_v21/hunyuandit.py:39
Method
nll
(self, sample, dims=(1, 2, 3))
baselines/core/models/autoencoders/model.py:106
Function
node_zero_experiment
Returns the real experiment on rank 0 and otherwise the DummyExperiment.
baselines/core/utils/trainings/callback.py:37
Function
node_zero_only
(fn: Callable)
baselines/core/utils/trainings/callback.py:27
Method
noise_ode
(x, t, model, **model_kwargs)
baselines/core/models/diffusion/transport/transport.py:212
Method
offline
(self)
baselines/core/utils/visualizers/pythreejs_viewer.py:48
Method
on_fit_start
(self, trainer: pl.trainer.Trainer, pl_module: pl.LightningModule)
baselines/main_release.py:49
Method
on_fit_start
(self, trainer: pl.trainer.Trainer, pl_module: pl.LightningModule)
baselines/core/utils/trainings/callback.py:75
Method
on_load_checkpoint
The pt_model is trained separately, so we already have access to its checkpoint and load it separately with `self.set_pt_model`.
baselines/core/models/diffusion/flow_matching_sit.py:207
Method
on_train_batch_end
(self, trainer: pl.trainer.Trainer, pl_module: pl.LightningModule, outputs: Generic
baselines/core/utils/trainings/callback.py:183
Method
on_train_batch_end
(self, trainer, pl_module, outputs, batch, batch_idx)
baselines/core/utils/trainings/callback.py:218
Method
on_train_batch_end
(self, trainer, pl_module, outputs, batch, batch_idx)
baselines/core/utils/trainings/callback.py:238
Method
on_train_batch_end
(self, trainer, pl_module, outputs, batch, batch_idx)
baselines/core/utils/trainings/peft.py:71
Method
on_train_batch_end
(self, trainer: pl.trainer.Trainer, pl_module: pl.LightningModule, outputs: Generic
baselines/core/utils/trainings/mesh_log_callback.py:233
Method
on_train_batch_end
( self, trainer: pl.trainer.Trainer, pl_module: pl.LightningModule, outputs: G
baselines/core/utils/trainings/mesh_log_callback.py:297
Method
on_train_batch_end
(self, *args, **kwargs)
baselines/core/models/diffusion/flow_matching_sit.py:327
Method
on_train_batch_start
(self, batch, batch_idx)
baselines/core/models/diffusion/flow_matching_sit.py:311
Method
on_train_epoch_end
(self, trainer, pl_module, outputs)
baselines/core/utils/trainings/callback.py:201
Method
on_train_epoch_end
(self, trainer, pl_module)
baselines/core/utils/trainings/peft.py:65
Method
on_train_epoch_start
(self, trainer, pl_module)
baselines/core/utils/trainings/callback.py:195
Method
on_train_epoch_start
(self)
baselines/core/models/diffusion/flow_matching_sit.py:331
Method
on_validation_batch_end
(self, trainer: pl.trainer.Trainer, pl_module: pl.LightningModule, outputs: Ge
baselines/core/utils/trainings/callback.py:187
Method
on_validation_batch_end
(self, trainer: pl.trainer.Trainer, pl_module: pl.LightningModule, outputs: Ge
baselines/core/utils/trainings/mesh_log_callback.py:243
Function
override_material
()
baselines/tools/render/render.py:822
Method
prepare_data
(self)
baselines/core/data/dit_dataset.py:1495
Function
process_point_chunk
process a single point cloud chunk, return the result and error info
baselines/scripts_prepare/step1_prepare_imgdict.py:11
Function
pytorch_worker_seed
Compute a distinct, deterministic RNG seed for each worker and node.
baselines/core/data/utils.py:129
Method
remove_object
(self, obj_id)
baselines/core/utils/visualizers/pythreejs_viewer.py:402
Function
repeatedly
Repeatedly yield samples from an iterator.
baselines/core/data/utils.py:67
Function
repeatedly0
Repeatedly returns batches from a DataLoader.
baselines/core/data/utils.py:54
Method
reset_parameters
Resets parameters based on their initialization used in __init__.
baselines/core/models/denoisers/hunyuan3d_v21/hunyuandit.py:247
Method
run
Extract surface mesh using the Marching Cubes algorithm. Args: grid_logit (torch.Tensor): 3D grid logits tensor represen
baselines/core/models/autoencoders/surface_extractors.py:102
Method
run
Extract surface mesh using Differentiable Marching Cubes (DMC) algorithm. Args: grid_logit (torch.Tensor): 3D grid logit
baselines/core/models/autoencoders/surface_extractors.py:128
Function
safe_eval
Evaluate the given expression more safely.
baselines/core/data/utils.py:37
Method
sample
(self, batch, output_type='trimesh', **kwargs)
baselines/core/models/diffusion/flow_matching_sit.py:404
Method
sample
(self, x, model, **model_kwargs)
baselines/core/models/diffusion/transport/integrators.py:123
Method
sample_ode_intermediate
returns a sampling function with given ODE settings and time step t Args: - sampling_method: type of sampler used in solving the ODE;
baselines/core/models/diffusion/transport/transport.py:430
Method
sample_ode_likelihood
returns a sampling function for calculating likelihood with given ODE settings Args: - sampling_method: type of sampler used in solvin
baselines/core/models/diffusion/transport/transport.py:477
Method
sample_sde
returns a sampling function with given SDE settings Args: - sampling_method: type of sampler used in solving the SDE; default to be Eu
baselines/core/models/diffusion/transport/transport.py:324
Method
scale_noise
Forward process in flow-matching Args: sample (`torch.FloatTensor`): The input sample. times
baselines/core/schedulers.py:127
Method
schedule
(self, n, **kwargs)
baselines/core/utils/trainings/lr_scheduler.py:20
Method
score_ode
(x, t, model, **model_kwargs)
baselines/core/models/diffusion/transport/transport.py:207
Function
sdf_func
(sdf_value, sdf_res)
baselines/core/data/dit_dataset.py:117
Method
select_topkv
(self, q_chunk, k, v, topk)
baselines/core/models/autoencoders/attention_processors.py:86
Method
set_begin_index
Sets the begin index for the scheduler. This function should be run from pipeline before the inference. Args: begin_inde
baselines/core/schedulers.py:117
Method
set_begin_index
Sets the begin index for the scheduler. This function should be run from pipeline before the inference. Args: begin_inde
baselines/core/schedulers.py:369
Method
set_timesteps
Sets the discrete timesteps used for the diffusion chain (to be run before inference). Args: num_inference_steps (`int`)
baselines/core/schedulers.py:382
Method
setup
(self, stage=None)
baselines/core/data/dit_dataset.py:1499
Function
shardlist
Given a list of URLs, yields that list, possibly shuffled.
baselines/core/data/tariterators.py:64
Method
step
( self, model_output: torch.FloatTensor, timestep: Union[float, torch.FloatTensor],
baselines/core/schedulers.py:436
Method
step_index
The index counter for current timestep. It will increase 1 after each scheduler step.
baselines/core/schedulers.py:103
Method
step_index
The index counter for current timestep. It will increase 1 after each scheduler step.
baselines/core/schedulers.py:355
Function
tarfile_samples
Given a stream of tar files, yield samples. Args: src: stream of tar files handler: exception handler select_files: funct
baselines/core/data/tariterators.py:395
Function
to_html_frame
(content)
baselines/core/utils/visualizers/html_util.py:23
Function
to_image_embed_tag
(image: np.ndarray)
baselines/core/utils/visualizers/html_util.py:50
← previous
next →
401–500 of 516, ranked by callers