MCPcopy Create free account

hub / github.com/Tencent/digitalhuman / functions

Functions5,073 in github.com/Tencent/digitalhuman

↓ 1 callersFunction_materialize_futures
(*args, **kwargs)
RLVER/code/verl/single_controller/base/decorator.py:379
↓ 1 callersFunction_materialize_futures
(*args, **kwargs)
RLVMR/code/verl/single_controller/base/decorator.py:379
↓ 1 callersMethod_maybe_log_val_generations
Log a table of validation samples to the configured logger (wandb or swanlab)
RLVMR/code/verl/trainer/ppo/ray_trainer.py:539
↓ 1 callersMethod_maybe_log_val_generations_to_wandb
Log a table of validation samples to wandb
RLVER/code/verl/trainer/ppo/ray_trainer.py:631
↓ 1 callersMethod_maybe_log_val_generations_to_wandb
Log a table of validation samples to wandb
RLVER/code/verl/trainer/ppo/ray_trainer_think.py:624
↓ 1 callersFunction_megatron_calc_layer_map
Calculate the mapping of global layer_idx to local layer_idx Returns: layer_map (Dict: int -> tuple(int, int, int)): mapping f
RLVER/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader.py:21
↓ 1 callersFunction_megatron_calc_layer_map
Calculate the mapping of global layer_idx to local layer_idx Returns: layer_map (Dict: int -> tuple(int, int, int)): mapping f
RLVER/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_saver.py:45
↓ 1 callersFunction_megatron_calc_layer_map
Calculate the mapping of global layer_idx to local layer_idx Returns: layer_map (Dict: int -> tuple(int, int, int)): mapping f
RLVER/code/verl/models/llama/megatron/checkpoint_utils/llama_saver.py:49
↓ 1 callersFunction_megatron_calc_layer_map
Calculate the mapping of global layer_idx to local layer_idx Returns: layer_map (Dict: int -> tuple(int, int, int)): mapping f
RLVER/code/verl/models/llama/megatron/checkpoint_utils/llama_loader.py:23
↓ 1 callersFunction_megatron_calc_layer_map
Calculate the mapping of global layer_idx to local layer_idx Returns: layer_map (Dict: int -> tuple(int, int, int)): mapping f
RLVMR/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader_depracated.py:21
↓ 1 callersFunction_megatron_calc_layer_map
Calculate the mapping of global layer_idx to local layer_idx Returns: layer_map (Dict: int -> tuple(int, int, int)): mapping f
RLVMR/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader.py:21
↓ 1 callersFunction_megatron_calc_layer_map
Calculate the mapping of global layer_idx to local layer_idx Returns: layer_map (Dict: int -> tuple(int, int, int)): mapping f
RLVMR/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_saver.py:39
↓ 1 callersFunction_megatron_calc_layer_map
Calculate the mapping of global layer_idx to local layer_idx Returns: layer_map (Dict: int -> tuple(int, int, int)): mapping f
RLVMR/code/verl/models/llama/megatron/checkpoint_utils/llama_saver.py:39
↓ 1 callersFunction_megatron_calc_layer_map
Calculate the mapping of global layer_idx to local layer_idx Returns: layer_map (Dict: int -> tuple(int, int, int)): mapping f
RLVMR/code/verl/models/llama/megatron/checkpoint_utils/llama_loader.py:23
↓ 1 callersFunction_megatron_calc_layer_map
Calculate the mapping of global layer_idx to local layer_idx Returns: layer_map (Dict: int -> tuple(int, int, int)): mapping f
RLVMR/code/verl/models/llama/megatron/checkpoint_utils/llama_loader_depracated.py:23
↓ 1 callersMethod_merge_repeats
Merge repeated characters in alignment path Args: path: Alignment path from backtracking transcript:
BatonVoice/audio_feature_extractor.py:636
↓ 1 callersMethod_merge_two_segments
Merge two word segments into one Args: segment1: First word segment segment2: Second word segment
BatonVoice/audio_feature_extractor.py:830
↓ 1 callersFunction_mkdir
hdfs mkdir
RLVER/code/verl/utils/hdfs_io.py:75
↓ 1 callersFunction_mkdir
hdfs mkdir
RLVMR/code/verl/utils/hdfs_io.py:75
↓ 1 callersMethod_norm
Apply the OpenELMRMSNorm normalization to the input tensor. Args: x (torch.Tensor): The input tensor. Returns:
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:358
↓ 1 callersMethod_normalize_config_bsz
(self)
RLVER/code/verl/trainer/fsdp_sft_trainer.py:110
↓ 1 callersMethod_normalize_config_bsz
(self)
RLVMR/code/verl/trainer/fsdp_sft_trainer.py:110
↓ 1 callersMethod_optimizer_step
(self)
RLVER/code/verl/workers/critic/dp_critic.py:100
↓ 1 callersMethod_optimizer_step
(self)
RLVER/code/verl/workers/actor/dp_actor.py:143
↓ 1 callersMethod_optimizer_step
(self)
RLVMR/code/recipe/prime/prime_dp_rm.py:183
↓ 1 callersMethod_optimizer_step
(self)
RLVMR/code/verl/workers/critic/dp_critic.py:115
↓ 1 callersMethod_optimizer_step
(self)
RLVMR/code/verl/workers/actor/dp_actor.py:161
↓ 1 callersFunction_parse_latex
Attempts to parse latex to an expression sympy can read.
RLVER/code/verl/utils/reward_score/prime_math/__init__.py:47
↓ 1 callersFunction_parse_latex
Attempts to parse latex to an expression sympy can read.
RLVMR/code/verl/utils/reward_score/prime_math/__init__.py:74
↓ 1 callersMethod_pick_allowed_duration
(target: float, choices: Sequence[int])
ScriptAgent/code/director_agent.py:2050
↓ 1 callersFunction_post_process_outputs
(tokenizer, output)
RLVMR/code/verl/workers/rollout/sglang_rollout/sglang_rollout.py:58
↓ 1 callersMethod_post_process_params
For each param, if it is a tp-splited param, we all-gather from micro_dp group.
RLVER/code/verl/workers/sharding_manager/megatron_vllm.py:334
↓ 1 callersMethod_post_process_params
For each param, if it is a tp-splited param, we all-gather from micro_dp group.
RLVMR/code/verl/workers/sharding_manager/megatron_vllm.py:336
↓ 1 callersFunction_pre_process_inputs
(pad_token_id, prompt_token_ids: torch.Tensor)
RLVER/code/verl/workers/rollout/vllm_rollout/fire_vllm_rollout.py:50
↓ 1 callersFunction_pre_process_inputs
(pad_token_id, prompt_token_ids: torch.Tensor)
RLVER/code/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd.py:62
↓ 1 callersFunction_pre_process_inputs
(pad_token_id, prompt_token_ids: torch.Tensor)
RLVMR/code/verl/workers/rollout/sglang_rollout/sglang_rollout.py:49
↓ 1 callersFunction_pre_process_inputs
(pad_token_id, prompt_token_ids: torch.Tensor)
RLVMR/code/verl/workers/rollout/vllm_rollout/fire_vllm_rollout.py:50
↓ 1 callersFunction_pre_process_inputs
(pad_token_id, prompt_token_ids: torch.Tensor)
RLVMR/code/verl/workers/rollout/vllm_rollout/vllm_rollout.py:49
↓ 1 callersFunction_pre_process_inputs
(pad_token_id, prompt_token_ids: torch.Tensor)
RLVMR/code/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd.py:50
↓ 1 callersMethod_preload_prompt_features
Preload prompt audio features for voice cloning Feature Extraction Process: 1. Load prompt audio file and resample t
BatonVoice/unified_tts.py:230
↓ 1 callersMethod_prepare_decoder_attention_mask
(self, attention_mask, input_shape, inputs_embeds)
RLVER/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:97
↓ 1 callersMethod_prepare_decoder_attention_mask
(self, attention_mask, input_shape, inputs_embeds)
RLVER/code/verl/models/llama/megatron/modeling_llama_megatron.py:97
↓ 1 callersMethod_prepare_decoder_attention_mask
(self, attention_mask, input_shape, inputs_embeds)
RLVMR/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:101
↓ 1 callersMethod_prepare_decoder_attention_mask
(self, attention_mask, input_shape, inputs_embeds)
RLVMR/code/verl/models/llama/megatron/modeling_llama_megatron.py:101
↓ 1 callersMethod_prepare_mode2_input
Prepare input prompt for Mode 2 inference (matches mode2.py exactly) Mode 2 Input Format (from mode2.py): <custom_to
BatonVoice/unified_tts.py:445
↓ 1 callersMethod_preprocess_text
Preprocess text by removing characters not in vocabulary Args: text: Original text Returns:
BatonVoice/audio_feature_extractor.py:322
↓ 1 callersMethod_print_summary
Print evaluation summary.
ScriptAgent/code/critic_agent_video.py:1717
↓ 1 callersMethod_probe_duration
(self, wav_path: str)
ScriptAgent/code/director_agent.py:330
↓ 1 callersMethod_process_batch
(self, batch_idx, total_batch_list, total_infos, success)
RLVMR/code/agent_system/environments/base.py:118
↓ 1 callersMethod_process_gamefile
(self, gamefile, won_value, success)
RLVMR/code/agent_system/environments/env_manager.py:182
↓ 1 callersMethod_prompt
( self, question_list, answer_list, )
VISTA/TinyLLaVA-VISTA/tinyllava/data/template/base.py:78
↓ 1 callersFunction_quantize
(x, bins)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/group_by_aspect_ratio.py:171
↓ 1 callersMethod_read_files_and_tokenize
(self)
RLVER/code/verl/utils/dataset/rm_dataset.py:85
↓ 1 callersMethod_read_files_and_tokenize
(self)
RLVER/code/verl/utils/dataset/sft_dataset.py:73
↓ 1 callersMethod_read_files_and_tokenize
(self)
RLVMR/code/verl/utils/dataset/rm_dataset.py:85
↓ 1 callersMethod_read_files_and_tokenize
(self)
RLVMR/code/verl/utils/dataset/sft_dataset.py:76
↓ 1 callersFunction_rebuild_script_with_original_format
Rebuild script, maintaining original format and section labels Args: original_script: Original script text updated_nodes
ScriptAgent/code/director_agent.py:717
↓ 1 callersMethod_reduce_helper
(self, start, end, node, node_start, node_end)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/segment_tree.py:31
↓ 1 callersMethod_register
(self, llm_layers_index)
VISTA/TinyLLaVA-VISTA/tinyllava_visualizer/tinyllava_visualizer.py:133
↓ 1 callersFunction_remove_right_units
(string)
RLVER/code/verl/utils/reward_score/prime_math/math_normalize.py:104
↓ 1 callersFunction_remove_right_units
(string)
RLVMR/code/verl/utils/reward_score/prime_math/math_normalize.py:104
↓ 1 callersFunction_replace_name
(megatron_name, name_mapping)
RLVER/code/scripts/model_merger.py:414
↓ 1 callersFunction_rotate_half
(x: Tensor)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:411
↓ 1 callersMethod_run_command
(self, cmd: Sequence[str])
ScriptAgent/code/director_agent.py:321
↓ 1 callersMethod_sanitize_response_for_logging
Remove or truncate base64 data from response for logging. Args: response: Original response dictionary.
ScriptAgent/code/critic_agent_video.py:176
↓ 1 callersMethod_save
(self, output_dir: Optional[str] = None, state_dict=None)
VISTA/LLaVA-VISTA/llava/train/llava_trainer.py:251
↓ 1 callersMethod_select_node_seconds
(self, node_text: str, index: int)
ScriptAgent/code/director_agent.py:2002
↓ 1 callersFunction_select_rm_score_fn
(data_source)
RLVER/code/examples/split_placement/main_ppo_split.py:24
↓ 1 callersFunction_select_rm_score_fn
(data_source)
RLVMR/code/examples/split_placement/main_ppo_split.py:24
↓ 1 callersMethod_send_api_request
Send request to OpenRouter API and get model response. Args: prompt (str): Formatted prompt to send to the model
BatonVoice/openrouter_gemini_client.py:225
↓ 1 callersMethod_setup_sampling_params
Configure sampling parameters for text generation (matches mode1.py exactly) Sampling Strategy: The parameters are c
BatonVoice/unified_tts.py:336
↓ 1 callersMethod_setup_special_tokens
Configure special tokens for TTS control and mode switching Special Tokens Purpose: - custom_token_0: Marks the star
BatonVoice/unified_tts.py:288
↓ 1 callersFunction_str_to_int
(x: str)
RLVER/code/verl/utils/reward_score/prime_math/__init__.py:93
↓ 1 callersFunction_str_to_int
(x: str)
RLVMR/code/verl/utils/reward_score/prime_math/__init__.py:120
↓ 1 callersFunction_strip_parenthetical_content
(text: str)
ScriptAgent/code/director_agent.py:203
↓ 1 callersFunction_strip_string
(string)
RLVER/code/verl/utils/reward_score/prime_math/math_normalize.py:129
↓ 1 callersFunction_strip_string
(string)
RLVMR/code/verl/utils/reward_score/prime_math/math_normalize.py:129
↓ 1 callersMethod_switch_chat_template
(self, data: DataProto)
RLVER/code/verl/workers/fsdp_workers.py:1090
↓ 1 callersMethod_switch_chat_template
(self, data: DataProto)
RLVMR/code/verl/workers/fsdp_workers.py:1072
↓ 1 callersFunction_sympy_parse
Parses an expression with sympy.
RLVER/code/verl/utils/reward_score/prime_math/__init__.py:38
↓ 1 callersFunction_sympy_parse
Parses an expression with sympy.
RLVMR/code/verl/utils/reward_score/prime_math/__init__.py:65
↓ 1 callersMethod_task_assign
( self, tasks: List[Task], survived_agent_names: set, **kwargs )
SWF/src/base.py:186
↓ 1 callersFunction_test_extract_answer
()
RLVER/code/verl/utils/reward_score/simplerl_utils/paser.py:742
↓ 1 callersFunction_test_math_equal
()
RLVER/code/verl/utils/reward_score/simplerl_utils/grader.py:354
↓ 1 callersFunction_transform_params_to_json_serializable
(x, convert_list_to_dict: bool)
RLVER/code/verl/utils/tracking.py:143
↓ 1 callersFunction_transform_params_to_json_serializable
(x, convert_list_to_dict: bool)
RLVMR/code/verl/utils/tracking.py:152
↓ 1 callersMethod_upad_input
( self, query_layer, key_layer, value_layer, attention_mask, query_length )
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:694
↓ 1 callersMethod_upad_input
(self, query_layer, key_layer, value_layer, attention_mask, query_length)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/modeling_phi.py:580
↓ 1 callersMethod_update_causal_mask
( self, attention_mask: torch.Tensor, input_tensor: torch.Tensor,
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:1242
↓ 1 callersMethod_update_causal_mask
(self, attention_mask, input_tensor)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:1037
↓ 1 callersMethod_update_reference
(self, video_path: str, filename_stub: str, base_dir: str)
ScriptAgent/code/director_agent.py:1686
↓ 1 callersMethod_validate_config
(self)
RLVER/code/verl/trainer/ppo/ray_trainer.py:439
↓ 1 callersMethod_validate_config
(self)
RLVER/code/verl/trainer/ppo/ray_trainer_think.py:437
↓ 1 callersMethod_validate_config
Validate config options not implemented for Megatron backend
RLVER/code/verl/workers/critic/megatron_critic.py:79
↓ 1 callersMethod_validate_config
Validate config options not implemented for Megatron backend
RLVER/code/verl/workers/actor/megatron_actor.py:139
↓ 1 callersMethod_validate_config
(self)
RLVMR/code/verl/trainer/ppo/ray_trainer.py:356
↓ 1 callersMethod_validate_config
Validate config options not implemented for Megatron backend
RLVMR/code/verl/workers/critic/megatron_critic.py:69
↓ 1 callersMethod_validate_config
Validate config options not implemented for Megatron backend
RLVMR/code/verl/workers/actor/megatron_actor.py:138
↓ 1 callersMethod_validate_params
(self)
ScriptAgent/code/director_agent.py:1760
↓ 1 callersMethod_vision_tower_tune_type_setting
(self, model)
VISTA/TinyLLaVA-VISTA/tinyllava/training_recipe/base.py:50
← previousnext →1,601–1,700 of 5,073, ranked by callers