MCPcopy Create free account

hub / github.com/character-ai/Ovi / functions

Functions478 in github.com/character-ai/Ovi

↓ 1 callersFunction_create_build_dir
(buildpath)
ovi/modules/mmaudio/ext/bigvgan_v2/alias_free_activation/cuda/load.py:81
↓ 1 callersFunction_get_cuda_bare_metal_version
(cuda_dir)
ovi/modules/mmaudio/ext/bigvgan_v2/alias_free_activation/cuda/load.py:68
↓ 1 callersFunction_init_logging
(rank)
inference.py:16
↓ 1 callersMethod_init_step_index
Initialize the step_index counter for the scheduler.
ovi/utils/fm_solvers.py:693
↓ 1 callersMethod_init_step_index
Initialize the step_index counter for the scheduler.
ovi/utils/fm_solvers_unipc.py:643
↓ 1 callersMethod_norm
(self, x)
ovi/modules/model.py:181
↓ 1 callersFunction_parse_area
(val)
ovi/utils/processing_utils.py:17
↓ 1 callersMethod_relative_position_bucket
(self, rel_pos)
ovi/modules/t5.py:245
↓ 1 callersFunction_t5
(name, encoder_only=False, decoder_only=False, return_tokenizer=False, tokeniz
ovi/modules/t5.py:415
↓ 1 callersFunction_video_vae
Autoencoder3d adapted from Stable Diffusion 1.x, 2.x and XL.
ovi/modules/vae.py:616
↓ 1 callersFunction_video_vae
(pretrained_path=None, z_dim=16, dim=160, device="cpu", **kwargs)
ovi/modules/vae2_2.py:863
↓ 1 callersFunctionall_gather
Performs an all-gather operation on the input tensor along the specified dimension. Args: input_ (torch.Tensor): Input tensor of shape [B
ovi/distributed_comms/communications.py:241
↓ 1 callersFunctionaudio_bytes_to_tensor
Convert audio bytes to a 16kHz mono torch tensor in [-1, 1]. Args: audio_bytes (bytes): Raw audio bytes target_sr (int):
ovi/utils/processing_utils.py:253
↓ 1 callersFunctioncanonicalize
(text, keep_punctuation_exact_string=None)
ovi/modules/tokenizers.py:24
↓ 1 callersFunctionclip_xlm_roberta_vit_h_14
( pretrained=False, pretrained_name='open-clip-xlm-roberta-large-vit-huge-14', **kwarg
ovi/modules/clip.py:474
↓ 1 callersFunctionconst_like
(ref, value, shape=None, dtype=None, device=None, memory_format=None)
ovi/modules/mmaudio/ext/autoencoder/edm2_utils.py:42
↓ 1 callersFunctionconstant
(value, shape=None, dtype=None, device=None, memory_format=None)
ovi/modules/mmaudio/ext/autoencoder/edm2_utils.py:20
↓ 1 callersMethodconvert_model_output
Convert the model output to the corresponding type the DPMSolver/DPMSolver++ algorithm needs. DPM-Solver is designed to discretize an
ovi/utils/fm_solvers.py:341
↓ 1 callersMethodconvert_model_output
r""" Convert the model output to the corresponding type the UniPC algorithm needs. Args: model_output (`torch.Tensor`):
ovi/utils/fm_solvers_unipc.py:279
↓ 1 callersMethoddecide_system_prompt
(self, tar_lang="ch")
ovi/utils/prompt_extend.py:131
↓ 1 callersMethoddecode
(self, z, scale)
ovi/modules/vae.py:568
↓ 1 callersMethoddecode
(self, z: torch.Tensor)
ovi/modules/mmaudio/features_utils.py:74
↓ 1 callersMethoddecode
(self, z: torch.Tensor, unnormalize: bool = True)
ovi/modules/mmaudio/ext/autoencoder/vae.py:123
↓ 1 callersMethoddecode_stream
(self, z, scale)
ovi/modules/vae.py:544
↓ 1 callersMethoddpm_solver_first_order_update
One step for the first-order DPMSolver (equivalent to DDIM). Args: model_output (`torch.Tensor`): The dir
ovi/utils/fm_solvers.py:415
↓ 1 callersFunctiondynamic_range_compression_torch
(x, C=1, clip_val=1e-5, norm_fn=torch.log10)
ovi/modules/mmaudio/ext/stft_converter_mel.py:10
↓ 1 callersFunctiondynamic_range_compression_torch
(x, C=1, clip_val=1e-5, *, norm_fn)
ovi/modules/mmaudio/ext/mel_converter.py:9
↓ 1 callersFunctiondynamic_range_compression_torch
(x, C=1, clip_val=1e-5, norm_fn=torch.log10)
ovi/modules/mmaudio/ext/stft_converter.py:10
↓ 1 callersMethodencode
videos: A list of videos each with shape [C, T, H, W].
ovi/modules/vae.py:671
↓ 1 callersMethodencode_audio
(self, x)
ovi/modules/mmaudio/features_utils.py:60
↓ 1 callersMethodextend_with_img
(self, prompt, system_prompt, image=No
ovi/utils/prompt_extend.py:119
↓ 1 callersFunctionextract_vision_info
( conversations: list[dict] | list[list[dict]])
ovi/utils/qwen_vl_utils.py:328
↓ 1 callersFunctionfetch_video
( ele: dict, image_factor: int = IMAGE_FACTOR)
ovi/utils/qwen_vl_utils.py:274
↓ 1 callersFunctionformat_prompt_for_filename
(text: str)
ovi/utils/processing_utils.py:243
↓ 1 callersMethodforward
(self, x)
ovi/modules/mmaudio/ext/bigvgan_v2/alias_free_activation/cuda/activation1d.py:54
↓ 1 callersFunctionget_argument_parser
()
ovi/utils/utils.py:41
↓ 1 callersFunctionget_arguments
(args=argv[1:])
ovi/utils/utils.py:15
↓ 1 callersFunctionget_mel_converter
(mode: Literal['16k', '44k'])
ovi/modules/mmaudio/ext/mel_converter.py:86
↓ 1 callersFunctionget_sampling_sigmas
(sampling_steps, shift)
ovi/utils/fm_solvers.py:22
↓ 1 callersFunctionget_video_reader_backend
()
ovi/utils/qwen_vl_utils.py:261
↓ 1 callersFunctioninit_fusion_score_model_ovi
(rank: int = 0, meta_init=False)
ovi/utils/model_loading_utils.py:35
↓ 1 callersFunctioninit_mmaudio_vae
(ckpt_dir, rank=0)
ovi/utils/model_loading_utils.py:20
↓ 1 callersFunctioninit_text_model
(ckpt_dir, rank, cpu_offload=False)
ovi/utils/model_loading_utils.py:62
↓ 1 callersFunctioninit_wan_vae_2_2
(ckpt_dir, rank=0)
ovi/utils/model_loading_utils.py:11
↓ 1 callersMethodinit_weights
(self)
ovi/modules/fusion.py:309
↓ 1 callersMethodinit_weights
r""" Initialize model parameters using Xavier initialization.
ovi/modules/model.py:907
↓ 1 callersFunctioninitialize_sequence_parallel_group
Initialize the sequence parallel group.
ovi/distributed_comms/parallel_states.py:41
↓ 1 callersFunctioninitialize_sequence_parallel_state
(sequence_parallel_size)
ovi/distributed_comms/parallel_states.py:20
↓ 1 callersMethodinitialize_weights
(self)
ovi/modules/mmaudio/ext/autoencoder/vae.py:113
↓ 1 callersMethodinject_cross_attention_kv_projections
(self)
ovi/modules/fusion.py:40
↓ 1 callersMethodinvert
(self, spec: torch.Tensor, length: int)
ovi/modules/mmaudio/ext/stft_converter_mel.py:127
↓ 1 callersMethodinvert
(self, spec: torch.Tensor, length: int)
ovi/modules/mmaudio/ext/stft_converter.py:118
↓ 1 callersFunctionis_decord_available
()
ovi/utils/qwen_vl_utils.py:215
↓ 1 callersFunctionload_config
Load configuration from yaml file
ovi/modules/mmaudio/test_vae.py:17
↓ 1 callersFunctionload_fusion_checkpoint
(model, checkpoint_path, from_meta=False)
ovi/utils/model_loading_utils.py:80
↓ 1 callersFunctionload_hparams_from_json
(path)
ovi/modules/mmaudio/ext/bigvgan_v2/bigvgan.py:26
↓ 1 callersFunctionmain
(config, args)
inference.py:28
↓ 1 callersFunctionmain
(output_dir: str)
download_weights.py:38
↓ 1 callersFunctionmain
()
ovi/modules/mmaudio/test_vae.py:22
↓ 1 callersMethodmerge_kwargs
keys in each kwarg: e seq_lens grid_sizes freqs context context_lens
ovi/modules/fusion.py:55
↓ 1 callersMethodmode
(self)
ovi/modules/mmaudio/ext/autoencoder/distributions.py:44
↓ 1 callersMethodmultistep_dpm_solver_second_order_update
One step for the second-order multistep DPMSolver. Args: model_output_list (`List[torch.Tensor]`): The di
ovi/utils/fm_solvers.py:486
↓ 1 callersMethodmultistep_dpm_solver_third_order_update
One step for the third-order multistep DPMSolver. Args: model_output_list (`List[torch.Tensor]`): The dir
ovi/utils/fm_solvers.py:596
↓ 1 callersMethodmultistep_uni_c_bh_update
One step for the UniC (B(h) version). Args: this_model_output (`torch.Tensor`): The model outputs at `x_
ovi/utils/fm_solvers_unipc.py:486
↓ 1 callersMethodmultistep_uni_p_bh_update
One step for the UniP (B(h) version). Alternatively, `self.solver_p` is used if is specified. Args: model_output (`torch
ovi/utils/fm_solvers_unipc.py:350
↓ 1 callersFunctionpad_freqs
(original_tensor, target_len)
ovi/distributed_comms/distributed/xdit_context_parallel.py:12
↓ 1 callersFunctionpatchify
(x, patch_size)
ovi/modules/vae2_2.py:280
↓ 1 callersFunctionpos_interpolate
(pos, seq_len)
ovi/modules/clip.py:22
↓ 1 callersFunctionprepare
(hidden_states, encoder_hidden_states, attention_mask, encoder_attention_mask)
ovi/distributed_comms/communications.py:264
↓ 1 callersFunctionprepare_sequence_parallel_data
(hidden_states, encoder_hidden_states, attention_mask, encoder_attention_ma
ovi/distributed_comms/communications.py:254
↓ 1 callersFunctionqkv_fn
(x)
ovi/distributed_comms/distributed/xdit_context_parallel.py:162
↓ 1 callersMethodqkv_fn
(self, x, context)
ovi/modules/model.py:269
↓ 1 callersMethodqkv_fn
(self, x, context)
ovi/modules/model.py:314
↓ 1 callersFunctionrand_name
(length=8, suffix='')
ovi/utils/utils.py:54
↓ 1 callersMethodremove_weight_norm
(self)
ovi/modules/mmaudio/ext/bigvgan_v2/bigvgan.py:335
↓ 1 callersMethodremove_weight_norm
(self)
ovi/modules/mmaudio/ext/bigvgan/models.py:106
↓ 1 callersMethodremove_weight_norm
(self)
ovi/modules/mmaudio/ext/bigvgan/bigvgan.py:29
↓ 1 callersMethodreparameterize
(self, mu, log_var)
ovi/modules/vae.py:594
↓ 1 callersFunctionrope_apply_1d
(x, grid_sizes, freqs)
ovi/modules/model.py:48
↓ 1 callersFunctionrope_apply_3d
(x, grid_sizes, freqs)
ovi/modules/model.py:73
↓ 1 callersMethodset_gradient_checkpointing
(self, enable: bool)
ovi/modules/model.py:689
↓ 1 callersFunctionset_sequence_parallel_state
(state)
ovi/distributed_comms/parallel_states.py:32
↓ 1 callersFunctionsinc
Implementation of sinc, i.e. sin(pi * x) / (pi * x) __Warning__: Different to julius.sinc, the input is multiplied by `pi`!
ovi/modules/mmaudio/ext/bigvgan_v2/alias_free_activation/torch/filter.py:15
↓ 1 callersFunctionsinc
Implementation of sinc, i.e. sin(pi * x) / (pi * x) __Warning__: Different to julius.sinc, the input is multiplied by `pi`!
ovi/modules/mmaudio/ext/bigvgan/alias_free_torch/filter.py:15
↓ 1 callersMethodsingle_fusion_cross_attention_forward
(self, cross_attn_block,
ovi/modules/fusion.py:72
↓ 1 callersFunctionsnap_hw_to_multiple_of_32
Scale (h, w) to match a target area if provided, then snap both dimensions to the nearest multiple of 32 (min 32). Args: h (
ovi/utils/processing_utils.py:141
↓ 1 callersFunctionspectral_normalize_torch
(magnitudes, norm_fn)
ovi/modules/mmaudio/ext/mel_converter.py:13
↓ 1 callersMethodstep
Predict the sample from the previous timestep by reversing the SDE. This function propagates the sample with the multistep UniPC.
ovi/utils/fm_solvers_unipc.py:655
↓ 1 callersMethodtime_shift
(self, mu: float, sigma: float, t: torch.Tensor)
ovi/utils/fm_solvers.py:337
↓ 1 callersMethodtime_shift
(self, mu: float, sigma: float, t: torch.Tensor)
ovi/utils/fm_solvers_unipc.py:276
↓ 1 callersFunctionumt5_xxl
(**kwargs)
ovi/modules/t5.py:456
↓ 1 callersMethodunnormalize
(self, x: torch.Tensor)
ovi/modules/mmaudio/ext/autoencoder/vae.py:132
↓ 1 callersFunctionunpatchify
(x, patch_size)
ovi/modules/vae2_2.py:299
↓ 1 callersFunctionvalidate_and_process_user_prompt
(text_prompt: str, image_path: str = None, mode: str = "t2v")
ovi/utils/processing_utils.py:206
↓ 1 callersMethodvisual
(self, videos)
ovi/modules/clip.py:530
↓ 1 callersMethodvocode
(self, mel: torch.Tensor)
ovi/modules/mmaudio/features_utils.py:69
↓ 1 callersMethodwrapped_decode
(self, z)
ovi/modules/mmaudio/features_utils.py:87
↓ 1 callersMethodwrapped_encode
(self, video)
ovi/modules/vae.py:700
FunctionPYBIND11_MODULE
ovi/modules/mmaudio/ext/bigvgan_v2/alias_free_activation/cuda/anti_alias_activation.cpp:21
Method__call__
(self, sequence, **kwargs)
ovi/modules/tokenizers.py:49
← previousnext →101–200 of 478, ranked by callers