MCPcopy Create free account

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

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

↓ 1 callersFunctionis_torch_npu_available
Check the availability of NPU
verl/verl/utils/device.py:18
↓ 1 callersFunctionis_valid_image
检查图片是否存在且可正常打开
verl/examples/data_preprocess/preprocess_thinking_with_map.py:50
↓ 1 callersMethodis_valid_mcp_servers
Example of mcp servers configuration: { "mcpServers": { "memory": { "command": "npx", "args": ["-
demo/qwen_agent/tools/mcp_manager.py:93
↓ 1 callersFunctionis_valid_messages
check if is valid messages, including: 1. <think> is paried with </think> 2. is not empty inside and outside <think> 3. is not nested
verl/recipe/collabllm/utils.py:231
↓ 1 callersFunctioniter_submodules
Yield *root* and every sub-module inside it.
verl/tests/special_sanity/check_api_docs.py:57
↓ 1 callersFunctioniterate
()
verl/tests/utils/test_rollout_skip_on_cpu.py:39
↓ 1 callersFunctionjson_loads
(text: str)
demo/qwen_agent/utils/utils.py:298
↓ 1 callersFunctionjudge_fp_process
(response, return_err_step=False)
verl/recipe/fapo/reward_fn_reasoning_remote.py:95
↓ 1 callersFunctionkarmarkar_karp
(seqlen_list: list[int], k_partitions: int, equal_size: bool)
verl/verl/utils/seqlen_balancing.py:37
↓ 1 callersFunctionkl_penalty_forward
Compute KL divergence given logprob and ref_logprob. Copied from https://github.com/huggingface/trl/blob/main/trl/trainer/ppo_trainer.py#L1104
verl/verl/trainer/ppo/core_algos.py:1511
↓ 1 callersFunctionlast_boxed_only_string
(string)
verl/recipe/entropy/reward_score/entropy_math/__init__.py:913
↓ 1 callersFunctionlaunch_router_process
( worker_urls: list[str], )
verl/verl/experimental/reward/router/naive_router.py:51
↓ 1 callersFunctionlcp
(arr, suffixArr, inv_suff)
verl/recipe/entropy/reward_score/entropy_math/__init__.py:492
↓ 1 callersFunctionletterbox_pad_transform
Given a PIL.Image, pad to square by adding a symmetric border around the height/width.
verl/recipe/vla/models/openvla_oft/processing_prismatic.py:40
↓ 1 callersFunctionlevenshtein
(s1, s2)
verl/tests/workers/rollout/utils_sglang.py:26
↓ 1 callersFunctionlevenshtein
(s1, s2)
verl/tests/workers/rollout/rollout_vllm/test_vllm_spmd.py:29
↓ 1 callersFunctionloadWidth
()
verl/docs/_static/js/resizable-sidebar.js:28
↓ 1 callersMethodload_checkpoint
(self, checkpoint_path, hdfs_path=None, del_local_after_load=True)
verl/verl/workers/megatron_workers.py:1216
↓ 1 callersMethodload_checkpoint
(self, local_path, hdfs_path=None, del_local_after_load=True)
verl/verl/workers/fsdp_workers.py:1555
↓ 1 callersFunctionload_dir
(path: Path, data: dict[int, dict], pbar, mask_strs: str = "")
verl/scripts/rollout_viewer.py:74
↓ 1 callersFunctionload_done_and_accumulate
Read existing detail jsonl: - return set(done_idx) - accumulate totals/totals_best from stored metrics Expected line schema is wh
parallel_tts/verifier_test_multi_api.py:78
↓ 1 callersFunctionload_done_indices
读取已完成的 index 列表
api_evaluation/vllm_gen.py:52
↓ 1 callersFunctionload_done_indices
读取已完成的 index 列表
api_evaluation/api_gen.py:56
↓ 1 callersMethodload_from_json
(self)
verl/tool_server/api_server_redis.py:208
↓ 1 callersFunctionload_fsdp2_model_to_gpu
(model)
verl/verl/utils/fsdp_utils.py:198
↓ 1 callersFunctionload_group_to_gpu
(group)
verl/verl/utils/megatron_utils.py:525
↓ 1 callersFunctionload_megatron_copy_params
Load optimizer parameters back to GPU. Handles ChainedOptimizer. Args: optimizers: Optimizer or ChainedOptimizer instance.
verl/verl/utils/megatron_utils.py:506
↓ 1 callersFunctionload_model
(model_path: str, use_fp16: bool = False)
verl/examples/sglang_multiturn/search_r1_like/local_dense_retriever/retrieval_server.py:44
↓ 1 callersMethodload_model_cls
(model_arch: str, value=False)
verl/verl/models/registry.py:45
↓ 1 callersMethodload_params_to_cuda
(self)
verl/verl/workers/reward_model/megatron/reward_model.py:343
↓ 1 callersFunctionload_parquet_files
读取给定的 parquet 文件列表并合并
api_evaluation/vllm_gen.py:34
↓ 1 callersFunctionload_parquet_files
读取给定的 parquet 文件列表并合并
api_evaluation/api_gen.py:38
↓ 1 callersFunctionload_pr_body
(event_path)
verl/tests/special_sanity/check_pr_description.py:58
↓ 1 callersFunctionload_quanted_weights
(weights, model_runner)
verl/verl/utils/vllm/vllm_fp8_utils.py:192
↓ 1 callersMethodload_rng_state
(rng_state)
verl/verl/utils/checkpoint/checkpoint_manager.py:158
↓ 1 callersMethodload_rng_states
(self, rng_states, data_parallel_random_init=False, use_dist_ckpt=True)
verl/verl/utils/checkpoint/megatron_checkpoint_manager.py:285
↓ 1 callersFunctionload_template
Load only the first NUM_LINES of the PR template file as a list of lines, without stripping any characters.
verl/tests/special_sanity/check_pr_description.py:40
↓ 1 callersFunctionload_valuehead_model
(local_path, torch_dtype, model_config, trust_remote_code)
verl/verl/utils/model.py:619
↓ 1 callersMethodlog_generations_to_clearml
Log validation generation to clearml as table
verl/verl/utils/tracking.py:431
↓ 1 callersMethodlog_generations_to_mlflow
Log validation generation to mlflow as artifacts
verl/verl/utils/tracking.py:409
↓ 1 callersMethodlog_generations_to_swanlab
Log samples to swanlab as text
verl/verl/utils/tracking.py:394
↓ 1 callersMethodlog_generations_to_tensorboard
Log samples to tensorboard as text
verl/verl/utils/tracking.py:459
↓ 1 callersMethodlog_generations_to_vemlp_wandb
(self, samples, step)
verl/verl/utils/tracking.py:356
↓ 1 callersMethodlog_generations_to_wandb
(self, samples, step)
verl/verl/utils/tracking.py:361
↓ 1 callersFunctionlogprobs_from_logits_flash_attn
(logits, labels, inplace_backward=True)
verl/verl/utils/torch_functional.py:95
↓ 1 callersFunctionlogprobs_from_logits_naive
(logits, labels)
verl/verl/utils/torch_functional.py:110
↓ 1 callersFunctionlogprobs_from_logits_torch_npu
(logits, labels)
verl/verl/utils/torch_functional.py:103
↓ 1 callersFunctionlogprobs_from_logits_v2
A memory efficient implementation of logprobs_from_logits
verl/verl/utils/torch_functional.py:116
↓ 1 callersFunctionlower
(text)
verl/verl/utils/reward_score/search_r1_like_qa_em.py:34
↓ 1 callersFunctionmain
()
parallel_tts/verifier_test_multi.py:313
↓ 1 callersFunctionmain
()
parallel_tts/verifier_test_multi_api.py:351
↓ 1 callersFunctionmain
(parquet_files)
api_evaluation/vllm_gen.py:105
↓ 1 callersFunctionmain
(parquet_files)
api_evaluation/api_gen.py:103
↓ 1 callersFunctionmain
()
verl/tool_server/merge_cache.py:71
↓ 1 callersFunctionmain
Main entry point for PPO training with Hydra configuration management. Args: config_dict: Hydra configuration dictionary containing train
verl/scripts/print_cfg.py:21
↓ 1 callersFunctionmain
()
verl/scripts/legacy_model_merger.py:716
↓ 1 callersFunctionmain
(config)
verl/recipe/spin/main_spin.py:28
↓ 1 callersFunctionmain
()
verl/recipe/collabllm/process_dataset.py:146
↓ 1 callersFunctionmain
Main entry point for PPO training with Hydra configuration management. Args: config_dict: Hydra configuration dictionary containing train
verl/recipe/transfer_queue/main_ppo.py:42
↓ 1 callersFunctionmain
(config)
verl/recipe/one_step_off_policy/main_ppo.py:37
↓ 1 callersFunctionmain
(config)
verl/recipe/dapo/main_dapo.py:32
↓ 1 callersFunctionmain
(config)
verl/recipe/r1/main_eval.py:42
↓ 1 callersFunctionmain
(config)
verl/recipe/prime/main_prime.py:43
↓ 1 callersFunctionmain
(config)
verl/recipe/flowrl/main_flowrl.py:30
↓ 1 callersFunctionmain
(config)
verl/recipe/sppo/main_sppo.py:34
↓ 1 callersFunctionmain
(config)
verl/recipe/entropy/main_entropy.py:27
↓ 1 callersFunctionmain
Main entry point for PPO training with Hydra configuration management. Args: config_dict: Hydra configuration dictionary containing train
verl/recipe/r1_ascend/main_ppo.py:37
↓ 1 callersFunctionmain
()
verl/recipe/r1_ascend/json_to_parquet.py:95
↓ 1 callersFunctionmain
(config)
verl/recipe/vla/main_ppo.py:47
↓ 1 callersFunctionmain
(config)
verl/recipe/fully_async_policy/fully_async_main.py:287
↓ 1 callersFunctionmain
Main function
verl/recipe/fully_async_policy/unittest/simple_streaming_demo.py:169
↓ 1 callersFunctionmain
()
verl/tests/special_sanity/type_coverage_check.py:114
↓ 1 callersFunctionmain
()
verl/tests/special_sanity/validate_imported_docs.py:110
↓ 1 callersFunctionmain
()
verl/tests/special_sanity/check_api_docs.py:115
↓ 1 callersFunctionmain
()
verl/tests/special_sanity/check_pr_description.py:84
↓ 1 callersFunctionmain
()
verl/tests/special_sanity/check_docs_time_info.py:52
↓ 1 callersFunctionmain
()
verl/tests/special_sanity/validate_structure.py:66
↓ 1 callersFunctionmain
Main function to check docstrings in specified files.
verl/tests/special_sanity/check_docstrings.py:88
↓ 1 callersFunctionmain
()
verl/tests/workers/rollout/rollout_vllm/run_fsdp_vllm.py:30
↓ 1 callersFunctionmain
Main function to run trainer tests. Args: config: Configuration object with training parameters
verl/tests/special_e2e/sft/test_sp_loss_match.py:132
↓ 1 callersFunctionmain
()
verl/verl/model_merger/__main__.py:52
↓ 1 callersFunctionmain
Main entry point for PPO training with Hydra configuration management. Args: config_dict: Hydra configuration dictionary containing train
verl/verl/trainer/main_ppo.py:37
↓ 1 callersFunctionmain
(config)
verl/verl/trainer/main_generation.py:44
↓ 1 callersFunctionmain
(config)
verl/verl/trainer/main_eval.py:42
↓ 1 callersFunctionmain
(config)
verl/verl/trainer/sft_trainer.py:373
↓ 1 callersFunctionmain
(config)
verl/verl/trainer/fsdp_sft_trainer.py:837
↓ 1 callersFunctionmain
(config)
verl/verl/trainer/main_generation_server.py:123
↓ 1 callersFunctionmain
(config)
verl/examples/split_placement/main_ppo_split.py:95
↓ 1 callersFunctionmain
()
verl/examples/data_preprocess/preprocess_search_r1_dataset.py:101
↓ 1 callersFunctionmain
(args)
verl/examples/data_preprocess/preprocess_thinking_with_map.py:132
↓ 1 callersFunctionmain
()
verl/examples/data_preprocess/multiturn.py:24
↓ 1 callersFunctionmain
()
demo/qwen_agent/tools/amap_satellite_map_async.py:77
↓ 1 callersFunctionmain
()
demo/qwen_agent/tools/amap_static_map_async.py:66
↓ 1 callersFunctionmake_ensemble_messages
(sample: EnsembleSample)
parallel_tts/verifier_test_multi.py:186
↓ 1 callersFunctionmake_ensemble_messages
(sample: EnsembleSample)
parallel_tts/verifier_test_multi_api.py:256
↓ 1 callersFunctionmake_map_fn
(split)
verl/recipe/open_math_reasoning/prepare_nvidia-OpenMathReasoning_sft.py:46
↓ 1 callersFunctionmake_map_fn
(split)
verl/examples/data_preprocess/aime2024_multiturn_w_tool.py:49
↓ 1 callersFunctionmake_map_fn
(split)
verl/examples/data_preprocess/full_hh_rlhf.py:103
↓ 1 callersFunctionmake_map_fn
(split)
verl/examples/data_preprocess/dapo_multiturn_w_tool.py:49
↓ 1 callersFunctionmake_value_model
Creates a pre-wrap hook that replace the output layer with a value head. Args: hidden_size (int): The hidden size of the model's transfor
verl/verl/models/mcore/bridge.py:97
← previousnext →2,001–2,100 of 4,735, ranked by callers