MCPcopy Create free account

hub / github.com/AMAP-ML/Thinking-with-Map / functions

Functions4,735 in github.com/AMAP-ML/Thinking-with-Map

↓ 1 callersMethod_load_config
(self, file: str)
verl/verl/tools/utils/mcp_clients/McpClientManager.py:85
↓ 1 callersMethod_load_dataloader_state
Load dataloader state from checkpoint
verl/verl/utils/checkpoint/checkpoint_handler.py:140
↓ 1 callersMethod_load_dataloader_state
Load dataloader state from checkpoint
verl/verl/trainer/fsdp_sft_trainer.py:641
↓ 1 callersMethod_load_model
(self, *args, **kwargs)
verl/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd.py:617
↓ 1 callersMethod_load_rank_zero_state_dict
(self, world_size: int)
verl/scripts/legacy_model_merger.py:264
↓ 1 callersMethod_load_rank_zero_state_dict
(self, world_size: int)
verl/verl/model_merger/fsdp_model_merger.py:89
↓ 1 callersMethod_load_state_dicts
( self, model_ckpt_path: str, sharded_dirs: list[str], tp_size: int, pp_size: int )
verl/scripts/legacy_model_merger.py:567
↓ 1 callersMethod_load_state_dicts
_summary_ Use Megatron dist_checkpointing to load the model state dicts from the checkpoint directory. Args: model_ckpt_p
verl/verl/model_merger/megatron_model_merger.py:220
↓ 1 callersMethod_log_rollout_data
Log rollout data to disk. Args: batch (DataProto): The batch containing rollout data reward_extra_infos_dict (dict): A
verl/verl/trainer/ppo/ray_trainer.py:459
↓ 1 callersMethod_loop_forever
(self)
verl/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd.py:580
↓ 1 callersFunction_make_causal_mask
Make causal mask used for bi-directional self-attention.
verl/verl/utils/torch_functional.py:608
↓ 1 callersFunction_make_causal_mask
Make causal mask used for bi-directional self-attention.
verl/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:48
↓ 1 callersFunction_make_causal_mask
Make causal mask used for bi-directional self-attention.
verl/verl/models/llama/megatron/modeling_llama_megatron.py:47
↓ 1 callersMethod_make_request
Sends a request to the Brightdata API.
verl/tool_server/api_server_redis.py:332
↓ 1 callersMethod_manage_messages
(self, messages: List[Message], name: str)
demo/qwen_agent/agents/group_chat.py:214
↓ 1 callersMethod_maybe_log_val_generations
Log a table of validation samples to the configured logger (wandb or swanlab)
verl/recipe/spin/spin_trainer.py:463
↓ 1 callersMethod_maybe_log_val_generations
Log a table of validation samples to the configured logger (wandb or swanlab)
verl/recipe/transfer_queue/ray_trainer.py:624
↓ 1 callersMethod_maybe_log_val_generations
Log a table of validation samples to the configured logger (wandb or swanlab)
verl/verl/trainer/ppo/ray_trainer.py:491
↓ 1 callersMethod_maybe_log_val_generations
Log a table of validation samples to the configured logger (wandb or swanlab)
verl/verl/trainer/ppo/ray_trainer_ts.py:653
↓ 1 callersMethod_maybe_resize_bbox
Resize bbox to ensure it's valid
verl/verl/tools/image_zoom_in_tool_qwen3vl.py:205
↓ 1 callersMethod_maybe_resize_bbox
Clamp, validate, and potentially resize a bounding box. This function ensures the final bounding box is within image bounds and meet
verl/verl/tools/image_zoom_in_tool.py:205
↓ 1 callersFunction_megatron_calc_layer_map
Calculate the mapping of global layer_idx to local layer_idx Returns: layer_map (Dict: int -> tuple(int, int, int)): mapping f
verl/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader_depracated.py:23
↓ 1 callersFunction_megatron_calc_layer_map
Calculate the mapping of global layer_idx to local layer_idx Returns: layer_map (Dict: int -> tuple(int, int, int)): mapping f
verl/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader.py:23
↓ 1 callersFunction_megatron_calc_layer_map
Calculate the mapping of global layer_idx to local layer_idx Returns: layer_map (Dict: int -> tuple(int, int, int)): mapping f
verl/verl/models/qwen2/megatron/checkpoint_utils/qwen2_saver.py:42
↓ 1 callersFunction_megatron_calc_layer_map
Calculate the mapping of global layer_idx to local layer_idx Returns: layer_map (Dict: int -> tuple(int, int, int)): mapping f
verl/verl/models/mcore/saver.py:53
↓ 1 callersFunction_megatron_calc_layer_map
Calculate the mapping of global layer_idx to local layer_idx Returns: layer_map (Dict: int -> tuple(int, int, int)): mapping f
verl/verl/models/mcore/loader.py:26
↓ 1 callersFunction_megatron_calc_layer_map
Calculate the mapping of global layer_idx to local layer_idx Returns: layer_map (Dict: int -> tuple(int, int, int)): mapping f
verl/verl/models/llama/megatron/checkpoint_utils/llama_saver.py:42
↓ 1 callersFunction_megatron_calc_layer_map
Calculate the mapping of global layer_idx to local layer_idx Returns: layer_map (Dict: int -> tuple(int, int, int)): mapping f
verl/verl/models/llama/megatron/checkpoint_utils/llama_loader.py:23
↓ 1 callersFunction_megatron_calc_layer_map
Calculate the mapping of global layer_idx to local layer_idx Returns: layer_map (Dict: int -> tuple(int, int, int)): mapping f
verl/verl/models/llama/megatron/checkpoint_utils/llama_loader_depracated.py:23
↓ 1 callersMethod_merge_across_tp
( self, key: str, tp_data: list[torch.Tensor], config: PretrainedConfig,
verl/scripts/legacy_model_merger.py:511
↓ 1 callersMethod_merge_by_placement
Merges a list of tensors based on their DTensor placement
verl/scripts/legacy_model_merger.py:307
↓ 1 callersMethod_merge_by_placement
Merges a list of tensors based on their DTensor placement
verl/verl/model_merger/fsdp_model_merger.py:132
↓ 1 callersMethod_merge_state_dicts
( self, model_state_dict_lst: list[list[dict]], tp_size: int, pp_size: int )
verl/scripts/legacy_model_merger.py:609
↓ 1 callersMethod_merge_state_dicts
(self, model_state_dict_list: list[dict[str, Any]])
verl/verl/model_merger/megatron_model_merger.py:358
↓ 1 callersFunction_mkdir
hdfs mkdir
verl/verl/utils/hdfs_io.py:75
↓ 1 callersFunction_mock_api_call_for_concurrency_tracking
( active_calls_counter, # multiprocessing.Value max_calls_tracker, # multiprocessing.Value call_
verl/tests/utils/reward_score/reward_score/test_sandbox_fusion_on_cpu.py:351
↓ 1 callersFunction_monkey_patch_compute_logits
(model, vocab_size: int)
verl/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd.py:511
↓ 1 callersMethod_normalize_config_bsz
(self)
verl/verl/trainer/fsdp_sft_trainer.py:137
↓ 1 callersMethod_optimizer_step
(self)
verl/recipe/prime/prime_dp_rm.py:230
↓ 1 callersMethod_optimizer_step
(self)
verl/verl/workers/critic/dp_critic.py:134
↓ 1 callersMethod_optimizer_step
(self)
verl/verl/workers/actor/dp_actor.py:283
↓ 1 callersMethod_pack_kwargs
(self, *args, **kwargs)
verl/verl/utils/activation_offload.py:437
↓ 1 callersMethod_parse_and_chunk_files
(self, messages: List[Message])
demo/qwen_agent/agents/doc_qa/parallel_doc_qa.py:85
↓ 1 callersFunction_parse_args
()
verl/tests/special_sanity/validate_imported_docs.py:32
↓ 1 callersFunction_parse_latex
Attempts to parse latex to an expression sympy can read.
verl/recipe/entropy/reward_score/entropy_math/__init__.py:710
↓ 1 callersFunction_parse_latex
Attempts to parse latex to an expression sympy can read.
verl/verl/utils/reward_score/prime_math/__init__.py:53
↓ 1 callersMethod_parse_messages
(self, messages, strip_sys_prompt=True)
verl/recipe/collabllm/collabllm_interation.py:193
↓ 1 callersMethod_parse_tool_result
(self, content: list)
verl/verl/tools/mcp_base_tool.py:120
↓ 1 callersMethod_parser_json
(self, content)
demo/qwen_agent/agents/doc_qa/parallel_doc_qa.py:177
↓ 1 callersMethod_partial_run_agent_loop
( self, sampling_params: dict[str, Any], trajectory: dict[str, Any], *,
verl/recipe/fully_async_policy/agent_loop/agent_loop.py:158
↓ 1 callersFunction_passages2string
Convert retrieval results to formatted string.
verl/verl/tools/utils/search_r1_like_utils.py:130
↓ 1 callersMethod_patch_layer_scales
Patch all LayerScale modules to be compatible with HF's parameter naming. HF Transformers overwrites parameters with names containin
verl/recipe/vla/models/openvla_oft/modeling_prismatic.py:157
↓ 1 callersMethod_performance_metrics
(self, metrics: list[list[dict[str, str]]], output: BatchMeta)
verl/recipe/transfer_queue/agent_loop.py:59
↓ 1 callersMethod_performance_metrics
(self, metrics: list[list[dict[str, str]]], output: DataProto)
verl/verl/experimental/agent_loop/agent_loop.py:820
↓ 1 callersMethod_post_batch_processing
(self, batch: DataProto)
verl/recipe/fully_async_policy/ray_trainer.py:524
↓ 1 callersMethod_post_generate_batch
(self, batch, gen_batch_output, metrics)
verl/recipe/fully_async_policy/ray_trainer.py:318
↓ 1 callersFunction_post_process_outputs
(processing_class, output)
verl/verl/workers/rollout/sglang_rollout/sglang_rollout.py:199
↓ 1 callersMethod_postprocess_messages
(self, messages: List[Message])
demo/qwen_agent/agents/group_chat_creator.py:113
↓ 1 callersMethod_postprocess_messages_iterator
( self, messages: Iterator[List[Message]], fncall_mode: bool, generate_cfg: di
demo/qwen_agent/llm/base.py:381
↓ 1 callersFunction_postprocess_stop_words
(messages: List[Message], stop: List[str])
demo/qwen_agent/llm/base.py:547
↓ 1 callersFunction_pre_process_inputs
(pad_token_id, prompt_token_ids: torch.Tensor)
verl/tests/workers/rollout/test_sglang_spmd.py:38
↓ 1 callersMethod_prepare_decoder_attention_mask
(self, attention_mask, input_shape, inputs_embeds)
verl/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:102
↓ 1 callersMethod_prepare_decoder_attention_mask
(self, attention_mask, input_shape, inputs_embeds)
verl/verl/models/llama/megatron/modeling_llama_megatron.py:101
↓ 1 callersMethod_prepare_generate_batch
(self, batch_dict)
verl/recipe/fully_async_policy/ray_trainer.py:305
↓ 1 callersMethod_prepend_react_prompt
(self, messages: List[Message], lang: Literal['en', 'zh'])
demo/qwen_agent/agents/react_chat.py:109
↓ 1 callersMethod_prepend_storage_info_to_sys
(self, messages: List[Message])
demo/qwen_agent/agents/memo_assistant.py:65
↓ 1 callersMethod_preprocess_messages
( self, messages: List[Message], lang: Literal['en', 'zh'], generate_cfg: dict
demo/qwen_agent/llm/base.py:341
↓ 1 callersMethod_preprocess_messages
(self, messages: List[Message])
demo/qwen_agent/agents/group_chat_creator.py:95
↓ 1 callersMethod_process_data_async
Asynchronously process a single data item
verl/recipe/fully_async_policy/unittest/simple_streaming_demo.py:61
↓ 1 callersFunction_process_single_case
Helper function to process a single test case.
verl/verl/utils/reward_score/sandbox_fusion/utils.py:174
↓ 1 callersMethod_process_single_sample_streaming
Process a single sample streamingly
verl/recipe/fully_async_policy/fully_async_rollouter.py:496
↓ 1 callersMethod_processor_worker
Streaming worker coroutines, a sample is submitted for processing without waiting for batches
verl/recipe/fully_async_policy/fully_async_rollouter.py:420
↓ 1 callersFunction_read_async_response
(resp: aiohttp.ClientResponse)
verl/verl/experimental/reward/router/naive_router.py:34
↓ 1 callersMethod_read_files_and_process
(self)
verl/verl/utils/dataset/multiturn_sft_dataset.py:88
↓ 1 callersMethod_read_files_and_tokenize
(self)
verl/verl/utils/dataset/rm_dataset.py:92
↓ 1 callersMethod_read_files_and_tokenize
(self)
verl/verl/utils/dataset/sft_dataset.py:80
↓ 1 callersMethod_reconfigure
(self, reset_state_ids, env_idx)
verl/recipe/vla/envs/libero_env/libero_env.py:259
↓ 1 callersMethod_record_metrics
(self, step_reward, terminations, infos)
verl/recipe/vla/envs/isaac_env/isaac_env.py:134
↓ 1 callersMethod_record_metrics
(self, step_reward, terminations, infos)
verl/recipe/vla/envs/libero_env/libero_env.py:224
↓ 1 callersMethod_register_with_router
Register worker with router with error handling. This method attempts to register the current worker with a router service. If regist
verl/verl/workers/rollout/sglang_rollout/http_server_engine.py:270
↓ 1 callersMethod_regression_or_discrete_prediction
Run L1 regression-based continuous action prediction or discrete action tokens prediction.
verl/recipe/vla/models/openvla_oft/modeling_prismatic.py:1496
↓ 1 callersMethod_release_worker
Mark worker as free after request completes.
verl/verl/experimental/reward/router/naive_router.py:181
↓ 1 callersMethod_remove_fncall_messages
(self, messages: List[Message], lang: Literal['en', 'zh'])
demo/qwen_agent/llm/function_calling.py:84
↓ 1 callersFunction_remove_right_units
(string)
verl/recipe/entropy/reward_score/entropy_math/__init__.py:266
↓ 1 callersFunction_remove_right_units
(string)
verl/recipe/entropy/reward_score/entropy_math/math_normalize.py:105
↓ 1 callersFunction_remove_right_units
(string)
verl/verl/utils/reward_score/prime_math/math_normalize.py:105
↓ 1 callersMethod_replace_input_embeddings
Replace embeddings in input_embeddings at positions where all_actions_mask is True with embeddings from noisy_action_features, using
verl/recipe/vla/models/openvla_oft/modeling_prismatic.py:411
↓ 1 callersMethod_replace_name
(self, megatron_name: str, name_mapping: dict[str, str])
verl/scripts/legacy_model_merger.py:704
↓ 1 callersMethod_replace_name
(self, megatron_name: str, name_mapping: dict[str, str])
verl/verl/model_merger/megatron_model_merger.py:533
↓ 1 callersMethod_req_level_generate_sequences
Generates multi-turn sequences for a batch of prompts. For multi-turn generation, each prompt is processed separately via `_req_level_
verl/verl/workers/rollout/sglang_rollout/sglang_rollout.py:1108
↓ 1 callersMethod_restore_from_output
restore AgentState and AgentData from output
verl/recipe/fully_async_policy/agent_loop/partial_tool_agent_loop.py:123
↓ 1 callersMethod_restructure_obs_data
Reshapes flat observation data from env_wg into a list of per-stage DataProto objects.
verl/recipe/vla/env_loop.py:149
↓ 1 callersMethod_retrieve_according_to_member_responses
( self, messages: List[Message], lang: str = 'en', user_question: str = '',
demo/qwen_agent/agents/doc_qa/parallel_doc_qa.py:97
↓ 1 callersFunction_run
(path: Path, mask_str: str)
verl/scripts/rollout_viewer.py:534
↓ 1 callersMethod_run
Return one response generator based on the received messages. The workflow for an agent to generate a reply. Each agent subclass need
demo/qwen_agent/agent.py:134
↓ 1 callersMethod_run_agent_loop
( self, sampling_params: dict[str, Any], trajectory: dict[str, Any], *,
verl/verl/experimental/agent_loop/agent_loop.py:392
↓ 1 callersMethod_run_state_machine
State machine. Currently, interruptions are only supported to occur in the GENERATING state or other states have ended.
verl/recipe/fully_async_policy/agent_loop/partial_tool_agent_loop.py:131
↓ 1 callersMethod_run_training_loop
(self)
verl/recipe/fully_async_policy/fully_async_main.py:250
↓ 1 callersFunction_s_sorted
(g_sorted: torch.Tensor, K: int)
verl/verl/trainer/ppo/PKPO.py:49
↓ 1 callersMethod_save_checkpoint
(self)
verl/recipe/transfer_queue/ray_trainer.py:989
← previousnext →1,401–1,500 of 4,735, ranked by callers