MCPcopy Create free account

hub / github.com/Xuekai-Zhu/FlowRL / functions

Functions4,141 in github.com/Xuekai-Zhu/FlowRL

↓ 1 callersMethodtraining_step
(self, batch: TensorDict)
verl_Test/verl/trainer/fsdp_sft_trainer.py:390
↓ 1 callersMethodtraining_step
(self, batch: TensorDict)
verl_FlowRL/verl/trainer/fsdp_sft_trainer.py:390
↓ 1 callersMethodtruncate_output_ids
(self, tokenizer: PreTrainedTokenizer)
verl_Test/verl/workers/rollout/schemas.py:235
↓ 1 callersMethodtruncate_output_ids
(self, tokenizer: PreTrainedTokenizer)
verl_FlowRL/verl/workers/rollout/schemas.py:235
↓ 1 callersFunctionunfold_batch_dim
Unfold the first n dims as new batch dim
verl_FlowRL/verl/protocol.py:160
↓ 1 callersFunctionunion_numpy_dict
(tensor_dict1: dict[str, np.ndarray], tensor_dict2: dict[str, np.ndarray])
verl_Test/verl/protocol.py:116
↓ 1 callersFunctionunion_tensor_dict
Union two tensordicts.
verl_Test/verl/protocol.py:104
↓ 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_Test/verl/utils/py_functional.py:141
↓ 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_FlowRL/verl/utils/py_functional.py:141
↓ 1 callersFunctionunit_convert
(number, level)
verl_Test/verl/utils/flops_counter.py:23
↓ 1 callersFunctionunit_convert
(number, level)
verl_FlowRL/verl/utils/flops_counter.py:23
↓ 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_Test/recipe/spin/fsdp_workers.py:211
↓ 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_FlowRL/recipe/spin/fsdp_workers.py:211
↓ 1 callersFunctionupdate_dispatch_mode
Update the dispatch mode.
verl_FlowRL/verl/single_controller/base/decorator.py:457
↓ 1 callersMethodupdate_metrics
metrics: should be a dict of tools_name -> Any
verl_Test/verl/workers/rollout/schemas.py:208
↓ 1 callersMethodupdate_metrics
metrics: should be a dict of tools_name -> Any
verl_FlowRL/verl/workers/rollout/schemas.py:208
↓ 1 callersMethodupdate_model_parameters
(self, model)
verl_Test/verl/utils/activation_offload.py:46
↓ 1 callersMethodupdate_model_parameters
(self, model)
verl_FlowRL/verl/utils/activation_offload.py:46
↓ 1 callersMethodupdate_params
(self, updated_params, peft_config=None)
verl_Test/verl/workers/sharding_manager/fsdp_vllm.py:262
↓ 1 callersMethodupdate_params
(self, updated_params, peft_config=None)
verl_FlowRL/verl/workers/sharding_manager/fsdp_vllm.py:262
↓ 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_Test/recipe/spin/dp_actor.py:91
↓ 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_FlowRL/recipe/spin/dp_actor.py:91
↓ 1 callersMethodupdate_sampling_params
(self, **kwargs)
verl_Test/verl/workers/rollout/vllm_rollout/vllm_rollout.py:167
↓ 1 callersMethodupdate_sampling_params
(self, **kwargs)
verl_Test/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd.py:198
↓ 1 callersMethodupdate_sampling_params
(self, **kwargs)
verl_FlowRL/verl/workers/rollout/vllm_rollout/vllm_rollout.py:167
↓ 1 callersMethodupdate_sampling_params
(self, **kwargs)
verl_FlowRL/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd.py:198
↓ 1 callersMethodupdate_weights
(self, params)
verl_Test/verl/workers/sharding_manager/fsdp_sglang.py:132
↓ 1 callersMethodupdate_weights
(self, params)
verl_Test/verl/workers/sharding_manager/megatron_sglang.py:115
↓ 1 callersMethodupdate_weights
(self, params)
verl_FlowRL/verl/workers/sharding_manager/fsdp_sglang.py:132
↓ 1 callersMethodupdate_weights
(self, params)
verl_FlowRL/verl/workers/sharding_manager/megatron_sglang.py:115
↓ 1 callersFunctionverify
Verify if the solution is correct. Args: solution_str: The solution string to verify answer: The ground truth answer stri
verl_Test/verl/utils/reward_score/math_dapo.py:217
↓ 1 callersFunctionverify
Verify if the solution is correct. Args: solution_str: The solution string to verify answer: The ground truth answer stri
verl_FlowRL/verl/utils/reward_score/math_dapo.py:217
↓ 1 callersMethodverify
verify the batch and save as ``acc`` tensor
verl_Test/verl/workers/reward_manager/prime.py:114
↓ 1 callersMethodverify
verify the batch and save as ``acc`` tensor
verl_FlowRL/verl/workers/reward_manager/prime.py:114
↓ 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_Test/verl/utils/fs.py:82
↓ 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_FlowRL/verl/utils/fs.py:82
↓ 1 callersMethodverify_correctness
(self, iterations=5)
verl_FlowRL/tests/kernels/test_linear_cross_entropy.py:137
↓ 1 callersFunctionvocab_parallel_entropy
Compute entropy when the logits are sharded in tp ranks Args: vocab_parallel_logits: (total_nnz, vocab_size // tp_size) Returns: (to
verl_Test/verl/utils/megatron/tensor_parallel.py:142
↓ 1 callersMethodwake_up
Load model weights and build kv cache.
verl_Test/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd.py:400
↓ 1 callersMethodwake_up
Load model weights and build kv cache.
verl_FlowRL/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd.py:400
↓ 1 callersFunctionwhite_space_fix
(text)
verl_Test/verl/utils/reward_score/search_r1_like_qa_em.py:27
↓ 1 callersFunctionwhite_space_fix
(text)
verl_FlowRL/verl/utils/reward_score/search_r1_like_qa_em.py:27
↓ 1 callersMethodwrap_module_forward_method
(self, module)
verl_Test/verl/utils/activation_offload.py:479
↓ 1 callersMethodwrap_module_forward_method
(self, module)
verl_FlowRL/verl/utils/activation_offload.py:479
Method__call__
Make the tool instance callable. - If use_async is True, delegates to async_forward - If use_async is False, delegates to for
verl_Test/rllm/tools/tool_base.py:115
Method__call__
(self, input: RewardInput)
verl_Test/rllm/rewards/reward_types.py:114
Method__call__
(self, input: RewardInput)
verl_Test/rllm/rewards/rl_reward.py:15
Method__call__
(self, input: RewardInput)
verl_Test/rllm/rewards/code_reward.py:287
Method__call__
(self, input: RewardInput)
verl_Test/rllm/rewards/math_reward.py:30
Method__call__
(self, *args, **kwargs)
verl_Test/rllm/rewards/code_utils/pyext2.py:241
Method__call__
(self, *args)
verl_Test/rllm/rewards/code_utils/pyext2.py:290
Method__call__
(self, tensor)
verl_Test/verl/utils/activation_offload.py:43
Method__call__
(self, decorated_function: callable)
verl_Test/verl/utils/debug/performance.py:78
Method__call__
(this, *args, **kwargs)
verl_Test/verl/single_controller/ray/base.py:46
Method__call__
Create and return a Ray actor with the configured options. Args: placement_group: Ray placement group for scheduling
verl_Test/verl/single_controller/ray/base.py:184
Method__call__
(self)
verl_Test/verl/single_controller/base/worker_group.py:56
Method__call__
Instantiate the stored class with the stored arguments.
verl_Test/verl/single_controller/base/worker_group.py:95
Method__call__
(self, *inputs, **kwargs)
verl_Test/verl/workers/sharding_manager/megatron_vllm.py:183
Method__call__
(self, data: DataProto, return_dict=False)
verl_Test/verl/workers/reward_manager/batch.py:59
Method__call__
We will expand this function gradually based on the available datasets
verl_Test/verl/workers/reward_manager/dapo.py:45
Method__call__
We will expand this function gradually based on the available datasets
verl_Test/verl/workers/reward_manager/prime.py:146
Method__call__
We will expand this function gradually based on the available datasets
verl_Test/verl/workers/reward_manager/naive.py:32
Method__call__
We will expand this function gradually based on the available datasets
verl_Test/verl/workers/reward_manager/naive.py:120
Method__call__
We will expand this function gradually based on the available datasets
verl_Test/examples/split_placement/main_ppo_split.py:42
Method__call__
Make the tool instance callable. - If use_async is True, delegates to async_forward - If use_async is False, delegates to for
verl_FlowRL/rllm/tools/tool_base.py:115
Method__call__
(self, input: RewardInput)
verl_FlowRL/rllm/rewards/reward_types.py:114
Method__call__
(self, input: RewardInput)
verl_FlowRL/rllm/rewards/rl_reward.py:15
Method__call__
(self, input: RewardInput)
verl_FlowRL/rllm/rewards/code_reward.py:287
Method__call__
(self, input: RewardInput)
verl_FlowRL/rllm/rewards/math_reward.py:30
Method__call__
(self, *args, **kwargs)
verl_FlowRL/rllm/rewards/code_utils/pyext2.py:241
Method__call__
(self, *args)
verl_FlowRL/rllm/rewards/code_utils/pyext2.py:290
Method__call__
(self, tensor)
verl_FlowRL/verl/utils/activation_offload.py:43
Method__call__
(self, decorated_function: callable)
verl_FlowRL/verl/utils/debug/performance.py:78
Method__call__
(this, *args, **kwargs)
verl_FlowRL/verl/single_controller/ray/base.py:46
Method__call__
Create and return a Ray actor with the configured options. Args: placement_group: Ray placement group for scheduling
verl_FlowRL/verl/single_controller/ray/base.py:184
Method__call__
(self)
verl_FlowRL/verl/single_controller/base/worker_group.py:56
Method__call__
Instantiate the stored class with the stored arguments.
verl_FlowRL/verl/single_controller/base/worker_group.py:95
Method__call__
(self, *inputs, **kwargs)
verl_FlowRL/verl/workers/sharding_manager/megatron_vllm.py:183
Method__call__
(self, data: DataProto, return_dict=False)
verl_FlowRL/verl/workers/reward_manager/batch.py:59
Method__call__
We will expand this function gradually based on the available datasets
verl_FlowRL/verl/workers/reward_manager/dapo.py:45
Method__call__
We will expand this function gradually based on the available datasets
verl_FlowRL/verl/workers/reward_manager/prime.py:146
Method__call__
We will expand this function gradually based on the available datasets
verl_FlowRL/verl/workers/reward_manager/naive.py:32
Method__call__
We will expand this function gradually based on the available datasets
verl_FlowRL/verl/workers/reward_manager/naive.py:120
Method__call__
We will expand this function gradually based on the available datasets
verl_FlowRL/examples/split_placement/main_ppo_split.py:42
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_Test/verl/workers/sharding_manager/fsdp_vllm.py:115
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_FlowRL/verl/workers/sharding_manager/fsdp_vllm.py:115
Method__contains__
(cls, item: Any)
verl_Test/verl/utils/py_functional.py:207
Method__contains__
(cls, item: Any)
verl_FlowRL/verl/utils/py_functional.py:207
Method__del__
Attempt to clean up resources when the tool instance is garbage collected. This is a fallback mechanism and explicit cleanup
verl_Test/rllm/tools/tool_base.py:154
Method__del__
Cleanup when the interpreter is destroyed.
verl_Test/rllm/tools/code_tools/code_tool.py:87
Method__del__
Clean up resources when the tool is garbage collected.
verl_Test/rllm/tools/web_tools/tavily_tool.py:89
Method__del__
(self)
verl_Test/rllm/tools/web_tools/gsearch_tool.py:104
Method__del__
(self)
verl_Test/verl/utils/tracking.py:132
Method__del__
Attempt to clean up resources when the tool instance is garbage collected. This is a fallback mechanism and explicit cleanup
verl_FlowRL/rllm/tools/tool_base.py:154
Method__del__
Cleanup when the interpreter is destroyed.
verl_FlowRL/rllm/tools/code_tools/code_tool.py:87
Method__del__
Clean up resources when the tool is garbage collected.
verl_FlowRL/rllm/tools/web_tools/tavily_tool.py:89
Method__del__
(self)
verl_FlowRL/rllm/tools/web_tools/gsearch_tool.py:104
Method__del__
(self)
verl_FlowRL/verl/utils/tracking.py:132
Method__enter__
(self)
verl_Test/rllm/rewards/code_utils/codeforces.py:25
Method__enter__
(self)
verl_Test/rllm/rewards/code_utils/livecodebench.py:67
← previousnext →2,201–2,300 of 4,141, ranked by callers