MCPcopy Create free account

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

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

↓ 1 callersFunction_compute_mlflow_params_from_objects
(params)
verl/verl/utils/tracking.py:300
↓ 1 callersFunction_compute_response_info
Placeholder: Computes prompt and response lengths.
verl/recipe/spin/spin_trainer.py:111
↓ 1 callersMethod_compute_reward
( self, data_source: str, solution_str: str, ground_truth: str, extra_info: dict )
verl/verl/experimental/reward/reward_loop/limited.py:317
↓ 1 callersMethod_compute_rewards_async
(self, data: DataProto, return_dict: bool = False)
verl/recipe/collabllm/reward_function.py:149
↓ 1 callersMethod_compute_total_num_group_envs
(self)
verl/recipe/vla/envs/libero_env/libero_env.py:139
↓ 1 callersMethod_configure_with_store
This function should only be called inside by WorkerGroup
verl/verl/single_controller/base/worker.py:289
↓ 1 callersMethod_consumer_worker
Result consumer coroutine
verl/recipe/fully_async_policy/unittest/simple_streaming_demo.py:120
↓ 1 callersMethod_continue_assistant_response
( self, messages: List[Message], generate_cfg: dict, stream: bool, )
demo/qwen_agent/llm/base.py:316
↓ 1 callersMethod_continue_assistant_response
( self, messages: List[Message], generate_cfg: dict, stream: bool, )
demo/qwen_agent/llm/function_calling.py:138
↓ 1 callersMethod_convert_attention_param
(self, name: str, params: list[torch.Tensor])
verl/verl/models/mcore/weight_converter.py:35
↓ 1 callersMethod_convert_attention_param
(self, name: str, params: list[torch.Tensor])
verl/verl/models/mcore/weight_converter.py:173
↓ 1 callersMethod_convert_messages_iterator_to_target_type
( self, messages_iter: Iterator[List[Message]], target_type: str)
demo/qwen_agent/llm/base.py:401
↓ 1 callersMethod_convert_mlp_param
(self, name: str, params: list[torch.Tensor])
verl/verl/models/mcore/weight_converter.py:65
↓ 1 callersMethod_convert_mlp_param
(self, name: str, params: list[torch.Tensor])
verl/verl/models/mcore/weight_converter.py:225
↓ 1 callersMethod_convert_mtp_param
(self, name: str, params: list[torch.Tensor])
verl/verl/models/mcore/weight_converter.py:382
↓ 1 callersFunction_copy
(from_path: str, to_path: str, timeout: int = None)
verl/verl/utils/hdfs_io.py:113
↓ 1 callersMethod_create_actor_rollout_classes
(self)
verl/recipe/fully_async_policy/ray_trainer.py:77
↓ 1 callersMethod_create_continuous_iterator
Create a continuous data iterator across epoch
verl/recipe/one_step_off_policy/ray_trainer.py:302
↓ 1 callersMethod_create_continuous_iterator
Create a continuous data iterator across epoch
verl/recipe/fully_async_policy/fully_async_rollouter.py:360
↓ 1 callersMethod_create_critic_class
(self)
verl/recipe/fully_async_policy/ray_trainer.py:80
↓ 1 callersMethod_create_dataloader
Creates the train and validation dataloaders.
verl/recipe/transfer_queue/ray_trainer.py:483
↓ 1 callersMethod_create_dataloader
Creates the train and validation dataloaders.
verl/verl/trainer/ppo/ray_trainer.py:349
↓ 1 callersMethod_create_dataloader
Creates the train and validation dataloaders.
verl/verl/trainer/ppo/ray_trainer_ts.py:554
↓ 1 callersMethod_create_padding_request
(self, original_req: AsyncRolloutRequest)
verl/verl/workers/rollout/sglang_rollout/sglang_rollout.py:1367
↓ 1 callersMethod_create_reference_policy_class
(self)
verl/recipe/fully_async_policy/ray_trainer.py:88
↓ 1 callersMethod_create_reward_model_class
(self)
verl/recipe/fully_async_policy/ray_trainer.py:100
↓ 1 callersMethod_create_rollouter
(self, config)
verl/recipe/fully_async_policy/fully_async_main.py:212
↓ 1 callersMethod_create_test_data_for_compute_values
Create test data for compute_values method
verl/tests/workers/critic/test_special_dp_critic.py:94
↓ 1 callersMethod_create_test_data_for_update_critic
Create test data for update_critic method
verl/tests/workers/critic/test_special_dp_critic.py:119
↓ 1 callersMethod_create_trainer
(self, config)
verl/recipe/fully_async_policy/fully_async_main.py:229
↓ 1 callersMethod_create_transferqueue_client
Create a client for data system (TransferQueue).
verl/recipe/transfer_queue/agent_loop.py:87
↓ 1 callersFunction_create_ulysses_wrapped_decoder_forward
(original_forward)
verl/verl/models/transformers/monkey_patch.py:126
↓ 1 callersFunction_custom_flash_attention_forward
Patches flash attention forward to handle 3D position ids in mrope. (3, batch_size, seq_length)
verl/verl/models/transformers/glm4v.py:202
↓ 1 callersFunction_custom_flash_attention_forward
Patches flash attention forward to handle 3D position ids in mrope. (3, batch_size, seq_length)
verl/verl/models/transformers/qwen2_vl.py:182
↓ 1 callersFunction_delta
(N: int, K: int, i: int)
verl/verl/trainer/ppo/PKPO.py:32
↓ 1 callersMethod_delta_stream_output
(response)
demo/qwen_agent/llm/qwen_dashscope.py:97
↓ 1 callersMethod_detect_tool
(self, text: str)
demo/qwen_agent/agents/tir_agent.py:130
↓ 1 callersFunction_determine_fsdp_megatron_base_class
- megatron: base class should be MegatronWorker - fsdp: base class should be Worker
verl/verl/single_controller/ray/base.py:860
↓ 1 callersMethod_determine_resume_path
Determine the path to resume from based on resume_mode configuration
verl/verl/utils/checkpoint/checkpoint_handler.py:166
↓ 1 callersMethod_determine_resume_path
Determine the path to resume from based on resume_mode configuration
verl/verl/trainer/fsdp_sft_trainer.py:666
↓ 1 callersMethod_download
(self)
verl/verl/utils/dataset/rm_dataset.py:77
↓ 1 callersMethod_download
(self)
verl/verl/utils/dataset/sft_dataset.py:76
↓ 1 callersMethod_download
(self)
verl/verl/utils/dataset/multiturn_sft_dataset.py:84
↓ 1 callersFunction_ensure_worker
()
verl/tool_server/amap_satellite_map_sync.py:193
↓ 1 callersFunction_ensure_worker
()
verl/tool_server/amap_static_map_sync.py:194
↓ 1 callersFunction_escape_ansi
(line: str)
demo/qwen_agent/tools/code_interpreter.py:327
↓ 1 callersMethod_execute_method
(self, method: str | bytes, *args, **kwargs)
verl/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd.py:621
↓ 1 callersFunction_exists
hdfs capable to check whether a file_path is exists
verl/verl/utils/hdfs_io.py:43
↓ 1 callersFunction_expand_mask
Expands attention_mask from `[bsz, seq_len]` to `[bsz, 1, tgt_seq_len, src_seq_len]`.
verl/verl/utils/torch_functional.py:621
↓ 1 callersFunction_expand_mask
Expands attention_mask from `[bsz, seq_len]` to `[bsz, 1, tgt_seq_len, src_seq_len]`.
verl/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:61
↓ 1 callersFunction_expand_mask
Expands attention_mask from `[bsz, seq_len]` to `[bsz, 1, tgt_seq_len, src_seq_len]`.
verl/verl/models/llama/megatron/modeling_llama_megatron.py:60
↓ 1 callersMethod_expand_to_token_level
(self, data: DataProto, scores: torch.Tensor)
verl/recipe/spin/fsdp_workers.py:461
↓ 1 callersMethod_expand_to_token_level
(self, data: DataProto, scores: torch.Tensor)
verl/verl/workers/fsdp_workers.py:1788
↓ 1 callersMethod_extract_and_format_results
Extracts and formats search results from the API response.
verl/tool_server/api_server_redis.py:414
↓ 1 callersMethod_extract_device_mesh_info
Retrieves sharding information (device_mesh, mesh_dim_names) from a DTensor in the state_dict. If no DTensor is found, infers a simpl
verl/scripts/legacy_model_merger.py:271
↓ 1 callersMethod_extract_device_mesh_info
Retrieves sharding information (device_mesh, mesh_dim_names) from a DTensor in the state_dict. If no DTensor is found, infers a simpl
verl/verl/model_merger/fsdp_model_merger.py:96
↓ 1 callersMethod_extract_image_and_state
(self, obs)
verl/recipe/vla/envs/isaac_env/isaac_env.py:249
↓ 1 callersMethod_extract_image_and_state
(self, obs)
verl/recipe/vla/envs/libero_env/libero_env.py:235
↓ 1 callersFunction_extract_logprob_from_output
extract log_prob from single sglang inference output
verl/verl/workers/rollout/sglang_rollout/sglang_rollout.py:182
↓ 1 callersMethod_extract_role_config_and_answer
(self, text: str)
demo/qwen_agent/agents/group_chat_creator.py:127
↓ 1 callersMethod_extract_text_from_output
(self, output)
demo/qwen_agent/agents/doc_qa/parallel_doc_qa.py:170
↓ 1 callersMethod_feed_samples
(self)
verl/recipe/fully_async_policy/fully_async_rollouter.py:381
↓ 1 callersFunction_fetch_tp_shard_tensor_gate_up
fetch gate_up tensor in tp shards
verl/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader.py:142
↓ 1 callersFunction_fetch_tp_shard_tensor_gate_up
fetch gate_up tensor in tp shards
verl/verl/models/llama/megatron/checkpoint_utils/llama_loader.py:144
↓ 1 callersFunction_fetch_tp_shard_tensor_qkv
fetch tensor in tp shards across mp_group
verl/verl/models/llama/megatron/checkpoint_utils/llama_loader.py:170
↓ 1 callersFunction_fetch_tp_shard_tensor_vocab
fetch tensor in tp shards
verl/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader.py:110
↓ 1 callersFunction_fetch_tp_shard_tensor_vocab
fetch tensor in tp shards
verl/verl/models/llama/megatron/checkpoint_utils/llama_loader.py:112
↓ 1 callersMethod_find_latest_checkpoint
Find the latest checkpoint in the default local directory
verl/verl/utils/checkpoint/checkpoint_handler.py:191
↓ 1 callersMethod_find_latest_checkpoint
Find the latest checkpoint in the default local directory
verl/verl/trainer/fsdp_sft_trainer.py:691
↓ 1 callersFunction_fix_a_slash_b
(string)
verl/recipe/entropy/reward_score/entropy_math/__init__.py:252
↓ 1 callersFunction_fix_a_slash_b
(string)
verl/recipe/entropy/reward_score/entropy_math/math_normalize.py:90
↓ 1 callersFunction_fix_a_slash_b
(string)
verl/verl/utils/reward_score/prime_math/math_normalize.py:90
↓ 1 callersFunction_fix_fracs
(string)
verl/recipe/entropy/reward_score/entropy_math/__init__.py:221
↓ 1 callersFunction_fix_fracs
(string)
verl/recipe/entropy/reward_score/entropy_math/math_normalize.py:58
↓ 1 callersFunction_fix_fracs
(string)
verl/verl/utils/reward_score/prime_math/math_normalize.py:58
↓ 1 callersFunction_fix_matplotlib_cjk_font_issue
()
demo/qwen_agent/tools/code_interpreter.py:308
↓ 1 callersMethod_fix_secure_write_for_code_interpreter
(self)
demo/qwen_agent/tools/code_interpreter.py:159
↓ 1 callersFunction_fix_sqrt
(string)
verl/recipe/entropy/reward_score/entropy_math/__init__.py:275
↓ 1 callersFunction_fix_sqrt
(string)
verl/recipe/entropy/reward_score/entropy_math/math_normalize.py:115
↓ 1 callersFunction_fix_sqrt
(string)
verl/verl/utils/reward_score/prime_math/math_normalize.py:115
↓ 1 callersFunction_flatten_dict
(raw: dict[str, Any], *, sep: str)
verl/verl/utils/tracking.py:327
↓ 1 callersMethod_format_file
(self, messages: List[Message], lang: str = 'en')
demo/qwen_agent/agents/virtual_memory_agent.py:80
↓ 1 callersMethod_format_results
(search_results: List[Any])
demo/qwen_agent/tools/web_search.py:64
↓ 1 callersMethod_format_results
(search_results: List[dict])
demo/qwen_agent/tools/google_map_search.py:70
↓ 1 callersFunction_format_reward
Calculate the format reward for 'point' type data. This function is now primarily used as a check to see if the format is valid. Args:
verl/recipe/infigui-g1/reward_fn.py:152
↓ 1 callersMethod_forward_head
(self, hidden_states)
verl/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:317
↓ 1 callersMethod_forward_head
(self, hidden_states)
verl/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:629
↓ 1 callersMethod_forward_head
(self, hidden_states)
verl/verl/models/llama/megatron/modeling_llama_megatron.py:316
↓ 1 callersMethod_forward_head
(self, hidden_states)
verl/verl/models/llama/megatron/modeling_llama_megatron.py:583
↓ 1 callersMethod_forward_micro_batch
Returns: entropy: # (bs, response_len) log_probs: # (bs, response_len)
verl/recipe/flowrl/flowrl_actor.py:67
↓ 1 callersMethod_forward_micro_batch
micro_batch: Returns: entropy: # (bs, response_len) log_probs: # (bs, response_len)
verl/recipe/vla/dp_rob.py:95
↓ 1 callersMethod_forward_micro_batch
(self, micro_batch)
verl/verl/workers/fsdp_workers.py:1725
↓ 1 callersMethod_forward_micro_batch_update
( self, input_ids, attention_mask, pixel_values, responses, temperature )
verl/recipe/vla/dp_rob.py:139
↓ 1 callersMethod_full_stream_output
(response)
demo/qwen_agent/llm/qwen_dashscope.py:110
↓ 1 callersFunction_fused_linear_for_ppo_bwd
( dlog_probs: Optional[torch.FloatTensor], dentropy: Optional[torch.FloatTensor], hidden_states: t
verl/verl/utils/experimental/torch_functional.py:40
↓ 1 callersFunction_fused_linear_for_ppo_fwd
( hidden_states: torch.FloatTensor, vocab_weights: torch.FloatTensor, input_ids: torch.LongTensor,
verl/verl/utils/experimental/torch_functional.py:20
↓ 1 callersMethod_gen_batch_response
(self, messages: List[Message] = None, lang: str = 'zh
demo/qwen_agent/agents/group_chat.py:110
↓ 1 callersMethod_generate_minibatch
(self, prompts: DataProto)
verl/verl/workers/rollout/hf_rollout.py:54
↓ 1 callersMethod_generate_one_step
(self, prompts: dict, do_sample, temperature, max_prompt_length)
verl/recipe/vla/naive_rollout_rob.py:136
↓ 1 callersMethod_generate_step
( self, prompt_ids: list[int], sampling_params: dict[str, Any], request_id: st
verl/recipe/fully_async_policy/vllm_rollout/vllm_async_server.py:57
← previousnext →1,201–1,300 of 4,735, ranked by callers