MCPcopy Create free account

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

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

↓ 1 callersMethodtruncate_output_ids
( self, processing_class: PreTrainedTokenizer | PreTrainedTokenizerFast | ProcessorMixin )
verl/verl/workers/rollout/schemas.py:658
↓ 1 callersMethodtry_load
(self)
verl/verl/utils/rollout_skip.py:80
↓ 1 callersFunctionunfold_batch_dim
Unfold the first n dims as new batch dim
verl/verl/protocol.py:233
↓ 1 callersFunctionunion_two_dict
Union two dict. Will throw an error if there is an item not the same object with the same key. Args: dict1: dict2: Returns:
verl/verl/utils/py_functional.py:147
↓ 1 callersFunctionunit_convert
(number, level)
verl/verl/utils/flops_counter.py:58
↓ 1 callersFunctionunpack_tuple
(fn: Callable[[Any], tuple[Any]])
verl/recipe/vla/models/openvla_oft/modeling_prismatic.py:61
↓ 1 callersFunctionunwrap_non_tensor_data
(data)
verl/verl/utils/tensordict_utils.py:90
↓ 1 callersMethodupdate_actor_dpo
Wrapper for actor update step. Handles FSDP state management. Calls self.actor.update_policy which now contains DPO logic based
verl/recipe/spin/fsdp_workers.py:227
↓ 1 callersFunctionupdate_dispatch_mode
Update the dispatch mode.
verl/verl/single_controller/base/decorator.py:368
↓ 1 callersMethodupdate_metrics
metrics: should be a dict of tools_name -> Any
verl/verl/workers/rollout/schemas.py:476
↓ 1 callersMethodupdate_model_parameters
(self, model)
verl/verl/utils/activation_offload.py:47
↓ 1 callersMethodupdate_param_version_sync
Update parameter version (async)
verl/recipe/fully_async_policy/message_queue.py:263
↓ 1 callersMethodupdate_params
Update model parameters in the vLLM inference engine. Synchronizes parameters from the FSDP training model to the vLLM inference engi
verl/verl/workers/sharding_manager/fsdp_vllm.py:283
↓ 1 callersMethodupdate_policy
(self, data: DataProto)
verl/verl/workers/actor/dp_actor.py:372
↓ 1 callersMethodupdate_policy_dpo_with_ref
Performs the DPO update step using pre-calculated reference log probs from an external, periodically updated reference model.
verl/recipe/spin/dp_actor.py:92
↓ 1 callersFunctionupdate_prometheus_config
Update Prometheus configuration file with server addresses and reload on first node. server_addresses: vllm or sglang server addresses
verl/verl/experimental/agent_loop/prometheus_utils.py:28
↓ 1 callersMethodupdate_sampling_params
(self, **kwargs)
verl/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd.py:283
↓ 1 callersMethodupdate_weights
(self, inference_engine, params)
verl/recipe/one_step_off_policy/fsdp_workers.py:124
↓ 1 callersMethodupdate_weights
(self, params)
verl/verl/workers/sharding_manager/fsdp_sglang.py:106
↓ 1 callersMethodupdate_weights
Update model weights using tensor buckets, similar to THUDM/slime's implementation. Notes: - For the best performance of `
verl/verl/workers/sharding_manager/megatron_sglang.py:134
↓ 1 callersMethodvalidate
Validate FSDP actor configuration with runtime parameters.
verl/verl/workers/config/actor.py:259
↓ 1 callersFunctionvalidate_arguments
(args)
verl/recipe/r1_ascend/json_to_parquet.py:38
↓ 1 callersFunctionvalidate_config
Validate an OmegaConf DictConfig Args: config: The OmegaConf DictConfig to validate. use_reference_policy (bool): is ref pol
verl/recipe/spin/utils.py:18
↓ 1 callersFunctionvalidate_yaml_format
(yaml_lines)
verl/tests/special_sanity/test_config_docs.py:19
↓ 1 callersMethodvalidation_step
(self, batch: TensorDict)
verl/verl/trainer/fsdp_sft_trainer.py:526
↓ 1 callersFunctionverify
( solution_str: str, gt: str, )
verl/recipe/fapo/reward_fn_reasoning_remote.py:22
↓ 1 callersFunctionverify
Verify if the solution is correct. Args: solution_str: The solution string to verify answer: The ground truth answer stri
verl/verl/utils/reward_score/math_dapo.py:220
↓ 1 callersMethodverify
verify the batch and save as ``acc`` tensor
verl/verl/workers/reward_manager/prime.py:119
↓ 1 callersFunctionverify_copy
verify the copy of src to dest by comparing their sizes and file structures. return: bool: True if the copy is verified, False other
verl/verl/utils/fs.py:82
↓ 1 callersMethodverify_correctness
(self, iterations=5)
verl/tests/utils/test_linear_cross_entropy.py:164
↓ 1 callersMethodverify_kernel_correctness
(self, iterations: int = 5)
verl/tests/utils/test_special_linear_cross_entropy_tp.py:364
↓ 1 callersMethodverify_torch_itself
(self, iterations: int = 5)
verl/tests/utils/test_special_linear_cross_entropy_tp.py:261
↓ 1 callersMethodwake_up
(self)
verl/verl/workers/sharding_manager/megatron_sglang.py:168
↓ 1 callersMethodwake_up
Wake up each rollout server.
verl/verl/workers/rollout/replica.py:205
↓ 1 callersMethodwake_up
Wake up all rollout replica instances.
verl/verl/experimental/reward/reward_model.py:104
↓ 1 callersFunctionwhite_space_fix
(text)
verl/verl/utils/reward_score/search_r1_like_qa_em.py:27
↓ 1 callersFunctionwrap_generate_sequences
(rolloutskip: RolloutSkip, rollout_wg)
verl/verl/utils/rollout_skip.py:119
↓ 1 callersMethodwrap_module_forward_method
(self, module)
verl/verl/utils/activation_offload.py:485
↓ 1 callersFunctionwrite_detail_line
(detail_f, payload: Dict[str, Any])
parallel_tts/verifier_test_multi_api.py:123
Method__call__
(self, data: DataProto, return_dict: bool = False)
verl/recipe/collabllm/reward_function.py:134
Method__call__
(self, images: Image.Image | list[Image.Image], **kwargs)
verl/recipe/vla/models/openvla_oft/processing_prismatic.py:186
Method__call__
Preprocess a given (batch) of text/images for a Prismatic VLM; forwards text to the underlying LLM's tokenizer, forwards images to Pr
verl/recipe/vla/models/openvla_oft/processing_prismatic.py:204
Method__call__
(self, tensor)
verl/verl/utils/activation_offload.py:44
Method__call__
(self, batch: list[dict[str, any]])
verl/verl/utils/dataset/dataset_utils.py:39
Method__call__
(self, decorated_function: callable)
verl/verl/utils/profiler/performance.py:103
Method__call__
(this, *args, **kwargs)
verl/verl/single_controller/ray/base.py:44
Method__call__
Create and return a Ray actor with the configured options. Args: placement_group: Ray placement group for scheduling
verl/verl/single_controller/ray/base.py:278
Method__call__
(self)
verl/verl/single_controller/base/worker_group.py:56
Method__call__
Instantiate the stored class with the stored arguments.
verl/verl/single_controller/base/worker_group.py:97
Method__call__
( self, data: DataProto, return_dict: bool = False, )
verl/verl/workers/reward_manager/abstract.py:40
Method__call__
(self, data: DataProto, return_dict: bool = False)
verl/verl/workers/reward_manager/batch.py:80
Method__call__
We will expand this function gradually based on the available datasets
verl/verl/workers/reward_manager/dapo.py:53
Method__call__
We will expand this function gradually based on the available datasets
verl/verl/workers/reward_manager/prime.py:151
Method__call__
We will expand this function gradually based on the available datasets
verl/verl/workers/reward_manager/naive.py:46
Method__call__
Make the manager callable like traditional reward managers. This method provides compatibility with the existing reward manager interface
verl/verl/experimental/reward/reward_loop/limited.py:421
Method__call__
We will expand this function gradually based on the available datasets
verl/examples/split_placement/main_ppo_split.py:43
Method__call__
(self, input_ids, scores, **kwargs)
demo/qwen_agent/llm/openvino.py:102
Method__collect_lora_params
collect lora params or full params if base model is not ready in vllm work with if isinstance(self.module._fsdp_wrapped_modul
verl/verl/workers/sharding_manager/fsdp_vllm.py:130
Method__contains__
(cls, item: Any)
verl/verl/utils/py_functional.py:217
Method__del__
(self)
verl/verl/utils/tracking.py:158
Method__del__
(self)
demo/qwen_agent/tools/code_interpreter.py:149
Method__enter__
(self)
verl/recipe/one_step_off_policy/vllm_sharding_manager.py:49
Method__enter__
(self)
verl/recipe/one_step_off_policy/sglang_sharding_manager.py:44
Method__enter__
(self)
verl/recipe/entropy/reward_score/entropy_math/__init__.py:528
Method__enter__
(self)
verl/verl/utils/reward_score/prime_code/testing_util.py:56
Method__enter__
(self)
verl/verl/workers/sharding_manager/fsdp_vllm.py:129
Method__enter__
(self)
verl/verl/workers/sharding_manager/base.py:25
Method__enter__
(self)
verl/verl/workers/sharding_manager/fsdp_sglang.py:95
Method__enter__
(self)
verl/verl/workers/sharding_manager/fsdp_ulysses.py:37
Method__enter__
(self)
verl/verl/workers/sharding_manager/megatron_sglang.py:123
Method__enter__
(self)
verl/verl/workers/sharding_manager/megatron_vllm.py:145
Method__enter__
(self)
verl/verl/workers/engine/megatron/transformer_impl.py:550
Method__enter__
(self)
verl/verl/workers/engine/megatron/transformer_impl.py:571
Method__enter__
(self)
verl/verl/workers/engine/fsdp/transformer_impl.py:696
Method__exit__
(self, exc_type, exc_value, traceback)
verl/recipe/one_step_off_policy/vllm_sharding_manager.py:53
Method__exit__
(self, exc_type, exc_value, traceback)
verl/recipe/one_step_off_policy/sglang_sharding_manager.py:48
Method__exit__
(self, type, value, traceback)
verl/recipe/entropy/reward_score/entropy_math/__init__.py:532
Method__exit__
(self, *args)
verl/verl/utils/reward_score/prime_code/testing_util.py:63
Method__exit__
(self, exc_type, exc_value, traceback)
verl/verl/workers/sharding_manager/fsdp_vllm.py:245
Method__exit__
(self, exc_type, exc_value, traceback)
verl/verl/workers/sharding_manager/base.py:28
Method__exit__
(self, exc_type, exc_value, traceback)
verl/verl/workers/sharding_manager/fsdp_sglang.py:102
Method__exit__
(self, exc_type, exc_value, traceback)
verl/verl/workers/sharding_manager/fsdp_ulysses.py:45
Method__exit__
(self, exc_type, exc_value, traceback)
verl/verl/workers/sharding_manager/megatron_sglang.py:130
Method__exit__
(self, exc_type, exc_value, traceback)
verl/verl/workers/sharding_manager/megatron_vllm.py:195
Method__exit__
(self, exc_type, exc_value, traceback)
verl/verl/workers/engine/megatron/transformer_impl.py:561
Method__exit__
(self, exc_type, exc_value, traceback)
verl/verl/workers/engine/megatron/transformer_impl.py:584
Method__exit__
(self, exc_type, exc_value, traceback)
verl/verl/workers/engine/fsdp/transformer_impl.py:706
Method__getitem__
Note that we also return the raw_input_ids so that it can be combined with other chat template
verl/recipe/deepeyes/deepeyes.py:53
Method__getitem__
Note that we also return the raw_input_ids so that it can be combined with other chat template
verl/recipe/minicpmo/rl_dataset.py:489
Method__getitem__
(self, index)
verl/tests/utils/dataset/test_create_rl_sampler_on_cpu.py:70
Method__getitem__
Implement the [] operator for the class. Allows accessing attributes like dictionary items. Args: key (str): The attribute name t
verl/verl/base_config.py:55
Method__getitem__
Enhanced indexing for DataProto objects. Args: item: Can be one of: - int: A single index
verl/verl/protocol.py:354
Method__getitem__
(cls, name: str)
verl/verl/utils/py_functional.py:223
Method__getitem__
(self, item)
verl/verl/utils/dataset/rm_dataset.py:136
Method__getitem__
(self, item)
verl/verl/utils/dataset/sft_dataset.py:136
Method__getitem__
Note that we also return the raw_input_ids so that it can be combined with other chat template
verl/verl/utils/dataset/rl_dataset.py:290
Method__getitem__
(self, item)
verl/verl/utils/dataset/multiturn_sft_dataset.py:253
Method__getitem__
(self, item)
demo/qwen_agent/tools/image_search.py:69
Method__getitem__
(self, item)
demo/qwen_agent/llm/schema.py:39
Method__getstate__
(self)
verl/recipe/minicpmo/rl_dataset.py:563
← previousnext →2,401–2,500 of 4,735, ranked by callers