MCPcopy Create free account

hub / github.com/Tencent/digitalhuman / functions

Functions5,073 in github.com/Tencent/digitalhuman

Functionpost_process_logits
(input_ids, logits, temperature, top_k, top_p)
RLVMR/code/verl/utils/torch_functional.py:392
Methodpostprocess_data
(self, data: DataProto)
RLVER/code/verl/workers/sharding_manager/fsdp_vllm.py:160
Methodpostprocess_data
Split the data to follow FSDP partition
RLVER/code/verl/workers/sharding_manager/fsdp_ulysses.py:78
Methodpostprocess_data
(self, data: DataProto)
RLVER/code/verl/workers/sharding_manager/megatron_vllm.py:410
Methodpostprocess_data
Get chunk data of this tp rank since we do all gather in preprocess.
RLVMR/code/verl/workers/sharding_manager/fsdp_vllm.py:154
Methodpostprocess_data
(self, data: DataProto)
RLVMR/code/verl/workers/sharding_manager/fsdp_sglang.py:136
Methodpostprocess_data
Split the data to follow FSDP partition
RLVMR/code/verl/workers/sharding_manager/fsdp_ulysses.py:70
Methodpostprocess_data
(self, data: DataProto)
RLVMR/code/verl/workers/sharding_manager/megatron_vllm.py:412
Methodpp_group
(self)
RLVER/code/verl/workers/sharding_manager/megatron_vllm.py:219
Methodpp_group
(self)
RLVMR/code/verl/workers/sharding_manager/megatron_vllm.py:221
Methodpp_models
(self)
RLVER/code/verl/workers/sharding_manager/megatron_vllm.py:223
Methodpp_models
(self)
RLVMR/code/verl/workers/sharding_manager/megatron_vllm.py:225
Methodpp_rank
(self)
RLVER/code/verl/workers/sharding_manager/megatron_vllm.py:215
Methodpp_rank
(self)
RLVMR/code/verl/workers/sharding_manager/megatron_vllm.py:217
Methodpp_size
(self)
RLVER/code/verl/single_controller/base/megatron/worker_group.py:46
Methodpp_size
(self)
RLVER/code/verl/workers/sharding_manager/megatron_vllm.py:211
Methodpp_size
(self)
RLVMR/code/verl/single_controller/base/megatron/worker_group.py:46
Methodpp_size
(self)
RLVMR/code/verl/workers/sharding_manager/megatron_vllm.py:213
Functionprepare_decoder_attention_mask
(attention_mask, input_shape, inputs_embeds)
RLVER/code/verl/utils/torch_functional.py:486
Functionprepare_decoder_attention_mask
(attention_mask, input_shape, inputs_embeds)
RLVMR/code/verl/utils/torch_functional.py:467
Methodprepare_inputs_for_generation
(self, input_ids, past_key_values=None, inputs_embeds=None, **kwargs)
VISTA/LLaVA-VISTA/llava/model/language_model/llava_llama.py:153
Methodprepare_inputs_for_generation
(self, input_ids, past_key_values=None, inputs_embeds=None, **kwargs)
VISTA/LLaVA-VISTA/llava/model/language_model/llava_mpt.py:87
Methodprepare_inputs_for_generation
(self, input_ids, past_key_values=None, inputs_embeds=None, **kwargs)
VISTA/LLaVA-VISTA/llava/model/language_model/llava_mistral.py:144
Methodprepare_inputs_for_generation
( self, input_ids, past_key_values=None, attention_mask=None,
VISTA/LLaVA-VISTA/llava/train/modeling_llama.py:1519
Methodprepare_inputs_for_generation
(self, input_ids, past_key_values=None, inputs_embeds=None, **kwargs)
VISTA/TinyLLaVA-VISTA/tinyllava/model/modeling_tinyllava.py:214
Methodprepare_inputs_for_generation
( self, input_ids, past_key_values=None, attention_mask=None, inputs_e
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/openelm.py:1200
Methodprepare_inputs_for_generation
( self, input_ids, past_key_values=None, attention_mask=None, inputs_embeds=None, **kwargs )
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/modeling_phi.py:1243
Methodprepare_inputs_for_generation
( self, input_ids, query_embeds, past=None, attention_mask=None, **model_kwargs )
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/qformer.py:1163
Methodpreprocess_data
(self, data: DataProto)
RLVER/code/verl/workers/sharding_manager/fsdp_vllm.py:129
Methodpreprocess_data
(self, data: DataProto)
RLVER/code/verl/workers/sharding_manager/megatron_vllm.py:394
Methodpreprocess_data
All gather across tp group to make each rank has identical input.
RLVMR/code/verl/workers/sharding_manager/fsdp_vllm.py:140
Methodpreprocess_data
(self, data: DataProto)
RLVMR/code/verl/workers/sharding_manager/fsdp_sglang.py:128
Methodpreprocess_data
AllGather data from sp region This is because the data is first sharded along the FSDP dimension as we utilize the DP_COMPUTE
RLVMR/code/verl/workers/sharding_manager/fsdp_ulysses.py:57
Methodpreprocess_data
(self, data: DataProto)
RLVMR/code/verl/workers/sharding_manager/megatron_vllm.py:396
Methodpreprocessing
(self, observation_strings, action_candidate_list)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/agent/base_agent.py:408
Functionprint_conversation_to_file
Write the scenario, actor prompt, user prompt, and the formatted conversation to a file. :param conversation_data: The dictionary containing scen
RolePlay_Villain/codes/utils.py:359
Methodprint_frame
(self, recep, loc)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/controller/base.py:143
Functionprint_json
(data)
RolePlay_Villain/codes/utils.py:519
Functionprint_open_list
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/ff_planner/search.c:1614
Methodprint_parameters
(self)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/model.py:25
Methodprint_size
(self, prefix="")
RLVER/code/verl/protocol.py:233
Methodprint_size
(self, prefix="")
RLVMR/code/verl/protocol.py:234
Functionprocess
(iter)
RLVER/code/verl/utils/debug/trajectory_tracker.py:94
Functionprocess
(iter)
RLVMR/code/verl/utils/debug/trajectory_tracker.py:94
Functionprocess_fn
(doc, idx)
RLVMR/code/examples/data_preprocess/hellaswag.py:55
Functionprocess_fn
(example, idx)
RLVMR/code/examples/data_preprocess/full_hh_rlhf.py:95
Functionprocess_fn
(example, idx)
RLVMR/code/examples/data_preprocess/cold_start_data.py:51
Functionprocess_fn
(example, idx)
RLVMR/code/examples/data_preprocess/geo3k.py:46
Functionprocess_fn
(example, idx)
RLVMR/code/examples/data_preprocess/gsm8k.py:53
Functionprocess_fn
(example, idx)
RLVMR/code/examples/data_preprocess/prepare.py:51
Functionprocess_fn
(example, idx)
RLVMR/code/examples/data_preprocess/math_dataset.py:52
Methodprocess_frame
(self, changed_object_id=None)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/game_states/task_game_state_full_knowledge.py:366
Functionprocess_trajectory_rlvmr_rewards
( trajectory_list, config, episode_rewards )
RLVMR/code/rlvmr/core_rlvmr.py:75
Functionprofile
Usage: @profile("my_func") def my_func(): code
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/logger.py:314
Methodprompt_length
(self)
RLVER/code/tests/e2e/envs/digit_completion/task.py:69
Methodpush
Saves a transition.
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/memory.py:30
Methodpush
stuff is float.
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/generic.py:135
Methodpush
(self, stuff)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/generic.py:210
Methodpush
(self, stuff)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/modules/generic.py:251
Functionput_data
(index, data)
RLVER/code/verl/utils/ray_utils.py:25
Functionput_data
(index, data)
RLVMR/code/verl/utils/ray_utils.py:25
Functionqwen2_attn_forward
Adapted from transformers 4.49.0 to support Ulysses sequence parallelism for transformers >= 4.48.0. NOTE: This function has been tested onl
RLVER/code/verl/models/transformers/qwen2.py:145
Functionqwen2_attn_forward
Adapted from transformers 4.49.0 to support Ulysses sequence parallelism for transformers >= 4.48.0. NOTE: This function has been tested onl
RLVMR/code/verl/models/transformers/qwen2.py:148
Functionqwen2_flash_attn_forward
Adapted from transformers 4.47.1 to support Ulysses sequence parallelism. NOTE: This function is only tested on transformers versions betwee
RLVER/code/verl/models/transformers/qwen2.py:28
Functionqwen2_flash_attn_forward
Adapted from transformers 4.47.1 to support Ulysses sequence parallelism. NOTE: This function is only tested on transformers versions betwee
RLVMR/code/verl/models/transformers/qwen2.py:29
Functionqwen_math_equal_subprocess
(prediction, reference, timeout_seconds=10)
RLVER/code/verl/utils/reward_score/simplerl.py:10
Functionread_csv
(fname)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/logger.py:498
Functionread_json
(file_path: str)
RolePlay_Villain/codes/utils.py:526
Functionread_json
(fname)
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/logger.py:489
Functionread_tb
path : a tensorboard file OR a directory, where we will find all TB files of the form events.*
RLVMR/code/agent_system/environments/env_package/webshop/webshop/baseline_models/logger.py:503
Functionreceive_heart_beat
(request: Request)
VISTA/LLaVA-VISTA/llava/serve/controller.py:269
Functionreduce_dict
Args: input_dict (dict): all the values will be reduced average (bool): whether to do average or sum Reduce the values in the
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/agents/detector/utils.py:120
Functionreflection_peerreview
(data, model)
HATE/basic_hate/evaluation/sharemoney_v1.py:213
Functionreflection_peerreview
(data, model)
HATE/basic_hate/evaluation/posthoc.py:206
Functionrefresh_all_workers
()
VISTA/LLaVA-VISTA/llava/serve/controller.py:251
Functionregenerate
(state, image_process_mode, request: gr.Request)
VISTA/LLaVA-VISTA/llava/serve/gradio_web_server.py:112
Functionregenerate
(state, image_process_mode)
VISTA/TinyLLaVA-VISTA/tinyllava/serve/app.py:53
Functionregister
(dispatch_mode=Dispatch.ALL_TO_ALL, execute_mode=Execute.ALL, blocking=True, materialize_futures=True)
RLVER/code/verl/single_controller/base/decorator.py:394
Functionregister_connector
(name)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/__init__.py:17
Functionregister_connector_cls
(cls)
VISTA/TinyLLaVA-VISTA/tinyllava/model/connector/__init__.py:18
Functionregister_empty_parameter
(module, name, param)
RLVER/code/verl/utils/fsdp_utils.py:184
Functionregister_empty_parameter
(module, name, param)
RLVMR/code/verl/utils/fsdp_utils.py:188
Functionregister_llm
(name)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/__init__.py:17
Functionregister_llm_cls
(cls)
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/__init__.py:18
Functionregister_template
(name)
VISTA/TinyLLaVA-VISTA/tinyllava/data/template/__init__.py:16
Functionregister_template_cls
(cls)
VISTA/TinyLLaVA-VISTA/tinyllava/data/template/__init__.py:17
Functionregister_training_recipe
(name)
VISTA/TinyLLaVA-VISTA/tinyllava/training_recipe/__init__.py:17
Functionregister_training_recipe_cls
(cls)
VISTA/TinyLLaVA-VISTA/tinyllava/training_recipe/__init__.py:18
Functionregister_vision_tower
(name)
VISTA/TinyLLaVA-VISTA/tinyllava/model/vision_tower/__init__.py:18
Functionregister_vision_tower_cls
(cls)
VISTA/TinyLLaVA-VISTA/tinyllava/model/vision_tower/__init__.py:19
Functionregister_worker
(request: Request)
VISTA/LLaVA-VISTA/llava/serve/controller.py:243
Functionrelease_model_semaphore
(fn=None)
VISTA/LLaVA-VISTA/llava/serve/model_worker.py:225
Functionrelease_model_semaphore
(fn=None)
VISTA/LLaVA-VISTA/llava/serve/sglang_worker.py:195
Functionremote_call_wg
(worker_names)
RLVER/code/tests/ray/test_worker_group_basics.py:69
Functionremove_boxed
(s)
RLVER/code/verl/utils/reward_score/prime_math/__init__.py:295
Functionremove_boxed
(s)
RLVMR/code/verl/utils/reward_score/prime_math/__init__.py:323
Functionremove_pad_token
Remove the pad token. Args: input_ids shape: [bs, seq_length] attention_mask shape: [bs, seq_length] Returns: no_pad
RLVER/code/verl/utils/torch_functional.py:321
Functionremove_pad_token
Remove the pad token. Args: input_ids shape: [bs, seq_length] attention_mask shape: [bs, seq_length] Returns: no_pad
RLVMR/code/verl/utils/torch_functional.py:302
Functionremove_punctuation
(s)
RLVMR/code/agent_system/environments/env_package/alfworld/alfworld/gen/utils/py_util.py:81
Methodremove_receiver
(self, receiver: Union[Set[str], str])
HATE/basic_hate/agentverse/agents/base.py:106
← previousnext →4,601–4,700 of 5,073, ranked by callers