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
backward
(ctx, grad_output: torch.Tensor)
verl_Test/verl/utils/megatron/tensor_parallel.py:130
Method
backward
(ctx, dlog_probs: Optional[torch.FloatTensor], dentropy: Optional[torch.FloatTensor])
verl_Test/verl/utils/experimental/torch_functional.py:132
Method
backward
(ctx, grad_output)
verl_FlowRL/verl/utils/activation_offload.py:120
Method
backward
(ctx: Any, *grad_output: Tensor)
verl_FlowRL/verl/utils/ulysses.py:182
Method
backward
(ctx, grad_output: torch.Tensor)
verl_FlowRL/verl/utils/megatron/tensor_parallel.py:130
Method
backward
(ctx, dlog_probs: Optional[torch.FloatTensor], dentropy: Optional[torch.FloatTensor])
verl_FlowRL/verl/utils/experimental/torch_functional.py:132
Function
build_MATH500_dataset
()
verl_FlowRL/recipe/r1/data_process_add_dapo_prompt.py:121
Function
build_aime2024_dataset
()
verl_Test/recipe/r1/data_process.py:39
Function
build_aime2024_dataset
()
verl_FlowRL/recipe/r1/data_process.py:39
Function
build_aime2024_dataset
()
verl_FlowRL/recipe/r1/data_process_add_dapo_prompt.py:70
Function
build_aime2025_dataset
()
verl_FlowRL/recipe/r1/data_process_add_dapo_prompt.py:87
Function
build_amc23_dataset
()
verl_FlowRL/recipe/r1/data_process_add_dapo_prompt.py:104
Function
build_cnmo2024_dataset
()
verl_Test/recipe/r1/data_process.py:74
Function
build_cnmo2024_dataset
()
verl_FlowRL/recipe/r1/data_process.py:74
Function
build_cnmo2024_dataset
()
verl_FlowRL/recipe/r1/data_process_add_dapo_prompt.py:212
Function
build_gpqa_dimond_dataset
()
verl_Test/recipe/r1/data_process.py:51
Function
build_gpqa_dimond_dataset
()
verl_FlowRL/recipe/r1/data_process.py:51
Function
build_gpqa_dimond_dataset
()
verl_FlowRL/recipe/r1/data_process_add_dapo_prompt.py:182
Method
build_inputs_with_special_tokens
(self, token_ids_0: List[int], token_ids_1: Optional[List[int]] = None)
verl_FlowRL/tests/e2e/envs/digit_completion/tokenizer.py:101
Function
build_livecodebench_dataset
()
verl_Test/recipe/r1/data_process.py:93
Function
build_livecodebench_dataset
()
verl_FlowRL/recipe/r1/data_process.py:93
Function
build_livecodebench_dataset
()
verl_FlowRL/recipe/r1/data_process_add_dapo_prompt.py:240
Method
build_memory_reference
(self)
verl_Test/verl/utils/memory_buffer.py:199
Method
build_memory_reference
(self)
verl_FlowRL/verl/utils/memory_buffer.py:199
Function
build_minerva_dataset
()
verl_FlowRL/recipe/r1/data_process_add_dapo_prompt.py:138
Function
build_olympiadbench_dataset
()
verl_FlowRL/recipe/r1/data_process_add_dapo_prompt.py:155
Function
calc_maj_val
Calculate a value based on majority voting. This function identifies the most common value for a specified vote key in the data, then re
verl_Test/verl/trainer/ppo/metric_utils.py:287
Method
calc_reward
(self, instance_id: str, **kwargs)
verl_Test/verl/tools/sandbox_fusion_tools.py:175
Method
calc_reward
(self, instance_id: str, **kwargs)
verl_Test/verl/tools/search_tool.py:253
Method
calc_reward
(self, instance_id: str, **kwargs)
verl_FlowRL/verl/tools/sandbox_fusion_tools.py:175
Method
calc_reward
(self, instance_id: str, **kwargs)
verl_FlowRL/verl/tools/search_tool.py:253
Method
calc_reward_and_release_fn
(name: str, tool: BaseTool)
verl_Test/verl/workers/rollout/sglang_rollout/sglang_rollout.py:736
Method
calc_reward_and_release_fn
(name: str, tool: BaseTool)
verl_FlowRL/verl/workers/rollout/sglang_rollout/sglang_rollout.py:736
Function
call_if_main
Call the `f` with `args` if the caller's module is main.
verl_Test/rllm/rewards/code_utils/pyext2.py:470
Function
call_if_main
Call the `f` with `args` if the caller's module is main.
verl_FlowRL/rllm/rewards/code_utils/pyext2.py:470
Function
call_method
(method, inputs)
verl_Test/rllm/rewards/code_utils/codeforces.py:230
Function
call_method
(method, inputs)
verl_Test/rllm/rewards/code_utils/taco.py:252
Function
call_method
(method, inputs)
verl_FlowRL/rllm/rewards/code_utils/codeforces.py:230
Function
call_method
(method, inputs)
verl_FlowRL/rllm/rewards/code_utils/taco.py:252
Method
callback
(completions: ChatCompletion, info: Dict[str, Any], exception: Exception)
verl_FlowRL/tests/workers/rollout/test_vllm_tool_calling.py:149
Method
chat_completion
OpenAI chat completion API. API reference: https://platform.openai.com/docs/api-reference/chat/create
verl_Test/verl/workers/rollout/async_server.py:85
Method
chat_completion
(self, raw_request: Request)
verl_Test/verl/workers/rollout/sglang_rollout/async_sglang_server.py:52
Method
chat_completion
OpenAI-compatible HTTP endpoint. API reference: https://docs.vllm.ai/en/latest/serving/openai_compatible_server.html
verl_Test/verl/workers/rollout/vllm_rollout/vllm_async_server.py:206
Method
chat_completion
OpenAI chat completion API. API reference: https://platform.openai.com/docs/api-reference/chat/create
verl_FlowRL/verl/workers/rollout/async_server.py:85
Method
chat_completion
(self, raw_request: Request)
verl_FlowRL/verl/workers/rollout/sglang_rollout/async_sglang_server.py:52
Method
chat_completion
OpenAI-compatible HTTP endpoint. API reference: https://docs.vllm.ai/en/latest/serving/openai_compatible_server.html
verl_FlowRL/verl/workers/rollout/vllm_rollout/vllm_async_server.py:206
Method
chat_completion_generator
Direct chat completion without FastAPI. Args: request: ChatCompletionRequest, request object. Returns: Async
verl_Test/verl/workers/rollout/vllm_rollout/vllm_async_server.py:223
Method
chat_completion_generator
Direct chat completion without FastAPI. Args: request: ChatCompletionRequest, request object. Returns: Async
verl_FlowRL/verl/workers/rollout/vllm_rollout/vllm_async_server.py:223
Function
chat_completion_with_tool
( client: "AsyncOpenAI", tool_caller: "ToolCaller", messages_list, model="gpt-4", max_roun
verl_Test/rllm/tools/utils.py:6
Function
chat_completion_with_tool
( client: "AsyncOpenAI", tool_caller: "ToolCaller", messages_list, model="gpt-4", max_roun
verl_FlowRL/rllm/tools/utils.py:6
Function
check_correctness
Check correctness of code generation with a global timeout. The global timeout is to catch some extreme/rare cases not handled by the timeouts
verl_Test/verl/utils/reward_score/prime_code/utils.py:41
Function
check_cuda_is_available
Some modules must be imported after CUDA is initialized. Such as sglang's sharding manager. This context manager checks if CUDA is available
verl_Test/verl/utils/torch_functional.py:645
Function
check_cuda_is_available
Some modules must be imported after CUDA is initialized. Such as sglang's sharding manager. This context manager checks if CUDA is available
verl_FlowRL/verl/utils/torch_functional.py:645
Method
check_health
(self)
verl_Test/verl/workers/rollout/vllm_rollout/vllm_async_server.py:101
Method
check_health
(self)
verl_FlowRL/verl/workers/rollout/vllm_rollout/vllm_async_server.py:101
Method
check_mutually_exclusive
(mbs, mbs_per_gpu, name: str)
verl_Test/recipe/spin/spin_trainer.py:423
Method
check_mutually_exclusive
(mbs, mbs_per_gpu, name: str)
verl_Test/verl/trainer/ppo/ray_trainer.py:419
Method
check_mutually_exclusive
(mbs, mbs_per_gpu, name: str)
verl_FlowRL/recipe/spin/spin_trainer.py:423
Method
check_mutually_exclusive
(mbs, mbs_per_gpu, name: str)
verl_FlowRL/verl/trainer/ppo/ray_trainer.py:419
Function
check_workers_alive
Continuously monitors worker processes and raises SIGABRT if any worker dies. Args: workers (List): List of worker objects to
verl_Test/verl/single_controller/base/worker_group.py:100
Function
check_workers_alive
Continuously monitors worker processes and raises SIGABRT if any worker dies. Args: workers (List): List of worker objects to
verl_FlowRL/verl/single_controller/base/worker_group.py:100
Method
checkpath
(local_path: str, hdfs_path: str)
verl_Test/verl/utils/checkpoint/checkpoint_manager.py:73
Method
checkpath
(local_path: str, hdfs_path: str)
verl_FlowRL/verl/utils/checkpoint/checkpoint_manager.py:73
Method
chunk
(self, chunks: int)
verl_Test/verl/protocol.py:864
Method
chunk
(self, chunks: int)
verl_FlowRL/verl/protocol.py:864
Function
clip_by_value
Tensor extenstion to torch.clamp https://github.com/pytorch/pytorch/issues/2793#issuecomment-428784713
verl_Test/verl/utils/torch_functional.py:115
Function
clip_by_value
Tensor extenstion to torch.clamp https://github.com/pytorch/pytorch/issues/2793#issuecomment-428784713
verl_FlowRL/verl/utils/torch_functional.py:115
Function
code_exec
(code, test: str = None, timeout=_DEFAULT_TIMEOUT_SECONDS)
verl_Test/rllm/rewards/code_utils/kodcode.py:17
Function
code_exec
(code, test: str = None, timeout=_DEFAULT_TIMEOUT_SECONDS)
verl_FlowRL/rllm/rewards/code_utils/kodcode.py:17
Function
code_exec_firejail
(code, stdin: str = None, timeout=_DEFAULT_TIMEOUT_SECONDS, pytest: str = None)
verl_Test/rllm/rewards/code_utils/firejail_exec.py:19
Function
code_exec_firejail
(code, stdin: str = None, timeout=_DEFAULT_TIMEOUT_SECONDS, pytest: str = None)
verl_FlowRL/rllm/rewards/code_utils/firejail_exec.py:19
Method
code_execution
(self, request: Request)
verl_FlowRL/tests/workers/rollout/test_vllm_tool_calling.py:59
Function
collate_fn
(x: list["DataProtoItem"])
verl_Test/verl/protocol.py:179
Function
collate_fn
Collate a batch of sample dicts into batched tensors and arrays. Args: data_list: List of dicts mapping feature names to torch.Tenso
verl_Test/verl/utils/dataset/rl_dataset.py:37
Function
collate_fn
Collate function for the dataloader.
verl_FlowRL/rllm/data/dataloader.py:9
Function
collate_fn
(x: list["DataProtoItem"])
verl_FlowRL/verl/protocol.py:179
Function
collate_fn
Collate a batch of sample dicts into batched tensors and arrays. Args: data_list: List of dicts mapping feature names to torch.Tenso
verl_FlowRL/verl/utils/dataset/rl_dataset.py:37
Function
collect_all_to_all
(worker_group, output)
verl_Test/verl/single_controller/base/decorator.py:146
Function
collect_all_to_all
(worker_group, output)
verl_FlowRL/verl/single_controller/base/decorator.py:146
Function
collect_dp_compute_data_proto
(worker_group, output)
verl_Test/verl/single_controller/base/decorator.py:387
Function
collect_dp_compute_data_proto
(worker_group, output)
verl_FlowRL/verl/single_controller/base/decorator.py:387
Function
collect_megatron_compute_data_proto
Each output must be a DataProto. We concat the dim=0 of output
verl_Test/verl/single_controller/base/decorator.py:226
Function
collect_megatron_compute_data_proto
Each output must be a DataProto. We concat the dim=0 of output
verl_FlowRL/verl/single_controller/base/decorator.py:226
Function
collect_megatron_pp_as_dp_data_proto
(worker_group, output)
verl_Test/verl/single_controller/base/decorator.py:335
Function
collect_megatron_pp_as_dp_data_proto
(worker_group, output)
verl_FlowRL/verl/single_controller/base/decorator.py:335
Function
collect_megatron_pp_only
Only collect output of megatron pp. This is useful when examine weight names as they are identical in tp/dp
verl_Test/verl/single_controller/base/decorator.py:309
Function
collect_megatron_pp_only
Only collect output of megatron pp. This is useful when examine weight names as they are identical in tp/dp
verl_FlowRL/verl/single_controller/base/decorator.py:309
Function
compare_and_swap
If `var` is equal to `compare`, set it to `new`.
verl_Test/rllm/rewards/code_utils/pyext2.py:478
Function
compare_and_swap
If `var` is equal to `compare`, set it to `new`.
verl_FlowRL/rllm/rewards/code_utils/pyext2.py:478
Function
compute_attention_mask
(prompts, pad_token_id)
verl_FlowRL/tests/e2e/envs/digit_completion/task.py:105
Function
compute_entropy_loss
Compute categorical entropy loss (For backward compatibility) Args: logits (torch.Tensor): shape is (bs, response_length, vocab_size)
verl_Test/verl/trainer/ppo/core_algos.py:470
Function
compute_entropy_loss
Compute categorical entropy loss (For backward compatibility) Args: logits (torch.Tensor): shape is (bs, response_length, vocab_size)
verl_FlowRL/verl/trainer/ppo/core_algos.py:470
Function
compute_gae_advantage_return
Adapted from https://github.com/huggingface/trl/blob/main/trl/trainer/ppo_trainer.py Args: token_level_rewards: `(torch.Tensor)`
verl_Test/verl/trainer/ppo/core_algos.py:67
Function
compute_gae_advantage_return
Adapted from https://github.com/huggingface/trl/blob/main/trl/trainer/ppo_trainer.py Args: token_level_rewards: `(torch.Tensor)`
verl_FlowRL/verl/trainer/ppo/core_algos.py:67
Function
compute_grad_norm
(model: nn.Module)
verl_Test/verl/utils/torch_functional.py:213
Function
compute_grad_norm
(model: nn.Module)
verl_FlowRL/verl/utils/torch_functional.py:213
Function
compute_grpo_outcome_advantage
Compute advantage for GRPO, operating only on Outcome reward (with only one scalar reward for each response). Args: token_level_r
verl_Test/verl/trainer/ppo/core_algos.py:113
Function
compute_grpo_outcome_advantage
Compute advantage for GRPO, operating only on Outcome reward (with only one scalar reward for each response). Args: token_level_r
verl_FlowRL/verl/trainer/ppo/core_algos.py:113
Function
compute_grpo_passk_outcome_advantage
Compute advantage for Pass@k using a GRPO-style outcome reward formulation. Only the best response per group gets a non-zero advantage: r_max
verl_Test/verl/trainer/ppo/core_algos.py:168
Function
compute_grpo_passk_outcome_advantage
Compute advantage for Pass@k using a GRPO-style outcome reward formulation. Only the best response per group gets a non-zero advantage: r_max
verl_FlowRL/verl/trainer/ppo/core_algos.py:168
← previous
next →
2,901–3,000 of 4,141, ranked by callers