Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Xuekai-Zhu/FlowRL
/ functions
Functions
4,141 in github.com/Xuekai-Zhu/FlowRL
⨍
Functions
4,141
◇
Types & classes
610
↳
Endpoints
120
Method
rename
Note that this function only rename the key in the batch
verl_Test/verl/protocol.py:549
Method
rename
Note that this function only rename the key in the batch
verl_FlowRL/verl/protocol.py:549
Method
replace_lora_wrapper
(k)
verl_Test/verl/workers/sharding_manager/fsdp_vllm.py:278
Method
replace_lora_wrapper
(k)
verl_FlowRL/verl/workers/sharding_manager/fsdp_vllm.py:278
Function
reset_dispatch_registry
()
verl_FlowRL/tests/single_controller/base/test_decorator.py:22
Method
response_length
(self)
verl_FlowRL/tests/e2e/envs/digit_completion/task.py:71
Method
resume
(self)
verl_Test/verl/workers/fsdp_workers.py:1459
Method
resume
(self)
verl_Test/verl/workers/rollout/sglang_rollout/sglang_rollout.py:1085
Method
resume
(self)
verl_FlowRL/verl/workers/fsdp_workers.py:1483
Method
resume
(self)
verl_FlowRL/verl/workers/rollout/sglang_rollout/sglang_rollout.py:1085
Function
retrieve_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
Function
retrieve_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
Function
reward_func
(data_source, solution_str, ground_truth, extra_info=None)
verl_Test/recipe/r1/reward_score.py:18
Function
reward_func
(data_source, solution_str, ground_truth, extra_info=None)
verl_FlowRL/recipe/r1/reward_score.py:16
Method
run
(self, config)
verl_Test/recipe/dapo/main_dapo.py:48
Method
run
(self, config)
verl_Test/recipe/sppo/main_sppo.py:53
Method
run
(self, config)
verl_Test/verl/trainer/main_ppo.py:70
Method
run
(self, config)
verl_Test/verl/trainer/main_ppo_code.py:70
Method
run
(self, config)
verl_FlowRL/recipe/dapo/main_dapo.py:48
Method
run
(self, config)
verl_FlowRL/recipe/sppo/main_sppo.py:53
Method
run
(self, config)
verl_FlowRL/verl/trainer/main_ppo.py:60
Function
run_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
Function
run_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
Function
run_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
Function
run_test
(code, test: str = None, timeout=_DEFAULT_TIMEOUT_SECONDS)
verl_Test/rllm/rewards/code_utils/humanevalplus.py:42
Function
run_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
Function
run_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
Function
run_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
Function
run_test
(code, test: str = None, timeout=_DEFAULT_TIMEOUT_SECONDS)
verl_FlowRL/rllm/rewards/code_utils/humanevalplus.py:42
Function
run_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
Function
run_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
Function
run_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
Function
safe_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
Function
safe_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
Method
sample_batch_str_prompts
(self, batch_size)
verl_FlowRL/tests/e2e/envs/digit_completion/task.py:98
Method
sample_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
Method
sandbox_data_proto
(self, sandbox_fusion_data, qwen_tokenizer)
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:176
Method
sandbox_fusion_data
(self, qwen_tokenizer)
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:158
Method
sandbox_fusion_rollout_config
(self)
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:166
Method
save_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
Method
save_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
Method
save_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
Method
save_checkpoint
(self, checkpoint_path, hdfs_path=None, global_step=0, max_ckpt_to_keep=None)
verl_Test/verl/workers/megatron_workers.py:531
Method
save_checkpoint
(self, local_path, hdfs_path=None, global_step=0, max_ckpt_to_keep=None)
verl_Test/verl/workers/fsdp_workers.py:743
Method
save_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
Method
save_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
Method
save_checkpoint
(self, checkpoint_path, hdfs_path=None, global_step=0, max_ckpt_to_keep=None)
verl_FlowRL/verl/workers/megatron_workers.py:531
Method
save_checkpoint
(self, local_path, hdfs_path=None, global_step=0, max_ckpt_to_keep=None)
verl_FlowRL/verl/workers/fsdp_workers.py:767
Method
save_to_disk
(self, filepath)
verl_Test/verl/protocol.py:281
Function
save_to_hdfs
(data: io.BytesIO, name, hdfs_dir, verbose)
verl_Test/verl/utils/debug/trajectory_tracker.py:34
Function
save_to_hdfs
(data: io.BytesIO, name, hdfs_dir, verbose)
verl_FlowRL/verl/utils/debug/trajectory_tracker.py:34
Method
search_data
(self, qwen_tokenizer)
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_search_tools.py:100
Method
search_data_proto
(self, search_data, qwen_tokenizer)
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_search_tools.py:118
Method
search_rollout_config
(self)
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_search_tools.py:108
Method
series_to_item
(ls)
verl_Test/verl/utils/dataset/sft_dataset.py:77
Method
series_to_item
(ls)
verl_Test/verl/utils/dataset/multiturn_sft_dataset.py:61
Method
series_to_item
(ls)
verl_FlowRL/verl/utils/dataset/sft_dataset.py:77
Method
series_to_item
(ls)
verl_FlowRL/verl/utils/dataset/multiturn_sft_dataset.py:61
Method
server_config
(self)
verl_FlowRL/tests/workers/rollout/test_async_sglang_server.py:37
Method
setUp
Set up common test data.
verl_FlowRL/tests/trainer/ppo/test_metric_utils.py:74
Method
setUp
Set up common test data.
verl_FlowRL/tests/trainer/ppo/test_metric_utils.py:126
Method
setUp
Set up common test data.
verl_FlowRL/tests/trainer/ppo/test_metric_utils.py:175
Method
setUp
(self)
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:384
Method
set_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
Method
set_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
Function
set_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
Function
set_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
Method
set_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
Method
set_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
Method
set_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
Method
set_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
Function
set_macos_start_method
()
verl_FlowRL/tests/utils/cpu_tests/test_timeout_decorator.py:83
Method
set_worker_info
(self, rank, node_id)
verl_Test/verl/single_controller/base/register_center/ray.py:30
Method
set_worker_info
(self, rank, node_id)
verl_FlowRL/verl/single_controller/base/register_center/ray.py:30
Function
side_effect
(*args, **kwargs)
verl_FlowRL/tests/reward_score/test_sandbox_fusion.py:250
Function
skip_if_valid_sandbox
(url)
verl_FlowRL/tests/workers/rollout/test_sglang_async_rollout_sf_tools.py:130
Method
sleep
Sleep all vllm instances.
verl_Test/verl/workers/rollout/async_server.py:304
Method
sleep
(self)
verl_Test/verl/workers/rollout/sglang_rollout/async_sglang_server.py:70
Method
sleep
(self)
verl_Test/verl/workers/rollout/vllm_rollout/vllm_async_server.py:248
Method
sleep
Sleep all vllm instances.
verl_FlowRL/verl/workers/rollout/async_server.py:304
Method
sleep
(self)
verl_FlowRL/verl/workers/rollout/sglang_rollout/async_sglang_server.py:70
Method
sleep
(self)
verl_FlowRL/verl/workers/rollout/vllm_rollout/vllm_async_server.py:248
Function
split_dict_tensor_into_batches
(tensors: TensorDict, batch_size)
verl_Test/verl/utils/torch_functional.py:264
Function
split_dict_tensor_into_batches
(tensors: TensorDict, batch_size)
verl_FlowRL/verl/utils/torch_functional.py:264
Method
spread
(self)
verl_Test/verl/utils/seqlen_balancing.py:71
Method
spread
(self)
verl_FlowRL/verl/utils/seqlen_balancing.py:71
Function
squeeze
(x)
verl_Test/verl/utils/model.py:45
Function
squeeze
(x)
verl_FlowRL/verl/utils/model.py:45
Method
start_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
Method
store
(self)
verl_Test/verl/single_controller/base/worker_group.py:60
Method
store
(self)
verl_FlowRL/verl/single_controller/base/worker_group.py:60
Method
submit_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
Method
submit_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
Method
supported_type
(precision: Union[str, int])
verl_Test/verl/utils/torch_dtypes.py:43
Method
supported_type
(precision: Union[str, int])
verl_FlowRL/verl/utils/torch_dtypes.py:43
Method
supported_types
()
verl_Test/verl/utils/torch_dtypes.py:47
Method
supported_types
()
verl_FlowRL/verl/utils/torch_dtypes.py:47
Function
switch
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
Function
switch
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
Function
symbolic_equal
(a, b)
verl_Test/recipe/entropy_math/__init__.py:553
← previous
next →
3,801–3,900 of 4,141, ranked by callers