MCPcopy Create free account

hub / github.com/Tencent/digitalhuman / functions

Functions5,073 in github.com/Tencent/digitalhuman

↓ 2 callersMethodmerge
(self, other)
RLVMR/code/verl/utils/seqlen_balancing.py:37
↓ 2 callersFunctionmerge_ANDs_and_ORs_in_wff
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:2545
↓ 2 callersFunctionmerge_lnfs
merge both LNFs into the left one. * (only pF needed as both are already * fully transformed) */
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/expressions.c:1880
↓ 2 callersMethodmulti_turn_loop
Select and run the appropriate rollout loop (dynamic or vanilla). Args: gen_batch (DataProto): Initial prompt batch.
RLVMR/code/agent_system/multi_turn_rollout/rollout_loop.py:457
↓ 2 callersMethodnavigate
(self, teleport_loc)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/controller/base.py:223
↓ 2 callersFunctionnew_BfsHashEntry
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:866
↓ 2 callersFunctionnew_EasyTemplate
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:639
↓ 2 callersFunctionnew_Effect
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:430
↓ 2 callersFunctionnew_EhcHashEntry
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:814
↓ 2 callersFunctionnew_Facts
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:309
↓ 2 callersFunctionnew_Fluent
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/memory.c:283
↓ 2 callersFunctionnew_fact
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/relax.c:1229
↓ 2 callersMethodnoop
(*args, **kw)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/utils/py_util.py:52
↓ 2 callersFunctionnormalize
(answer, pi)
RLVER/code/verl/utils/reward_score/prime_math/grader.py:119
↓ 2 callersFunctionnormalize
(answer, pi)
RLVMR/code/verl/utils/reward_score/prime_math/grader.py:119
↓ 2 callersFunctionnormalize_color
Extracts the first color found if exists
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/engine/normalize.py:57
↓ 2 callersFunctionnormalize_pp_vpp_params
Normalize the pp vpp params into a complete named parameters. This is useful when gather parameters from pp ranks and passed to a model with
RLVER/code/verl/utils/model.py:198
↓ 2 callersFunctionnormalize_pp_vpp_params
Normalize the pp vpp params into a complete named parameters. This is useful when gather parameters from pp ranks and passed to a model witho
RLVMR/code/verl/utils/model.py:198
↓ 2 callersFunctionnumeric_equal
(prediction: float, reference: float)
RLVER/code/verl/utils/reward_score/simplerl_utils/grader.py:269
↓ 2 callersMethodoffload_params_to_cpu
(self)
RLVER/code/verl/workers/reward_model/megatron/reward_model.py:254
↓ 2 callersMethodoffload_params_to_cpu
(self)
RLVMR/code/verl/workers/reward_model/megatron/reward_model.py:254
↓ 2 callersFunctionpad_to_max_stack
(tensor_list: List[torch.Tensor], pad_token_id: int)
RLVER/code/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd.py:86
↓ 2 callersFunctionparallel_compute_score_async
(evaluation_func, completions, references, tasks, num_processes=64)
RLVER/code/verl/workers/reward_manager/prime.py:46
↓ 2 callersMethodparse_command
(self, action_str)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/controller/base.py:174
↓ 2 callersMethodparse_unquoted_string
Repair and unquoted string by adding quotes around it Repair a MongoDB function call like NumberLong("2") Repair a JSONP function call
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:581
↓ 2 callersMethodparse_whitespace
(self)
HATE/basic_hate/agentverse/llms/utils/jsonrepair.py:241
↓ 2 callersFunctionplan_state_hashed
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/search.c:767
↓ 2 callersFunctionplayer_init
(id = None)
SAGE/simulator_response.py:29
↓ 2 callersFunctionposition_in_functions_table
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:413
↓ 2 callersFunctionposition_in_predicates_table
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:394
↓ 2 callersFunctionpossibly_negative
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:2387
↓ 2 callersFunctionpossibly_positive
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/inst_pre.c:2365
↓ 2 callersMethodpredict
Run a single prediction on the model
VISTA/LLaVA-VISTA/predict.py:87
↓ 2 callersMethodprepare_inputs_labels_for_multimodal
( self, input_ids, position_ids, attention_mask, past_key_values, labels, images, image_sizes=
VISTA/TinyLLaVA-VISTA/tinyllava/model/modeling_tinyllava.py:227
↓ 2 callersFunctionpreprocess
(text)
RLVMR/code/examples/data_preprocess/hellaswag.py:27
↓ 2 callersMethodpreprocess_data
AllGather data from sp region This is because the data is first sharded along the FSDP dimension as we utilize the DP_COMPUTE
RLVER/code/verl/workers/sharding_manager/fsdp_ulysses.py:56
↓ 2 callersMethodpreprocess_task
(self, task_strings)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/base_agent.py:372
↓ 2 callersFunctionpretty_print_semaphore
(semaphore)
VISTA/LLaVA-VISTA/llava/utils.py:123
↓ 2 callersMethodprime_norm
(self, token_level_scores)
RLVMR/code/recipe/prime/prime_dp_rm.py:194
↓ 2 callersFunctionprint_Action
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/output.c:968
↓ 2 callersFunctionprint_hidden_TokenList
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/output.c:97
↓ 2 callersFunctionprint_lnf_Action
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/output.c:1118
↓ 2 callersMethodprint_object
(self, object)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/controller/base.py:147
↓ 2 callersFunctionprint_plan
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/output.c:1459
↓ 2 callersFunctionprint_plops
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/output.c:328
↓ 2 callersFunctionprint_state_trace
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/search.c:1632
↓ 2 callersMethodprocess_frame
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/game_states/game_state_base.py:900
↓ 2 callersFunctionprocess_goal
(state)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/train_choice_il.py:95
↓ 2 callersMethodprocess_image
(self, image, image_process_mode, return_pil=False, image_format='PNG', max_len=1344, min_len=672)
VISTA/LLaVA-VISTA/llava/conversation.py:112
↓ 2 callersFunctionprocess_story
( generator: "StoryVideoGenerator", script_text: str, model_slug: str, story_index: int, n
ScriptAgent/code/director_agent.py:782
↓ 2 callersFunctionprocess_str
(s)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/train_search_il.py:21
↓ 2 callersMethodpush_batch
(self, stuff)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/base_agent.py:35
↓ 2 callersFunctionrandom_idx
Generate random index by sampling uniformly from sum of all weights, then selecting the `min` between the position to keep the list sorted (via bi
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/utils.py:20
↓ 2 callersFunctionrank0_print
(*args)
VISTA/LLaVA-VISTA/llava/train/train.py:45
↓ 2 callersFunctionrecursive_convert
(item)
RLVER/code/verl/utils/dataset/rl_dataset.py:36
↓ 2 callersFunctionreduce_metrics
(metrics: dict)
RLVER/code/verl/trainer/ppo/ray_trainer_think.py:208
↓ 2 callersFunctionreduce_metrics
(metrics: Dict[str, List[Any]])
RLVMR/code/verl/trainer/ppo/metric_utils.py:24
↓ 2 callersFunctionregister
(dispatch_mode=Dispatch.ALL_TO_ALL, execute_mode=Execute.ALL, blocking=True, materialize_futures=True)
RLVMR/code/verl/single_controller/base/decorator.py:394
↓ 2 callersMethodregister_to_controller
(self)
VISTA/LLaVA-VISTA/llava/serve/model_worker.py:75
↓ 2 callersMethodregister_to_controller
(self)
VISTA/LLaVA-VISTA/llava/serve/sglang_worker.py:85
↓ 2 callersMethodregister_worker
(self, worker_name: str, check_heart_beat: bool, worker_status: dict)
VISTA/LLaVA-VISTA/llava/serve/controller.py:69
↓ 2 callersFunctionremove_boxed
(s)
RLVMR/code/verl/utils/reward_score/math.py:49
↓ 2 callersMethodremove_previous_save_local_path
(self, path)
RLVMR/code/verl/utils/checkpoint/checkpoint_manager.py:75
↓ 2 callersMethodremove_worker
(self, worker_name: str)
VISTA/LLaVA-VISTA/llava/serve/controller.py:101
↓ 2 callersMethodreorder
Note that this operation is in-place
RLVMR/code/verl/protocol.py:547
↓ 2 callersFunctionrepeat_kv
This is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). The hidden states go from (batch, num_key_value_heads, seqlen, he
RLVER/code/verl/models/qwen2/megatron/layers/parallel_attention.py:131
↓ 2 callersFunctionrepeat_kv
This is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). The hidden states go from (batch, num_key_value_heads, seqlen, he
RLVER/code/verl/models/llama/megatron/layers/parallel_attention.py:131
↓ 2 callersFunctionrepeat_kv
This is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). The hidden states go from (batch, num_key_value_heads, seqlen, he
RLVMR/code/verl/models/qwen2/megatron/layers/parallel_attention.py:131
↓ 2 callersFunctionrepeat_kv
This is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). The hidden states go from (batch, num_key_value_heads, seqlen, he
RLVMR/code/verl/models/llama/megatron/layers/parallel_attention.py:163
↓ 2 callersMethodreport_metrics
Report useful metrics
HATE/basic_hate/agentverse/environments/base.py:50
↓ 2 callersMethodreset
(self)
RLVMR/code/agent_system/environments/env_manager.py:370
↓ 2 callersMethodreset
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/environment/alfred_thor_env.py:313
↓ 2 callersMethodreset
Create a new session and reset environment variables
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/envs/web_agent_text_env.py:249
↓ 2 callersFunctionreset_ehc_hash_entrys
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/search.c:621
↓ 2 callersMethodrole_assign
Assign roles to agents
HATE/basic_hate/agentverse/environments/tasksolving_env/rules/base.py:72
↓ 2 callersFunctionrotate_half
Rotates half the hidden dims of the input.
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:213
↓ 2 callersFunctionrotate_half
Rotates half the hidden dims of the input.
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/modeling_phi.py:165
↓ 2 callersFunctionrun_ppo
(config, compute_score=None)
RLVER/code/verl/trainer/main_ppo.py:110
↓ 2 callersMethodsample_sequence
(self, batch_size, sample_history_length)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/memory.py:309
↓ 2 callersMethodsample_str_prompts
(self)
RLVER/code/tests/e2e/envs/digit_completion/task.py:91
↓ 2 callersFunctionsample_task_params
(succ_traj, full_traj, fail_traj, goal_candidates, pickup_candidates, movable_candidate
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/scripts/generate_trajectories.py:52
↓ 2 callersMethodsave_checkpoint
(self, local_path, hdfs_path=None, global_step=0, max_ckpt_to_keep=None)
RLVMR/code/recipe/prime/prime_fsdp_workers.py:323
↓ 2 callersMethodsave_plan
(self, plan, idx=0)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/agents/plan_agent.py:89
↓ 2 callersMethodsave_player_data
(self)
RLVER/code/verl/workers/rollout/vllm_rollout/hard_player_simulator_dsv3.py:390
↓ 2 callersMethodsave_run_histories
Save the run histories to a file. :param filename_out_prefix: The name of the file to write to.
RLVMR/code/agent_system/environments/env_package/sciworld/ScienceWorld/scienceworld/scienceworld.py:326
↓ 2 callersMethodscore
Calculate the score of the current state.
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/env.py:109
↓ 2 callersMethodscore_actions
(self, candidate_representations, cand_mask, h_obs, obs_mask, current_dynamics, fix_shared_components=False)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/model.py:136
↓ 2 callersFunctionsearch_for_better_state
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/search.c:236
↓ 2 callersMethodsearch_results
Initialize session and return the search results page
RLVMR/code/agent_system/environments/env_package/webshop/webshop/web_agent_site/envs/web_agent_text_env.py:365
↓ 2 callersFunctionselect_best_resolution
Selects the best resolution from a list of possible resolutions based on the original size. Args: original_size (tuple): The origina
VISTA/LLaVA-VISTA/llava/mm_utils.py:12
↓ 2 callersFunctionselect_best_resolution
Selects the best resolution from a list of possible resolutions based on the original size. Args: original_size (tuple): The origina
VISTA/TinyLLaVA-VISTA/tinyllava/utils/data_utils.py:24
↓ 2 callersMethodsend_heart_beat
(self)
VISTA/LLaVA-VISTA/llava/serve/model_worker.py:87
↓ 2 callersMethodsend_heart_beat
(self)
VISTA/LLaVA-VISTA/llava/serve/sglang_worker.py:97
↓ 2 callersFunctionset_cache_path
(new_cache_path)
RolePlay_Villain/codes/utils.py:68
↓ 2 callersMethodset_level
(self, level)
HATE/basic_hate/agentverse/logging.py:164
↓ 2 callersMethodset_name
(self, name: str)
HATE/basic_hate/agentverse/agents/base.py:119
↓ 2 callersMethodset_task
(self, task_file)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/environment/alfred_thor_env.py:79
↓ 2 callersMethodset_task_description
(self, task_description: str = "")
HATE/basic_hate/agentverse/environments/tasksolving_env/basic.py:146
↓ 2 callersFunctionset_ulysses_sequence_parallel_group
Set ulysses sequence parallel process group.
RLVMR/code/verl/utils/ulysses.py:29
↓ 2 callersFunctionsetup_logger
(name, log_file, level=logging.INFO, quiet=False)
RolePlay_Villain/codes/utils.py:17
← previousnext →1,201–1,300 of 5,073, ranked by callers