MCPcopy Create free account

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

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

Methodcreate
Create a tool instance. Args: instance_id: The instance id of the tool. Returns: The instance id of th
verl_Test/verl/tools/search_tool.py:176
Methodcreate
(self, instance_id: Optional[str] = None, ground_truth: Optional[str] = None, **kwargs)
verl_FlowRL/verl/tools/sandbox_fusion_tools.py:144
Methodcreate
(self, instance_id: Optional[str] = None, ground_truth: Optional[str] = None, **kwargs)
verl_FlowRL/verl/tools/gsm8k_tool.py:66
Methodcreate
Create a tool instance. Args: instance_id: The instance id of the tool. Returns: The instance id of th
verl_FlowRL/verl/tools/search_tool.py:176
Functioncreate_colocated_worker_cls_fused
This function returns a RayClassWithInitArgs instance of FusedWorker, which is an replacement of `create_colocated_worker_cls`. WorkerGroup c
verl_Test/verl/single_controller/ray/base.py:791
Functioncreate_huggingface_critic
Args: model_name: override_config_kwargs: Returns:
verl_Test/verl/utils/model.py:109
Functioncreate_huggingface_critic
Args: model_name: override_config_kwargs: Returns:
verl_FlowRL/verl/utils/model.py:109
Functioncreate_nccl_communicator_in_ray
(rank: int, world_size: int, group_name: str, max_retries: int = 100, interval_s: int = 5)
verl_Test/verl/utils/rendezvous/ray_backend.py:45
Functioncreate_random_mask
Create a random mask given input_ids. Support left padding and right padding. Process: - Sample valid token length - Sample left_padding l
verl_Test/verl/utils/model.py:161
Functiondapo_example_map_fn
(example, idx, process_fn, data_source, ability, split)
verl_FlowRL/recipe/r1/data_process_add_dapo_prompt.py:48
Functiondecorator
(func)
verl_Test/recipe/entropy_math/__init__.py:44
Functiondecorator
(func)
verl_Test/verl/utils/import_utils.py:97
Functiondecorator
(func)
verl_Test/verl/utils/py_functional.py:70
Functiondecorator
(func)
verl_Test/verl/single_controller/base/decorator.py:529
Functiondecorator
(func)
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:131
Functiondecorator
(func)
verl_FlowRL/verl/utils/import_utils.py:97
Functiondecorator
(func)
verl_FlowRL/verl/utils/py_functional.py:70
Functiondecorator
(func)
verl_FlowRL/verl/single_controller/base/decorator.py:529
Methoddefault
Executed if quit wasn't called.
verl_Test/rllm/rewards/code_utils/pyext2.py:297
Methoddefault
Executed if quit wasn't called.
verl_FlowRL/rllm/rewards/code_utils/pyext2.py:297
Functiondeprecated
Decorator to mark APIs as deprecated.
verl_Test/verl/utils/import_utils.py:92
Functiondeprecated
Decorator to mark APIs as deprecated.
verl_FlowRL/verl/utils/import_utils.py:92
Functiondifficulty_fn
1) Extract problem and solution text. 2) Call LLM for difficulty estimates (8 numeric strings). 3) Convert to float safely, filter out pa
verl_FlowRL/rllm/data/preprocess/difficulty_judge.py:20
Functiondispatch_all_to_all
(worker_group, *args, **kwargs)
verl_Test/verl/single_controller/base/decorator.py:142
Functiondispatch_all_to_all
(worker_group, *args, **kwargs)
verl_FlowRL/verl/single_controller/base/decorator.py:142
Functiondispatch_dp_compute
(worker_group, *args, **kwargs)
verl_Test/verl/single_controller/base/decorator.py:344
Functiondispatch_dp_compute
(worker_group, *args, **kwargs)
verl_FlowRL/verl/single_controller/base/decorator.py:344
Functiondispatch_dp_compute_data_proto
(worker_group, *args, **kwargs)
verl_Test/verl/single_controller/base/decorator.py:363
Functiondispatch_dp_compute_data_proto
(worker_group, *args, **kwargs)
verl_FlowRL/verl/single_controller/base/decorator.py:363
Functiondispatch_dp_compute_data_proto_with_func
(worker_group, *args, **kwargs)
verl_Test/verl/single_controller/base/decorator.py:376
Functiondispatch_dp_compute_data_proto_with_func
(worker_group, *args, **kwargs)
verl_FlowRL/verl/single_controller/base/decorator.py:376
Functiondispatch_megatron_compute_data_proto
All the args and kwargs must be DataProto. The batch will be chunked by dp_size and passed to each rank
verl_Test/verl/single_controller/base/decorator.py:195
Functiondispatch_megatron_compute_data_proto
All the args and kwargs must be DataProto. The batch will be chunked by dp_size and passed to each rank
verl_FlowRL/verl/single_controller/base/decorator.py:195
Functiondispatch_megatron_pp_as_dp_data_proto
(worker_group, *args, **kwargs)
verl_Test/verl/single_controller/base/decorator.py:324
Functiondispatch_megatron_pp_as_dp_data_proto
(worker_group, *args, **kwargs)
verl_FlowRL/verl/single_controller/base/decorator.py:324
Functiondispatch_one_to_all
(worker_group, *args, **kwargs)
verl_Test/verl/single_controller/base/decorator.py:132
Functiondispatch_one_to_all
(worker_group, *args, **kwargs)
verl_FlowRL/verl/single_controller/base/decorator.py:132
Functiondistributed_masked_mean
Compute global mean of non-masked elements across distributed processes. Args: local_tensor (torch.Tensor): Input tensor with local value
verl_Test/verl/utils/torch_functional.py:700
Functiondistributed_mean_max_min_std
Compute distributed statistics across all processes. Args: local_tensor: Tensor containing local values compute_max: Include maxi
verl_Test/verl/utils/torch_functional.py:657
Methoddo_hijack
(target_cls, target_method_name, hooking_method)
verl_Test/verl/utils/vllm_utils.py:192
Methoddo_hijack
(target_cls, target_method_name, hooking_method)
verl_FlowRL/verl/utils/vllm_utils.py:192
Methoddp_size
(self)
verl_Test/verl/single_controller/base/megatron/worker_group.py:41
Methoddp_size
(self)
verl_FlowRL/verl/single_controller/base/megatron/worker_group.py:41
Functiondummy_collect
(worker_group, output)
verl_FlowRL/tests/single_controller/base/test_decorator.py:36
Functiondummy_direct_rollout_call
(worker_group, *args, **kwargs)
verl_Test/verl/single_controller/base/decorator.py:138
Functiondummy_direct_rollout_call
(worker_group, *args, **kwargs)
verl_FlowRL/verl/single_controller/base/decorator.py:138
Functiondummy_dispatch
(worker_group, *args, **kwargs)
verl_FlowRL/tests/single_controller/base/test_decorator.py:33
Functionentropy_from_logits
Calculate entropy from logits.
verl_Test/verl/utils/torch_functional.py:124
Methodeos_token_id
`Optional[int]`: Id of the end of sentence token in the vocabulary. Returns `None` if the token has not been set.
verl_Test/verl/workers/rollout/tokenizer.py:48
Methodeos_token_id
`Optional[int]`: Id of the end of sentence token in the vocabulary. Returns `None` if the token has not been set.
verl_FlowRL/verl/workers/rollout/tokenizer.py:48
Functionevaluate_code
Helper function to run tests in separate process.
verl_Test/rllm/rewards/code_reward.py:89
Functionevaluate_code
Helper function to run tests in separate process.
verl_FlowRL/rllm/rewards/code_reward.py:89
Functionevaluate_single_item
Evaluate responses for a single question and return individual scores
verl_Test/recipe/r1/compare_flowrl_grpo.py:16
Functionexample_map_fn
(example, idx, process_fn, data_source, ability, split)
verl_Test/recipe/r1/data_process.py:27
Functionexample_map_fn
(example, idx, process_fn, data_source, ability, split)
verl_FlowRL/recipe/r1/data_process.py:27
Functionexample_map_fn
(example, idx, process_fn, data_source, ability, split)
verl_FlowRL/recipe/r1/data_process_add_dapo_prompt.py:28
Methodexecute
(self, fn: Callable[..., T], *fn_args, **fn_kwargs)
verl_Test/verl/tools/sandbox_fusion_tools.py:77
Methodexecute
(self, instance_id: str, parameters: dict[str, Any], **kwargs)
verl_Test/verl/tools/sandbox_fusion_tools.py:154
Methodexecute
(self, instance_id: str, parameters: dict[str, Any], **kwargs)
verl_Test/verl/tools/gsm8k_tool.py:76
Methodexecute
Execute function with optional rate limiting.
verl_Test/verl/tools/search_tool.py:87
Methodexecute
Execute the search tool. Args: instance_id: The instance ID of the tool parameters: Tool parameters containing qu
verl_Test/verl/tools/search_tool.py:216
Methodexecute
(self, fn: Callable[..., T], *fn_args, **fn_kwargs)
verl_FlowRL/verl/tools/sandbox_fusion_tools.py:77
Methodexecute
(self, instance_id: str, parameters: dict[str, Any], **kwargs)
verl_FlowRL/verl/tools/sandbox_fusion_tools.py:154
Methodexecute
(self, instance_id: str, parameters: dict[str, Any], **kwargs)
verl_FlowRL/verl/tools/gsm8k_tool.py:76
Methodexecute
Execute function with optional rate limiting.
verl_FlowRL/verl/tools/search_tool.py:87
Methodexecute
Execute the search tool. Args: instance_id: The instance ID of the tool parameters: Tool parameters containing qu
verl_FlowRL/verl/tools/search_tool.py:216
Methodexecute_all
Alias for execute_all_async. Args: method_name: Name of the method to execute *args: Positional arguments for the met
verl_Test/verl/single_controller/ray/base.py:540
Methodexecute_all
Alias for execute_all_async. Args: method_name: Name of the method to execute *args: Positional arguments for the met
verl_FlowRL/verl/single_controller/ray/base.py:540
Methodexecute_code
(self, instance_id, code, timeout=30, language="python")
verl_Test/verl/tools/sandbox_fusion_tools.py:165
Methodexecute_code
(self, instance_id, code, timeout=30, language="python")
verl_FlowRL/verl/tools/sandbox_fusion_tools.py:165
Methodexecute_func_rank_zero
Execute a function in rank zero execution mode. Args: func: Function to execute *args:
verl_Test/verl/single_controller/base/worker.py:257
Methodexecute_method
Called by ExternalRayDistributedExecutor collective_rpc.
verl_Test/verl/workers/fsdp_workers.py:1452
Methodexecute_method
(self, method: Union[str, bytes], *args, **kwargs)
verl_Test/verl/workers/rollout/sglang_rollout/sglang_rollout.py:1019
Methodexecute_method
(self, method: Union[str, bytes], *args, **kwargs)
verl_Test/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd.py:407
Methodexecute_method
Called by ExternalRayDistributedExecutor collective_rpc.
verl_FlowRL/verl/workers/fsdp_workers.py:1476
Methodexecute_method
(self, method: Union[str, bytes], *args, **kwargs)
verl_FlowRL/verl/workers/rollout/sglang_rollout/sglang_rollout.py:1019
Methodexecute_method
(self, method: Union[str, bytes], *args, **kwargs)
verl_FlowRL/verl/workers/rollout/vllm_rollout/vllm_rollout_spmd.py:407
Methodexecute_rank_zero
Alias for execute_rank_zero_async. Args: method_name: Name of the method to execute *args: Positional arguments for t
verl_Test/verl/single_controller/ray/base.py:527
Methodexecute_rank_zero
Alias for execute_rank_zero_async. Args: method_name: Name of the method to execute *args: Positional arguments for t
verl_FlowRL/verl/single_controller/ray/base.py:527
Methodexecute_rank_zero_sync
Execute a method on rank zero worker synchronously. Args: method_name: Name of the method to execute *args: Positiona
verl_Test/verl/single_controller/ray/base.py:501
Methodexecute_rank_zero_sync
Execute a method on rank zero worker synchronously. Args: method_name: Name of the method to execute *args: Positiona
verl_FlowRL/verl/single_controller/ray/base.py:501
Methodexecute_search
Execute search operation using retrieval service. Args: instance_id: Tool instance ID query_list: List of search
verl_Test/verl/tools/search_tool.py:193
Methodexecute_search
Execute search operation using retrieval service. Args: instance_id: Tool instance ID query_list: List of search
verl_FlowRL/verl/tools/search_tool.py:193
Methodexecute_with_func_generator
Execute a function with function generator dispatch mode. Args: func: Function to execute *args:
verl_Test/verl/single_controller/base/worker.py:242
Functionexists
r"""Works like os.path.exists() but supports hdfs. Test whether a path exists. Returns False for broken symbolic links. Args: path (
verl_Test/verl/utils/hdfs_io.py:27
Functionexists
r"""Works like os.path.exists() but supports hdfs. Test whether a path exists. Returns False for broken symbolic links. Args: path (
verl_FlowRL/verl/utils/hdfs_io.py:27
Functionextract_pg_from_exist
(resource_pools: Dict[str, RayResourcePool], src_role_names: List[str], resource_pool: RayResourcePool)
verl_Test/verl/single_controller/ray/base.py:123
Functionextract_pg_from_exist
(resource_pools: Dict[str, RayResourcePool], src_role_names: List[str], resource_pool: RayResourcePool)
verl_FlowRL/verl/single_controller/ray/base.py:123
Functionextract_solution
Extract the final boxed solution from a solution string. Args: solution_str: Raw solution string that may contain multiple boxed answers
preprocess/deepcoder/deepscaler_dataset.py:20
Functionextract_step
(path)
verl_Test/verl/trainer/fsdp_sft_trainer.py:80
Functionextract_step
(path)
verl_FlowRL/verl/trainer/fsdp_sft_trainer.py:80
Methodf
(i)
verl_Test/ray_cluster.py:323
Methodf
(*args, **kwargs)
verl_Test/verl/utils/debug/performance.py:79
Methodf
(*args, **kwargs)
verl_FlowRL/verl/utils/debug/performance.py:79
Functionfake_copy
(src: str, dst: str, *args, **kwargs)
verl_FlowRL/tests/utils/cpu_tests/test_fs.py:48
Functionfannotate
Set function annotations using decorators. :param \*args: The first positional argument is used for the function's return value; all others ar
verl_Test/rllm/rewards/code_utils/pyext2.py:387
Functionfannotate
Set function annotations using decorators. :param \*args: The first positional argument is used for the function's return value; all others ar
verl_FlowRL/rllm/rewards/code_utils/pyext2.py:387
Functionfetch_live_code_bench_system_prompt
(prompt: str, starter_code: str = None)
verl_FlowRL/rllm/data/utils.py:70
Functionfetch_params
(module)
verl_Test/verl/models/qwen2/megatron/checkpoint_utils/qwen2_loader.py:63
Functionfetch_params
(module)
verl_Test/verl/models/llama/megatron/checkpoint_utils/llama_loader.py:65
← previousnext →3,101–3,200 of 4,141, ranked by callers