Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/digitalhuman
/ functions
Functions
5,073 in github.com/Tencent/digitalhuman
⨍
Functions
5,073
◇
Types & classes
810
↳
Endpoints
92
↓ 1 callers
Function
_broadcast_tp_shard_tensor_qkv
broadcast tensor in tp shards across mp_group
RLVER/code/verl/models/llama/megatron/checkpoint_utils/llama_loader.py:280
↓ 1 callers
Function
_broadcast_tp_shard_tensor_qkv
broadcast tensor in tp shards across mp_group
RLVMR/code/verl/models/llama/megatron/checkpoint_utils/llama_saver.py:259
↓ 1 callers
Function
_broadcast_tp_shard_tensor_qkv
broadcast tensor in tp shards across mp_group
RLVMR/code/verl/models/llama/megatron/checkpoint_utils/llama_loader_depracated.py:285
↓ 1 callers
Function
_broadcast_tp_shard_tensor_vocab
broadcast tensor in tp shards across mp_group
RLVER/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader.py:131
↓ 1 callers
Function
_broadcast_tp_shard_tensor_vocab
broadcast tensor in tp shards across mp_group
RLVER/code/verl/models/llama/megatron/checkpoint_utils/llama_loader.py:133
↓ 1 callers
Function
_broadcast_tp_shard_tensor_vocab
broadcast tensor in tp shards across mp_group
RLVMR/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader_depracated.py:134
↓ 1 callers
Function
_broadcast_tp_shard_tensor_vocab
broadcast tensor in tp shards across mp_group
RLVMR/code/verl/models/llama/megatron/checkpoint_utils/llama_loader_depracated.py:138
↓ 1 callers
Method
_build_critic_model_optimizer
(self, model_path, megatron_config
RLVER/code/verl/workers/megatron_workers.py:476
↓ 1 callers
Method
_build_critic_model_optimizer
(self, config)
RLVER/code/verl/workers/fsdp_workers.py:685
↓ 1 callers
Method
_build_critic_model_optimizer
(self, model_path, megatron_config
RLVMR/code/verl/workers/megatron_workers.py:516
↓ 1 callers
Method
_build_critic_model_optimizer
(self, config)
RLVMR/code/verl/workers/fsdp_workers.py:663
↓ 1 callers
Method
_build_dataloader
(self)
RLVER/code/verl/trainer/fsdp_sft_trainer.py:121
↓ 1 callers
Method
_build_dataloader
(self)
RLVMR/code/verl/trainer/fsdp_sft_trainer.py:121
↓ 1 callers
Method
_build_model
(self, config)
RLVER/code/verl/workers/fsdp_workers.py:953
↓ 1 callers
Method
_build_model
(self, config)
RLVMR/code/verl/workers/fsdp_workers.py:937
↓ 1 callers
Method
_build_model_optimizer
(self)
RLVER/code/verl/trainer/fsdp_sft_trainer.py:181
↓ 1 callers
Method
_build_model_optimizer
(self)
RLVMR/code/verl/trainer/fsdp_sft_trainer.py:176
↓ 1 callers
Method
_build_param_buffer
Build the parameter buffer in each pp rank
RLVER/code/verl/workers/sharding_manager/megatron_vllm.py:84
↓ 1 callers
Method
_build_param_buffer
Build the parameter buffer in each pp rank
RLVMR/code/verl/workers/sharding_manager/megatron_vllm.py:86
↓ 1 callers
Method
_build_prompt
( self, node_text: str, index: int, total: int, characters_text: str,
ScriptAgent/code/director_agent.py:1643
↓ 1 callers
Method
_build_reward_ref_model_optimizer
(self, config)
RLVMR/code/recipe/prime/prime_fsdp_workers.py:84
↓ 1 callers
Method
_build_rm_model
(self, model_path, megatron_config: ModelParallelConfig, override_model_config)
RLVER/code/verl/workers/megatron_workers.py:647
↓ 1 callers
Method
_build_rm_model
(self, model_path, megatron_config: ModelParallelConfig, override_model_config)
RLVMR/code/verl/workers/megatron_workers.py:712
↓ 1 callers
Method
_build_rollout
(self)
RLVER/code/verl/workers/megatron_workers.py:228
↓ 1 callers
Method
_build_rollout
(self)
RLVER/code/verl/workers/fsdp_workers.py:290
↓ 1 callers
Method
_build_rollout
(self)
RLVMR/code/verl/workers/megatron_workers.py:242
↓ 1 callers
Method
_build_rollout
(self, trust_remote_code=False)
RLVMR/code/verl/workers/fsdp_workers.py:295
↓ 1 callers
Method
_calculate_average_metrics
Calculate average objective metrics.
ScriptAgent/code/critic_agent_video.py:1697
↓ 1 callers
Method
_calculate_average_scores
Calculate average scores across all evaluations.
ScriptAgent/code/critic_agent_script.py:626
↓ 1 callers
Method
_calculate_average_scores
Calculate average subjective scores.
ScriptAgent/code/critic_agent_video.py:1665
↓ 1 callers
Method
_calculate_frechet_distance
Calculate Frechet distance between two Gaussian distributions. Args: mu1, mu2: Mean vectors sigma1, sigma2: C
ScriptAgent/code/critic_agent_video.py:819
↓ 1 callers
Method
_call_reward
(self, data: DataProto)
RLVER/code/verl/workers/reward_manager/naive.py:101
↓ 1 callers
Method
_call_reward_ray
(self, data: DataProto)
RLVER/code/verl/workers/reward_manager/naive.py:43
↓ 1 callers
Function
_check_and_sort_partitions
(partitions)
RLVER/code/verl/utils/seqlen_balancing.py:170
↓ 1 callers
Function
_check_and_sort_partitions
(partitions)
RLVMR/code/verl/utils/seqlen_balancing.py:170
↓ 1 callers
Function
_check_dispatch_mode
(dispatch_mode)
RLVER/code/verl/single_controller/base/decorator.py:366
↓ 1 callers
Function
_check_dispatch_mode
(dispatch_mode)
RLVMR/code/verl/single_controller/base/decorator.py:366
↓ 1 callers
Function
_check_execute_mode
(execute_mode)
RLVER/code/verl/single_controller/base/decorator.py:375
↓ 1 callers
Function
_check_execute_mode
(execute_mode)
RLVMR/code/verl/single_controller/base/decorator.py:375
↓ 1 callers
Method
_check_resource_available
Check if the resource pool can be satisfied in this ray cluster.
RLVMR/code/verl/trainer/ppo/ray_trainer.py:110
↓ 1 callers
Function
_clean_fact
(fact: Proposition)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/utils/misc.py:99
↓ 1 callers
Function
_coco_remove_images_without_annotations
(dataset, cat_list=None)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/coco_utils.py:106
↓ 1 callers
Method
_compress_video
Compress video to target size. Args: video_path: Path to original video. target_size_mb: Target size in MB.
ScriptAgent/code/critic_agent_video.py:1006
↓ 1 callers
Method
_compute_answer_scores
compute the accuracy (soft score) of human answers
VISTA/LLaVA-VISTA/llava/eval/m4c_evaluator.py:225
↓ 1 callers
Method
_compute_answer_scores
compute the accuracy (soft score) of human answers
VISTA/TinyLLaVA-VISTA/tinyllava/eval/m4c_evaluator.py:225
↓ 1 callers
Function
_compute_aspect_ratios_coco_dataset
(dataset, indices=None)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/group_by_aspect_ratio.py:123
↓ 1 callers
Function
_compute_aspect_ratios_custom_dataset
(dataset, indices=None)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/group_by_aspect_ratio.py:112
↓ 1 callers
Function
_compute_aspect_ratios_slow
(dataset, indices=None)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/group_by_aspect_ratio.py:79
↓ 1 callers
Function
_compute_aspect_ratios_subset_dataset
(dataset, indices=None)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/group_by_aspect_ratio.py:146
↓ 1 callers
Function
_compute_aspect_ratios_voc_dataset
(dataset, indices=None)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/group_by_aspect_ratio.py:134
↓ 1 callers
Function
_compute_mlflow_params_from_objects
(params)
RLVER/code/verl/utils/tracking.py:136
↓ 1 callers
Function
_compute_mlflow_params_from_objects
(params)
RLVMR/code/verl/utils/tracking.py:145
↓ 1 callers
Method
_configure_before_init
(self, register_center_name: str, rank: int)
RLVER/code/verl/single_controller/base/worker.py:101
↓ 1 callers
Method
_configure_before_init
(self, register_center_name: str, rank: int)
RLVMR/code/verl/single_controller/base/worker.py:101
↓ 1 callers
Method
_configure_with_meta
This function should only be called inside by WorkerGroup
RLVER/code/verl/single_controller/base/worker.py:146
↓ 1 callers
Method
_configure_with_meta
This function should only be called inside by WorkerGroup
RLVMR/code/verl/single_controller/base/worker.py:178
↓ 1 callers
Method
_connector_tune_type_setting
(self, model)
VISTA/TinyLLaVA-VISTA/tinyllava/training_recipe/base.py:78
↓ 1 callers
Function
_copy
(from_path: str, to_path: str, timeout: int = None)
RLVER/code/verl/utils/hdfs_io.py:113
↓ 1 callers
Function
_copy
(from_path: str, to_path: str, timeout: int = None)
RLVMR/code/verl/utils/hdfs_io.py:113
↓ 1 callers
Function
_count_visible_keypoints
(anno)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/coco_utils.py:110
↓ 1 callers
Method
_create_dataloader
(self)
RLVER/code/verl/trainer/ppo/ray_trainer.py:523
↓ 1 callers
Method
_create_dataloader
(self)
RLVER/code/verl/trainer/ppo/ray_trainer_think.py:521
↓ 1 callers
Method
_create_dataloader
(self)
RLVMR/code/verl/trainer/ppo/ray_trainer.py:465
↓ 1 callers
Method
_cross_encoding_score
( self, tokenizer: AnyTokenizer, text_1: list[str], text_2: list[str],
RLVER/code/llm.py:1078
↓ 1 callers
Method
_ctc_align_triton
Perform CTC forced alignment using Triton optimization Args: emission: Model output emission probabilities
BatonVoice/audio_feature_extractor.py:355
↓ 1 callers
Method
_def_layers
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/model.py:60
↓ 1 callers
Function
_demo
()
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/logger.py:456
↓ 1 callers
Method
_determine_node_seconds
(self, node_text: str, index: int, preferred: Optional[int])
ScriptAgent/code/director_agent.py:2030
↓ 1 callers
Method
_do_log
(self, args)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/logger.py:386
↓ 1 callers
Method
_download
(self)
RLVER/code/verl/utils/dataset/rm_dataset.py:70
↓ 1 callers
Method
_download
(self)
RLVER/code/verl/utils/dataset/sft_dataset.py:69
↓ 1 callers
Method
_download
(self)
RLVMR/code/verl/utils/dataset/rm_dataset.py:70
↓ 1 callers
Method
_download
(self)
RLVMR/code/verl/utils/dataset/sft_dataset.py:72
↓ 1 callers
Method
_embed
Internal method to embed a single piece of text. Args: text (str): The text to embed Returns: List[flo
RolePlay_Villain/codes/agent.py:41
↓ 1 callers
Method
_embedding_score
( self, tokenizer: AnyTokenizer, text_1: list[Union[str, TextPrompt, TokensPrompt]],
RLVER/code/llm.py:1045
↓ 1 callers
Function
_exists
hdfs capable to check whether a file_path is exists
RLVER/code/verl/utils/hdfs_io.py:43
↓ 1 callers
Function
_exists
hdfs capable to check whether a file_path is exists
RLVMR/code/verl/utils/hdfs_io.py:43
↓ 1 callers
Function
_expand_mask
Expands attention_mask from `[bsz, seq_len]` to `[bsz, 1, tgt_seq_len, src_seq_len]`.
RLVER/code/verl/utils/torch_functional.py:521
↓ 1 callers
Function
_expand_mask
Expands attention_mask from `[bsz, seq_len]` to `[bsz, 1, tgt_seq_len, src_seq_len]`.
RLVER/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:58
↓ 1 callers
Function
_expand_mask
Expands attention_mask from `[bsz, seq_len]` to `[bsz, 1, tgt_seq_len, src_seq_len]`.
RLVER/code/verl/models/llama/megatron/modeling_llama_megatron.py:58
↓ 1 callers
Function
_expand_mask
Expands attention_mask from `[bsz, seq_len]` to `[bsz, 1, tgt_seq_len, src_seq_len]`.
RLVMR/code/verl/utils/torch_functional.py:502
↓ 1 callers
Function
_expand_mask
Expands attention_mask from `[bsz, seq_len]` to `[bsz, 1, tgt_seq_len, src_seq_len]`.
RLVMR/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:61
↓ 1 callers
Function
_expand_mask
Expands attention_mask from `[bsz, seq_len]` to `[bsz, 1, tgt_seq_len, src_seq_len]`.
RLVMR/code/verl/models/llama/megatron/modeling_llama_megatron.py:61
↓ 1 callers
Method
_expand_to_token_level
(self, data: DataProto, scores: torch.Tensor)
RLVER/code/verl/workers/fsdp_workers.py:1075
↓ 1 callers
Method
_expand_to_token_level
(self, data: DataProto, scores: torch.Tensor)
RLVMR/code/verl/workers/fsdp_workers.py:1057
↓ 1 callers
Function
_extract_frame
Extract specified frame, try methods in order of reliability
ScriptAgent/code/director_agent.py:1030
↓ 1 callers
Function
_extract_frame_ffmpeg
Extract last frame using ffmpeg (fixed version - absolutely reliable)
ScriptAgent/code/director_agent.py:901
↓ 1 callers
Function
_extract_frame_moviepy
Extract last frame using moviepy (improved version)
ScriptAgent/code/director_agent.py:1167
↓ 1 callers
Function
_extract_frame_opencv
Extract specified frame using OpenCV (enhanced version)
ScriptAgent/code/director_agent.py:1204
↓ 1 callers
Method
_extract_mode1_features
Extract generated features from Mode 1 output Mode 1 Output Format: According to the sequence format: custom_token_0
BatonVoice/unified_tts.py:548
↓ 1 callers
Method
_extract_mode2_outputs
Extract speech_tokens from Mode 2 output (matches mode2.py exactly) Extraction Logic (from mode2.py extract_speech_tokens_fr
BatonVoice/unified_tts.py:683
↓ 1 callers
Method
_extract_word_features
Extract acoustic features for a single word (compatible with extractor.py format) Args: word_audio: Audio array
BatonVoice/audio_feature_extractor.py:929
↓ 1 callers
Function
_fetch_tp_shard_tensor_gate_up
fetch gate_up tensor in tp shards
RLVMR/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader.py:138
↓ 1 callers
Function
_fetch_tp_shard_tensor_gate_up
fetch gate_up tensor in tp shards
RLVMR/code/verl/models/llama/megatron/checkpoint_utils/llama_loader.py:142
↓ 1 callers
Function
_fetch_tp_shard_tensor_qkv
fetch tensor in tp shards across mp_group
RLVMR/code/verl/models/llama/megatron/checkpoint_utils/llama_loader.py:168
↓ 1 callers
Function
_fetch_tp_shard_tensor_vocab
fetch tensor in tp shards
RLVMR/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader.py:106
↓ 1 callers
Function
_fetch_tp_shard_tensor_vocab
fetch tensor in tp shards
RLVMR/code/verl/models/llama/megatron/checkpoint_utils/llama_loader.py:110
↓ 1 callers
Method
_fill_in_prompt_template
Fill in the prompt template with the given arguments. SummaryMemory supports the following arguments: - summary: The summary so far.
HATE/basic_hate/agentverse/memory/summary.py:72
↓ 1 callers
Method
_fill_prompt_template
Fill the placeholders in the prompt template In the conversation agent, three placeholders are supported: - ${agent_name}: the name o
HATE/basic_hate/agentverse/memory_manipulator/plan.py:61
↓ 1 callers
Method
_fill_prompt_template
Fill the placeholders in the prompt template In the role_assigner agent, three placeholders are supported: - ${task_description}
HATE/basic_hate/agentverse/agents/tasksolving_agent/manager.py:76
← previous
next →
1,401–1,500 of 5,073, ranked by callers