MCPcopy Create free account

hub / github.com/Tencent/digitalhuman / functions

Functions5,073 in github.com/Tencent/digitalhuman

↓ 5 callersFunctionis_transformers_version_in_range
(min_version: str, max_version: str)
RLVER/code/verl/models/transformers/monkey_patch.py:73
↓ 5 callersMethodload_checkpoint
(self, path, del_local_after_load=True)
RLVER/code/verl/workers/fsdp_workers.py:901
↓ 5 callersFunctionlog
(*args)
VISTA/TinyLLaVA-VISTA/tinyllava/utils/logging.py:40
↓ 5 callersMethodlogkv
(self, key, val)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/logger.py:349
↓ 5 callersMethodlook_up_cache
Look up task output in cache
SWF/src/base.py:331
↓ 5 callersFunctionmake_ExpNode
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:888
↓ 5 callersFunctionmake_instantiate_literals
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_hard.c:1239
↓ 5 callersFunctionmake_instantiate_numeric_effects
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_hard.c:1279
↓ 5 callersFunctionmake_normal_effects
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:3303
↓ 5 callersFunctionnew_MixedOperator
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:657
↓ 5 callersFunctionnew_NormEffect1
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:489
↓ 5 callersFunctionnew_NormOperator
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:604
↓ 5 callersFunctionnew_PseudoActionEffect
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:677
↓ 5 callersFunctionnew_ef
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/relax.c:1290
↓ 5 callersMethodparse_character
(self, char: str)
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:286
↓ 5 callersMethodparse_value
(self)
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:215
↓ 5 callersMethodprepare_inputs_labels_for_multimodal
( self, input_ids, position_ids, attention_mask, past_key_values, labels, images, image_sizes=
VISTA/LLaVA-VISTA/llava/model/llava_arch.py:145
↓ 5 callersFunctionprint_NormOperator
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/output.c:607
↓ 5 callersFunctionprint_Operator
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/output.c:534
↓ 5 callersFunctionprint_model_size
(model: nn.Module, name: str = None)
RLVMR/code/verl/utils/model.py:146
↓ 5 callersFunctionprint_type
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/output.c:1220
↓ 5 callersFunctionread_html_template
(path)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/engine/engine.py:111
↓ 5 callersFunctionreplace_var_with_const_in_exp
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:2132
↓ 5 callersMethodreset
(self, idx=None)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/env.py:211
↓ 5 callersFunctionreset_fixpoint
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/relax.c:1346
↓ 5 callersFunctionsource_to_dest
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/search.c:2351
↓ 5 callersMethodstep
(self, action_str)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/controller/mrcnn.py:376
↓ 5 callersFunctionstrip_last_occurrence
( text: str, text_to_strip: str, strip_remaining: bool = False )
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:117
↓ 5 callersFunctionto_1d_np_array
(list_of_objects)
RLVER/code/verl/utils/py_functional.py:58
↓ 5 callersMethodtrain
Tell the agent that it's training phase.
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/base_agent.py:233
↓ 5 callersFunctionunpad_dataproto
(data: 'DataProto', pad_size)
RLVER/code/verl/protocol.py:67
↓ 5 callersMethodupdate
(self, **kwargs)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/utils.py:152
↓ 5 callersFunctionupdate_model_config
(module_config, override_config_kwargs)
RLVER/code/verl/utils/model.py:42
↓ 5 callersFunctionupdate_model_config
(module_config, override_config_kwargs)
RLVMR/code/verl/utils/model.py:42
↓ 5 callersFunctionvalidate_ulysses_config
(num_heads, ulysses_sequence_size)
RLVMR/code/verl/utils/ulysses.py:291
↓ 4 callersFunctionGetGenerationQValue
Shape: - y_pred: batch x time x vocab - y_true: batch x time - mask: batch x time
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:49
↓ 4 callersFunctionNegativeLogLoss
Shape: - y_pred: batch x time x vocab - y_true: batch x time - mask: batch x time
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/layers.py:28
↓ 4 callersMethod__init__
(self, dim, max_position_embeddings=2048, base=10000, device=None)
RLVMR/code/verl/models/llama/megatron/layers/parallel_attention.py:37
↓ 4 callersFunction_broadcast_tensor
broadcast tensor across mp_group
RLVER/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_saver.py:131
↓ 4 callersFunction_broadcast_tensor
broadcast tensor across mp_group
RLVER/code/verl/models/llama/megatron/checkpoint_utils/llama_saver.py:135
↓ 4 callersFunction_broadcast_tp_shard_tensor
broadcast tensor in tp shards across mp_group
RLVER/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_saver.py:170
↓ 4 callersFunction_broadcast_tp_shard_tensor
broadcast tensor in tp shards across mp_group
RLVER/code/verl/models/llama/megatron/checkpoint_utils/llama_saver.py:174
↓ 4 callersFunction_broadcast_tp_shard_tensor
broadcast tensor in tp shards across mp_group
RLVMR/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_saver.py:162
↓ 4 callersFunction_broadcast_tp_shard_tensor
broadcast tensor in tp shards across mp_group
RLVMR/code/verl/models/llama/megatron/checkpoint_utils/llama_saver.py:162
↓ 4 callersMethod_compute_loss_and_backward
Compute loss with optional sequence parallelism and remove padding features
RLVER/code/verl/trainer/fsdp_sft_trainer.py:287
↓ 4 callersFunction_compute_response_info
(batch: DataProto)
RLVMR/code/verl/trainer/ppo/metric_utils.py:30
↓ 4 callersFunction_get_cpu_tensor
(tensor: torch.Tensor)
RLVER/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_saver.py:124
↓ 4 callersFunction_get_cpu_tensor
(tensor: torch.Tensor)
RLVER/code/verl/models/llama/megatron/checkpoint_utils/llama_saver.py:128
↓ 4 callersFunction_get_cpu_tensor
(tensor: torch.Tensor)
RLVMR/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_saver.py:116
↓ 4 callersFunction_get_cpu_tensor
(tensor: torch.Tensor)
RLVMR/code/verl/models/llama/megatron/checkpoint_utils/llama_saver.py:116
↓ 4 callersFunction_get_gpt_model
(model)
RLVER/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader.py:63
↓ 4 callersFunction_get_gpt_model
(model)
RLVER/code/verl/models/llama/megatron/checkpoint_utils/llama_loader.py:65
↓ 4 callersFunction_get_gpt_model
(model)
RLVMR/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader_depracated.py:66
↓ 4 callersFunction_get_gpt_model
(model)
RLVMR/code/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader.py:66
↓ 4 callersFunction_get_gpt_model
(model)
RLVMR/code/verl/models/llama/megatron/checkpoint_utils/llama_loader.py:70
↓ 4 callersFunction_get_gpt_model
(model)
RLVMR/code/verl/models/llama/megatron/checkpoint_utils/llama_loader_depracated.py:70
↓ 4 callersFunction_is_non_local
(path: str)
RLVER/code/verl/utils/hdfs_io.py:143
↓ 4 callersFunction_is_non_local
(path: str)
RLVMR/code/verl/utils/hdfs_io.py:143
↓ 4 callersMethod_log
( self, title: str = "", title_color: str = "", message: str = "", lev
HATE/basic_hate/agentverse/logging.py:148
↓ 4 callersMethod_parse_html
Returns web request result wrapped in BeautifulSoup object Arguments: url (`str`): If no url or html is provided, use the cu
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/envs/web_agent_text_env.py:177
↓ 4 callersFunction_repeat_interleave
(value: Union[torch.Tensor, np.ndarray], repeats: int)
RLVMR/code/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd.py:58
↓ 4 callersFunction_split_args_kwargs_data_proto
(chunks, *args, **kwargs)
RLVER/code/verl/single_controller/base/decorator.py:45
↓ 4 callersFunction_split_args_kwargs_data_proto
(chunks, *args, **kwargs)
RLVMR/code/verl/single_controller/base/decorator.py:45
↓ 4 callersFunctionadd_to_ehc_space
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/search.c:321
↓ 4 callersFunctionallgather_dict_tensors
TODO: optimize this. - We can use async ops - We can use only one allgather Args: tensors: size: group:
RLVMR/code/verl/utils/torch_functional.py:188
↓ 4 callersFunctionbuild_logger
(logger_name, logger_filename)
VISTA/LLaVA-VISTA/llava/utils.py:17
↓ 4 callersFunctionbuild_memory_reference_from_module
(module: torch.nn.Module, memory_buffers: Dict[torch.dtype, MemoryBuffe
RLVER/code/verl/utils/memory_buffer.py:100
↓ 4 callersFunctionbuild_memory_reference_from_module
(module: torch.nn.Module, memory_buffers: Dict[torch.dtype, MemoryBuffe
RLVMR/code/verl/utils/memory_buffer.py:100
↓ 4 callersFunctioncheck_model_support_rmpad
(model_type: str)
RLVER/code/verl/models/registry.py:27
↓ 4 callersMethodchoose_random_action
Select an action randomly.
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/text_dqn_agent.py:29
↓ 4 callersMethodclose
(self)
RLVMR/code/agent_system/environments/env_package/webshop/envs.py:194
↓ 4 callersFunctioncompute_reward
We compute dense reward here so that we can directly train RL without SFT
RLVER/code/tests/e2e/envs/digit_completion/task.py:137
↓ 4 callersFunctioncount_string_tokens
(prompt: str = "", model: str = "gpt-3.5-turbo")
HATE/basic_hate/agentverse/llms/utils/token_counter.py:10
↓ 4 callersFunctioncreate_device_mesh
(world_size, fsdp_size)
RLVMR/code/verl/workers/fsdp_workers.py:49
↓ 4 callersMethodestimate_flops
Estimate the FLOPS based on the number of valid tokens in the current batch and the time taken. Args: batch_seqlens (Lis
RLVMR/code/verl/utils/flops_counter.py:164
↓ 4 callersMethodexecute_rank_zero_async
(self, method_name: str, *args, **kwargs)
RLVER/code/verl/single_controller/ray/base.py:322
↓ 4 callersMethodexecute_rank_zero_async
(self, method_name: str, *args, **kwargs)
RLVMR/code/verl/single_controller/ray/base.py:342
↓ 4 callersFunctionextract_answer
(pred_str, data_name, use_last_number=True)
RLVER/code/verl/utils/reward_score/simplerl_utils/paser.py:501
↓ 4 callersFunctionf
(x)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/utils.py:236
↓ 4 callersMethodfinish
(self)
RLVER/code/verl/utils/tracking.py:125
↓ 4 callersMethodfinish
(self)
RLVMR/code/verl/utils/tracking.py:134
↓ 4 callersFunctionfree_FactList
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:922
↓ 4 callersFunctionfree_TokenList
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:906
↓ 4 callersFunctiongather_heads_scatter_seq
A func to sync attention result with alltoall in sequence parallel gather head dimension and scatter seq dim: e.g. seq_dim: 1, head_dim:
RLVER/code/verl/utils/ulysses.py:85
↓ 4 callersMethodget
(self)
RLVMR/code/verl/utils/rendezvous/ray_backend.py:30
↓ 4 callersFunctionget_1P_and_H
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/relax.c:242
↓ 4 callersMethodget_any
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/utils/py_util.py:44
↓ 4 callersMethodget_current_plan
(self, force_update=False)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/game_states/task_game_state.py:44
↓ 4 callersFunctionget_fsdp_wrap_policy
Get FSDP wrap policy for the module. Args: module: The module to get wrap policy for config: Configuration for wrap policy
RLVER/code/verl/utils/fsdp_utils.py:50
↓ 4 callersMethodget_goal_progress
Get the progress to the goal.
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:471
↓ 4 callersFunctionget_hf_model_checkpoint_path
(checkpoint_path)
RLVMR/code/verl/utils/megatron_utils.py:264
↓ 4 callersMethodget_images
(self, return_pil=False)
VISTA/LLaVA-VISTA/llava/conversation.py:152
↓ 4 callersFunctionget_init_weight_context_manager
(use_meta_tensor=True)
RLVER/code/verl/utils/fsdp_utils.py:38
↓ 4 callersMethodget_input_embeddings
(self)
VISTA/TinyLLaVA-VISTA/tinyllava/model/modeling_tinyllava.py:80
↓ 4 callersFunctionget_length_grouped_indices
(lengths, batch_size, world_size, generator=None, merge=True)
VISTA/LLaVA-VISTA/llava/train/llava_trainer.py:88
↓ 4 callersMethodget_max_variations
Get the maximum number of variations for the tasks.
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:193
↓ 4 callersFunctionget_micro_data_parallel_group
()
RLVER/code/verl/workers/sharding_manager/megatron_vllm.py:434
↓ 4 callersFunctionget_micro_data_parallel_group
()
RLVMR/code/verl/workers/sharding_manager/megatron_vllm.py:436
↓ 4 callersFunctionget_model_checkpoint_path
(checkpoint_path)
RLVMR/code/verl/utils/megatron_utils.py:259
↓ 4 callersMethodget_output_embeddings
(self)
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:1358
← previousnext →401–500 of 5,073, ranked by callers