MCPcopy Create free account

hub / github.com/Tencent/digitalhuman / functions

Functions5,073 in github.com/Tencent/digitalhuman

Method_download_files
()
RLVMR/code/verl/utils/dataset/rm_dataset.py:72
Method_estimate_deepseek_v3_flops
(self, tokens_sum, batch_seqlens, delta_time)
RLVMR/code/verl/utils/flops_counter.py:115
Method_estimate_qwen2_flops
(self, tokens_sum, batch_seqlens, delta_time)
RLVER/code/verl/utils/flops_counter.py:72
Method_estimate_qwen2_flops
(self, tokens_sum, batch_seqlens, delta_time)
RLVMR/code/verl/utils/flops_counter.py:81
Method_estimate_unknown_flops
(self, tokens_sum, batch_seqlens, delta_time)
RLVER/code/verl/utils/flops_counter.py:69
Method_estimate_unknown_flops
(self, tokens_sum, batch_seqlens, delta_time)
RLVMR/code/verl/utils/flops_counter.py:78
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/solver.py:87
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/evaluator.py:93
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/evaluator_final.py:93
Method_fill_prompt_template
Fill the placeholders in the prompt template In the conversation agent, three placeholders are supported: - ${role_description}
HATE/basic_hate/agentverse/agents/tasksolving_agent/critic.py:114
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/role_assigner.py:78
Method_forward_head
(self, hidden_states)
RLVER/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:377
Method_forward_head
(self, hidden_states)
RLVER/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:691
Method_forward_head
(self, hidden_states)
RLVER/code/verl/models/llama/megatron/modeling_llama_megatron.py:377
Method_forward_head
(self, hidden_states)
RLVER/code/verl/models/llama/megatron/modeling_llama_megatron.py:638
Method_forward_head
(self, hidden_states)
RLVMR/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:383
Method_forward_head
(self, hidden_states)
RLVMR/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:695
Method_forward_head
(self, hidden_states)
RLVMR/code/verl/models/llama/megatron/modeling_llama_megatron.py:383
Method_forward_head
(self, hidden_states)
RLVMR/code/verl/models/llama/megatron/modeling_llama_megatron.py:648
Method_get_pid
(self)
RLVER/code/verl/single_controller/base/worker.py:64
Method_get_pid
(self)
RLVMR/code/verl/single_controller/base/worker.py:64
Method_get_train_sampler
(self)
VISTA/LLaVA-VISTA/llava/train/llava_trainer.py:135
Method_get_train_sampler
(self)
VISTA/TinyLLaVA-VISTA/tinyllava/train/tinyllava_trainer.py:122
Method_init_head
(self)
RLVER/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:368
Method_init_head
(self)
RLVER/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:682
Method_init_head
(self)
RLVER/code/verl/models/llama/megatron/modeling_llama_megatron.py:368
Method_init_head
(self)
RLVER/code/verl/models/llama/megatron/modeling_llama_megatron.py:629
Method_init_head
(self, config)
RLVMR/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:374
Method_init_head
(self, config)
RLVMR/code/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:686
Method_init_head
(self, config)
RLVMR/code/verl/models/llama/megatron/modeling_llama_megatron.py:374
Method_init_head
(self, config)
RLVMR/code/verl/models/llama/megatron/modeling_llama_megatron.py:639
Method_init_weights
(self, module)
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:957
Method_init_weights
(self, module)
VISTA/TinyLLaVA-VISTA/tinyllava/model/modeling_tinyllava.py:34
Method_init_weights
Initialize the weights.
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:395
Method_init_weights
(self, module)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/modeling_phi.py:831
Method_init_weights
Initialize the weights
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:730
Method_insert_separator
(X, sep)
VISTA/TinyLLaVA-VISTA/tinyllava/data/template/base.py:138
Method_is_worker_alive
(self, worker: ray.actor.ActorHandle)
RLVER/code/verl/single_controller/ray/base.py:205
Method_is_worker_alive
(self, worker: ray.actor.ActorHandle)
RLVMR/code/verl/single_controller/ray/base.py:225
Method_load_model
(self, vision_tower_name, **kwargs)
VISTA/TinyLLaVA-VISTA/tinyllava/model/vision_tower/mof.py:74
Method_make_masks
(self, labels, tokenizer, sep, eos_token_length, rounds)
VISTA/TinyLLaVA-VISTA/tinyllava/data/template/llama_template.py:28
Method_make_masks
(self, labels, tokenizer, sep, eos_token_length, rounds)
VISTA/TinyLLaVA-VISTA/tinyllava/data/template/gemma_template.py:26
Method_mean
(arr)
SWF/src/base.py:231
Method_parse
(content)
SWF/src/metric.py:142
Function_prepare_decoder_attention_mask
( self, attention_mask, input_shape, inputs_embeds, past_key_values_length )
VISTA/LLaVA-VISTA/llava/train/llama_flash_attn_monkey_patch.py:98
Method_process_batch
(self, batch_idx, total_batch_list, total_infos, success)
RLVMR/code/agent_system/environments/env_manager.py:167
Method_process_batch
(self, batch_idx, total_batch_list, total_infos, success)
RLVMR/code/agent_system/environments/env_manager.py:352
Method_process_batch
(self, batch_idx, total_batch_list, total_infos, success)
RLVMR/code/agent_system/environments/env_manager.py:500
Method_process_features
Process word features input (JSON parsing with fallback) Processing Logic: 1. Attempt to parse as JSON for validatio
BatonVoice/unified_tts.py:486
Method_prune_heads
Prunes heads of the model. heads_to_prune: dict of {layer_num: list of heads to prune in this layer} See base class PreTrainedModel
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:771
Method_read_files_and_tokenize
(self)
RLVER/code/verl/utils/dataset/rl_dataset.py:277
Method_rebind_actor_methods
bind the method with actor_prefix to its original name
RLVER/code/verl/single_controller/ray/base.py:298
Method_rebind_actor_methods
bind the method with actor_prefix to its original name
RLVMR/code/verl/single_controller/ray/base.py:318
Function_remote_qwen_math_equal
(prediction, reference, include_percentage, is_close)
RLVER/code/verl/utils/reward_score/simplerl.py:36
Function_remove_prepending_messages
(token_ids: torch.Tensor, message_end_id: int, n_skip_messages: int)
RLVER/code/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd_think.py:76
Function_remove_prepending_messages
(token_ids: torch.Tensor, message_end_id: int, n_skip_messages: int)
RLVER/code/verl/workers/rollout/vllm_rollout/vllm_rollout.py:68
Function_remove_prepending_messages
(token_ids: torch.Tensor, message_end_id: int, n_skip_messages: int)
RLVER/code/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd.py:77
Function_remove_trailing_pad_tokens
(pad_token_id, token_ids: torch.Tensor)
RLVER/code/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd_think.py:69
Function_remove_trailing_pad_tokens
(pad_token_id, token_ids: torch.Tensor)
RLVER/code/verl/workers/rollout/vllm_rollout/vllm_rollout.py:61
Function_remove_trailing_pad_tokens
(pad_token_id, token_ids: torch.Tensor)
RLVER/code/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd.py:70
Method_reorder_cache
(past_key_values, beam_idx)
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:1627
Method_reorder_cache
(past_key_values, beam_idx)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:1288
Method_reorder_cache
(past_key_values, beam_idx)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/modeling_phi.py:1301
Method_reorder_cache
(self, past, beam_idx)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:1186
Method_reset_cache
(self)
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:990
Method_review
(value, avg)
SWF/src/base.py:236
Method_save_checkpoint
(self, model, trial, metrics=None)
VISTA/LLaVA-VISTA/llava/train/llava_trainer.py:230
Method_set_cos_sin_cache
(self, seq_len, device, dtype)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/modeling_phi.py:125
Method_set_cos_sin_cache
(self, seq_len, device, dtype)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/modeling_phi.py:145
Method_set_cos_sin_cache
(self, seq_len, device, dtype)
RLVER/code/verl/models/qwen2/megatron/layers/parallel_attention.py:79
Method_set_cos_sin_cache
(self, seq_len, device, dtype)
RLVER/code/verl/models/qwen2/megatron/layers/parallel_attention.py:98
Method_set_cos_sin_cache
(self, seq_len, device, dtype)
RLVER/code/verl/models/llama/megatron/layers/parallel_attention.py:79
Method_set_cos_sin_cache
(self, seq_len, device, dtype)
RLVER/code/verl/models/llama/megatron/layers/parallel_attention.py:98
Method_set_cos_sin_cache
(self, seq_len, device, dtype)
RLVMR/code/verl/models/qwen2/megatron/layers/parallel_attention.py:79
Method_set_cos_sin_cache
(self, seq_len, device, dtype)
RLVMR/code/verl/models/qwen2/megatron/layers/parallel_attention.py:98
Method_set_cos_sin_cache
(self, seq_len, device, dtype)
RLVMR/code/verl/models/llama/megatron/layers/parallel_attention.py:79
Method_set_cos_sin_cache
(self, seq_len, device, dtype)
RLVMR/code/verl/models/llama/megatron/layers/parallel_attention.py:98
Method_set_gradient_checkpointing
(self, module, value=False)
VISTA/LLaVA-VISTA/llava/model/language_model/llava_mpt.py:56
Method_set_meta_think
(self, type: bool)
RLVMR/code/agent_system/environments/env_manager.py:197
Method_set_meta_think
(self, type: bool)
RLVMR/code/agent_system/environments/env_manager.py:362
Method_setup_cache
( self, cache_cls, max_batch_size, max_cache_len: Optional[int] = None )
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:968
Method_shape
(self, tensor: torch.Tensor, seq_len: int, bsz: int)
RLVER/code/verl/models/qwen2/megatron/layers/parallel_attention.py:215
Method_shape
(self, tensor: torch.Tensor, seq_len: int, bsz: int)
RLVER/code/verl/models/llama/megatron/layers/parallel_attention.py:231
Method_shape
(self, tensor: torch.Tensor, seq_len: int, bsz: int)
RLVMR/code/verl/models/qwen2/megatron/layers/parallel_attention.py:215
Method_shape
(self, tensor: torch.Tensor, seq_len: int, bsz: int)
RLVMR/code/verl/models/llama/megatron/layers/parallel_attention.py:271
Method_sum
(arr)
SWF/src/base.py:226
Method_supports_sdpa
(self)
VISTA/TinyLLaVA-VISTA/tinyllava/model/modeling_tinyllava.py:54
Method_task_assign
(self, tasks, survived_agent_names, statistics)
SWF/src/base.py:495
Method_task_assign
(self, tasks, survived_agent_names, statistics)
SWF/src/base.py:516
Method_task_assign
(self, tasks, survived_agent_names,statistics)
SWF/src/base.py:545
Method_task_assign
(self, tasks, survived_agent_names,statistics)
SWF/src/base.py:583
Method_task_assign
(self, tasks, survived_agent_names,statistics)
SWF/src/base.py:614
Method_task_assign
(self, tasks, survived_agent_names,statistics)
SWF/src/base.py:642
Method_task_assign
(self, tasks, survived_agent_names, statistics)
SWF/src/base.py:672
Function_temp_run
(sample, generation, debug, result, metadata_list, timeout)
RLVER/code/verl/utils/reward_score/prime_code/utils.py:25
Function_temp_run
(sample, generation, debug, result, metadata_list, timeout)
RLVMR/code/verl/utils/reward_score/prime_code/utils.py:25
Method_text_to_speech_tokens
Convert text representation to speech token integers Conversion Process: 1. Tokenize text using the model's tokenize
BatonVoice/unified_tts.py:724
Method_tokenize
(self, text: str)
RLVER/code/tests/e2e/envs/digit_completion/tokenizer.py:92
Method_trellis_row_kernel_optimized
Triton-optimized kernel for trellis row computation This kernel computes one row of the CTC trellis matrix in parallel,
BatonVoice/audio_feature_extractor.py:421
Function_ulysses_flash_attention_forward
Insert all-to-all before and after flash attention. DeepSpeed-Ulysses: https://arxiv.org/pdf/2309.14509 Args: query_states (torch.Ten
RLVMR/code/verl/models/transformers/monkey_patch.py:44
← previousnext →3,501–3,600 of 5,073, ranked by callers