MCPcopy Create free account

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

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

Methodrename
Note that this function only rename the key in the batch
verl_Test/verl/protocol.py:549
Methodrename
Note that this function only rename the key in the batch
verl_FlowRL/verl/protocol.py:549
Methodreplace_lora_wrapper
(k)
verl_Test/verl/workers/sharding_manager/fsdp_vllm.py:278
Methodreplace_lora_wrapper
(k)
verl_FlowRL/verl/workers/sharding_manager/fsdp_vllm.py:278
Functionreset_dispatch_registry
()
verl_FlowRL/tests/single_controller/base/test_decorator.py:22
Methodresponse_length
(self)
verl_FlowRL/tests/e2e/envs/digit_completion/task.py:71
Methodresume
(self)
verl_Test/verl/workers/fsdp_workers.py:1459
Methodresume
(self)
verl_Test/verl/workers/rollout/sglang_rollout/sglang_rollout.py:1085
Methodresume
(self)
verl_FlowRL/verl/workers/fsdp_workers.py:1483
Methodresume
(self)
verl_FlowRL/verl/workers/rollout/sglang_rollout/sglang_rollout.py:1085
Functionretrieve_endpoint
Endpoint that accepts queries and performs retrieval. Input format: { "queries": ["What is Python?", "Tell me about neural network
verl_Test/examples/sglang_multiturn/search_r1_like/local_dense_retriever/retrieval_server.py:309
Functionretrieve_endpoint
Endpoint that accepts queries and performs retrieval. Input format: { "queries": ["What is Python?", "Tell me about neural network
verl_FlowRL/examples/sglang_multiturn/search_r1_like/local_dense_retriever/retrieval_server.py:309
Functionreward_func
(data_source, solution_str, ground_truth, extra_info=None)
verl_Test/recipe/r1/reward_score.py:18
Functionreward_func
(data_source, solution_str, ground_truth, extra_info=None)
verl_FlowRL/recipe/r1/reward_score.py:16
Methodrun
(self, config)
verl_Test/recipe/dapo/main_dapo.py:48
Methodrun
(self, config)
verl_Test/recipe/sppo/main_sppo.py:53
Methodrun
(self, config)
verl_Test/verl/trainer/main_ppo.py:70
Methodrun
(self, config)
verl_Test/verl/trainer/main_ppo_code.py:70
Methodrun
(self, config)
verl_FlowRL/recipe/dapo/main_dapo.py:48
Methodrun
(self, config)
verl_FlowRL/recipe/sppo/main_sppo.py:53
Methodrun
(self, config)
verl_FlowRL/verl/trainer/main_ppo.py:60
Functionrun_main
Call `f` with the `args` and terminate the program with its return code if the caller's module is main.
verl_Test/rllm/rewards/code_utils/pyext2.py:474
Functionrun_main
Call `f` with the `args` and terminate the program with its return code if the caller's module is main.
verl_FlowRL/rllm/rewards/code_utils/pyext2.py:474
Functionrun_target_and_put_in_queue
Top-level helper function to run a target function and put its result or exception into a queue. This function is pickleable and can be used
verl_FlowRL/tests/utils/cpu_tests/test_timeout_decorator.py:69
Functionrun_test
(code, test: str = None, timeout=_DEFAULT_TIMEOUT_SECONDS)
verl_Test/rllm/rewards/code_utils/humanevalplus.py:42
Functionrun_test
if test(generated_code) is not None it'll try to run the code. otherwise it'll just return an input and output pair.
verl_Test/rllm/rewards/code_utils/codeforces.py:50
Functionrun_test
if test(generated_code) is not None it'll try to run the code. otherwise it'll just return an input and output pair.
verl_Test/rllm/rewards/code_utils/livecodebench.py:399
Functionrun_test
if test(generated_code) is not None it'll try to run the code. otherwise it'll just return an input and output pair.
verl_Test/rllm/rewards/code_utils/taco.py:69
Functionrun_test
(code, test: str = None, timeout=_DEFAULT_TIMEOUT_SECONDS)
verl_FlowRL/rllm/rewards/code_utils/humanevalplus.py:42
Functionrun_test
if test(generated_code) is not None it'll try to run the code. otherwise it'll just return an input and output pair.
verl_FlowRL/rllm/rewards/code_utils/codeforces.py:50
Functionrun_test
if test(generated_code) is not None it'll try to run the code. otherwise it'll just return an input and output pair.
verl_FlowRL/rllm/rewards/code_utils/livecodebench.py:399
Functionrun_test
if test(generated_code) is not None it'll try to run the code. otherwise it'll just return an input and output pair.
verl_FlowRL/rllm/rewards/code_utils/taco.py:69
Functionsafe_unpack
Safely unpack a sequence to length `ln`, without raising ValueError. Based on Lua's method of unpacking. Empty values will be filled in with `fill`, w
verl_Test/rllm/rewards/code_utils/pyext2.py:410
Functionsafe_unpack
Safely unpack a sequence to length `ln`, without raising ValueError. Based on Lua's method of unpacking. Empty values will be filled in with `fill`, w
verl_FlowRL/rllm/rewards/code_utils/pyext2.py:410
Methodsample_batch_str_prompts
(self, batch_size)
verl_FlowRL/tests/e2e/envs/digit_completion/task.py:98
Methodsample_level_repeat
Repeat each row of the batch data a specified number of times. Args: repeat_times (torch.tensor, list, tuple, ndarray):
verl_Test/verl/protocol.py:796
Methodsandbox_data_proto
(self, sandbox_fusion_data, qwen_tokenizer)
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:176
Methodsandbox_fusion_data
(self, qwen_tokenizer)
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:158
Methodsandbox_fusion_rollout_config
(self)
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:166
Methodsave_checkpoint
Save an FSDP checkpoint for this rank. Writes: - model & optimizer shard files - extra state dict (scheduler + R
verl_Test/verl/utils/checkpoint/fsdp_checkpoint_manager.py:129
Methodsave_checkpoint
(self, local_path: str, hdfs_path: str = None, global_step: int = 0, max_ckpt_to_keep: int = None)
verl_Test/verl/utils/checkpoint/checkpoint_manager.py:69
Methodsave_checkpoint
(self, local_path: str, hdfs_path: str = None, global_step: int = 0, max_ckpt_to_keep=None)
verl_Test/verl/utils/checkpoint/megatron_checkpoint_manager.py:223
Methodsave_checkpoint
(self, checkpoint_path, hdfs_path=None, global_step=0, max_ckpt_to_keep=None)
verl_Test/verl/workers/megatron_workers.py:531
Methodsave_checkpoint
(self, local_path, hdfs_path=None, global_step=0, max_ckpt_to_keep=None)
verl_Test/verl/workers/fsdp_workers.py:743
Methodsave_checkpoint
(self, local_path: str, hdfs_path: str = None, global_step: int = 0, max_ckpt_to_keep: int = None)
verl_FlowRL/verl/utils/checkpoint/checkpoint_manager.py:69
Methodsave_checkpoint
(self, local_path: str, hdfs_path: str = None, global_step: int = 0, max_ckpt_to_keep=None)
verl_FlowRL/verl/utils/checkpoint/megatron_checkpoint_manager.py:223
Methodsave_checkpoint
(self, checkpoint_path, hdfs_path=None, global_step=0, max_ckpt_to_keep=None)
verl_FlowRL/verl/workers/megatron_workers.py:531
Methodsave_checkpoint
(self, local_path, hdfs_path=None, global_step=0, max_ckpt_to_keep=None)
verl_FlowRL/verl/workers/fsdp_workers.py:767
Methodsave_to_disk
(self, filepath)
verl_Test/verl/protocol.py:281
Functionsave_to_hdfs
(data: io.BytesIO, name, hdfs_dir, verbose)
verl_Test/verl/utils/debug/trajectory_tracker.py:34
Functionsave_to_hdfs
(data: io.BytesIO, name, hdfs_dir, verbose)
verl_FlowRL/verl/utils/debug/trajectory_tracker.py:34
Methodsearch_data
(self, qwen_tokenizer)
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_search_tools.py:100
Methodsearch_data_proto
(self, search_data, qwen_tokenizer)
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_search_tools.py:118
Methodsearch_rollout_config
(self)
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_search_tools.py:108
Methodseries_to_item
(ls)
verl_Test/verl/utils/dataset/sft_dataset.py:77
Methodseries_to_item
(ls)
verl_Test/verl/utils/dataset/multiturn_sft_dataset.py:61
Methodseries_to_item
(ls)
verl_FlowRL/verl/utils/dataset/sft_dataset.py:77
Methodseries_to_item
(ls)
verl_FlowRL/verl/utils/dataset/multiturn_sft_dataset.py:61
Methodserver_config
(self)
verl_FlowRL/tests/workers/rollout/test_async_sglang_server.py:37
MethodsetUp
Set up common test data.
verl_FlowRL/tests/trainer/ppo/test_metric_utils.py:74
MethodsetUp
Set up common test data.
verl_FlowRL/tests/trainer/ppo/test_metric_utils.py:126
MethodsetUp
Set up common test data.
verl_FlowRL/tests/trainer/ppo/test_metric_utils.py:175
MethodsetUp
(self)
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:384
Methodset_additional_resource
Set additional resource requirements for the actor. Args: additional_resource: Dictionary specifying additional resource requirem
verl_Test/verl/single_controller/ray/base.py:168
Methodset_additional_resource
Set additional resource requirements for the actor. Args: additional_resource: Dictionary specifying additional resource requirem
verl_FlowRL/verl/single_controller/ray/base.py:168
Functionset_docstring
A simple decorator to set docstrings. :param doc: The docstring to tie to the function. Example:: @set_docstring('This is a
verl_Test/rllm/rewards/code_utils/pyext2.py:36
Functionset_docstring
A simple decorator to set docstrings. :param doc: The docstring to tie to the function. Example:: @set_docstring('This is a
verl_FlowRL/rllm/rewards/code_utils/pyext2.py:36
Methodset_input_tensor
Set input tensor to be used instead of forward()'s input. When doing pipeline parallelism the input from the previous stage comes fro
verl_Test/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:536
Methodset_input_tensor
Set input tensor to be used instead of forward()'s input. When doing pipeline parallelism the input from the previous stage comes fro
verl_Test/verl/models/llama/megatron/modeling_llama_megatron.py:536
Methodset_input_tensor
Set input tensor to be used instead of forward()'s input. When doing pipeline parallelism the input from the previous stage comes fro
verl_FlowRL/verl/models/qwen2/megatron/modeling_qwen2_megatron.py:536
Methodset_input_tensor
Set input tensor to be used instead of forward()'s input. When doing pipeline parallelism the input from the previous stage comes fro
verl_FlowRL/verl/models/llama/megatron/modeling_llama_megatron.py:536
Functionset_macos_start_method
()
verl_FlowRL/tests/utils/cpu_tests/test_timeout_decorator.py:83
Methodset_worker_info
(self, rank, node_id)
verl_Test/verl/single_controller/base/register_center/ray.py:30
Methodset_worker_info
(self, rank, node_id)
verl_FlowRL/verl/single_controller/base/register_center/ray.py:30
Functionside_effect
(*args, **kwargs)
verl_FlowRL/tests/reward_score/test_sandbox_fusion.py:250
Functionskip_if_valid_sandbox
(url)
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:130
Methodsleep
Sleep all vllm instances.
verl_Test/verl/workers/rollout/async_server.py:304
Methodsleep
(self)
verl_Test/verl/workers/rollout/sglang_rollout/async_sglang_server.py:70
Methodsleep
(self)
verl_Test/verl/workers/rollout/vllm_rollout/vllm_async_server.py:248
Methodsleep
Sleep all vllm instances.
verl_FlowRL/verl/workers/rollout/async_server.py:304
Methodsleep
(self)
verl_FlowRL/verl/workers/rollout/sglang_rollout/async_sglang_server.py:70
Methodsleep
(self)
verl_FlowRL/verl/workers/rollout/vllm_rollout/vllm_async_server.py:248
Functionsplit_dict_tensor_into_batches
(tensors: TensorDict, batch_size)
verl_Test/verl/utils/torch_functional.py:264
Functionsplit_dict_tensor_into_batches
(tensors: TensorDict, batch_size)
verl_FlowRL/verl/utils/torch_functional.py:264
Methodspread
(self)
verl_Test/verl/utils/seqlen_balancing.py:71
Methodspread
(self)
verl_FlowRL/verl/utils/seqlen_balancing.py:71
Functionsqueeze
(x)
verl_Test/verl/utils/model.py:45
Functionsqueeze
(x)
verl_FlowRL/verl/utils/model.py:45
Methodstart_worker_aliveness_check
Starts a background thread to monitor worker aliveness. Args: every_n_seconds (int): Interval between aliveness checks
verl_Test/verl/single_controller/base/worker_group.py:161
Methodstore
(self)
verl_Test/verl/single_controller/base/worker_group.py:60
Methodstore
(self)
verl_FlowRL/verl/single_controller/base/worker_group.py:60
Methodsubmit_chat_completions
Submit a chat completion request to the server with the least number of requests. Args: callback: Callable[[ChatCompleti
verl_Test/verl/workers/rollout/async_server.py:135
Methodsubmit_chat_completions
Submit a chat completion request to the server with the least number of requests. Args: callback: Callable[[ChatCompleti
verl_FlowRL/verl/workers/rollout/async_server.py:135
Methodsupported_type
(precision: Union[str, int])
verl_Test/verl/utils/torch_dtypes.py:43
Methodsupported_type
(precision: Union[str, int])
verl_FlowRL/verl/utils/torch_dtypes.py:43
Methodsupported_types
()
verl_Test/verl/utils/torch_dtypes.py:47
Methodsupported_types
()
verl_FlowRL/verl/utils/torch_dtypes.py:47
Functionswitch
A Python switch statement implementation that is used with a ``with`` statement. :param value: The value to "switch". ``with`` stateme
verl_Test/rllm/rewards/code_utils/pyext2.py:307
Functionswitch
A Python switch statement implementation that is used with a ``with`` statement. :param value: The value to "switch". ``with`` stateme
verl_FlowRL/rllm/rewards/code_utils/pyext2.py:307
Functionsymbolic_equal
(a, b)
verl_Test/recipe/entropy_math/__init__.py:553
← previousnext →3,801–3,900 of 4,141, ranked by callers