MCPcopy Create free account

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

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

Methodbackward
(ctx, grad_output: torch.Tensor)
verl_Test/verl/utils/megatron/tensor_parallel.py:130
Methodbackward
(ctx, dlog_probs: Optional[torch.FloatTensor], dentropy: Optional[torch.FloatTensor])
verl_Test/verl/utils/experimental/torch_functional.py:132
Methodbackward
(ctx, grad_output)
verl_FlowRL/verl/utils/activation_offload.py:120
Methodbackward
(ctx: Any, *grad_output: Tensor)
verl_FlowRL/verl/utils/ulysses.py:182
Methodbackward
(ctx, grad_output: torch.Tensor)
verl_FlowRL/verl/utils/megatron/tensor_parallel.py:130
Methodbackward
(ctx, dlog_probs: Optional[torch.FloatTensor], dentropy: Optional[torch.FloatTensor])
verl_FlowRL/verl/utils/experimental/torch_functional.py:132
Functionbuild_MATH500_dataset
()
verl_FlowRL/recipe/r1/data_process_add_dapo_prompt.py:121
Functionbuild_aime2024_dataset
()
verl_Test/recipe/r1/data_process.py:39
Functionbuild_aime2024_dataset
()
verl_FlowRL/recipe/r1/data_process.py:39
Functionbuild_aime2024_dataset
()
verl_FlowRL/recipe/r1/data_process_add_dapo_prompt.py:70
Functionbuild_aime2025_dataset
()
verl_FlowRL/recipe/r1/data_process_add_dapo_prompt.py:87
Functionbuild_amc23_dataset
()
verl_FlowRL/recipe/r1/data_process_add_dapo_prompt.py:104
Functionbuild_cnmo2024_dataset
()
verl_Test/recipe/r1/data_process.py:74
Functionbuild_cnmo2024_dataset
()
verl_FlowRL/recipe/r1/data_process.py:74
Functionbuild_cnmo2024_dataset
()
verl_FlowRL/recipe/r1/data_process_add_dapo_prompt.py:212
Functionbuild_gpqa_dimond_dataset
()
verl_Test/recipe/r1/data_process.py:51
Functionbuild_gpqa_dimond_dataset
()
verl_FlowRL/recipe/r1/data_process.py:51
Functionbuild_gpqa_dimond_dataset
()
verl_FlowRL/recipe/r1/data_process_add_dapo_prompt.py:182
Methodbuild_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
Functionbuild_livecodebench_dataset
()
verl_Test/recipe/r1/data_process.py:93
Functionbuild_livecodebench_dataset
()
verl_FlowRL/recipe/r1/data_process.py:93
Functionbuild_livecodebench_dataset
()
verl_FlowRL/recipe/r1/data_process_add_dapo_prompt.py:240
Methodbuild_memory_reference
(self)
verl_Test/verl/utils/memory_buffer.py:199
Methodbuild_memory_reference
(self)
verl_FlowRL/verl/utils/memory_buffer.py:199
Functionbuild_minerva_dataset
()
verl_FlowRL/recipe/r1/data_process_add_dapo_prompt.py:138
Functionbuild_olympiadbench_dataset
()
verl_FlowRL/recipe/r1/data_process_add_dapo_prompt.py:155
Functioncalc_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
Methodcalc_reward
(self, instance_id: str, **kwargs)
verl_Test/verl/tools/sandbox_fusion_tools.py:175
Methodcalc_reward
(self, instance_id: str, **kwargs)
verl_Test/verl/tools/search_tool.py:253
Methodcalc_reward
(self, instance_id: str, **kwargs)
verl_FlowRL/verl/tools/sandbox_fusion_tools.py:175
Methodcalc_reward
(self, instance_id: str, **kwargs)
verl_FlowRL/verl/tools/search_tool.py:253
Methodcalc_reward_and_release_fn
(name: str, tool: BaseTool)
verl_Test/verl/workers/rollout/sglang_rollout/sglang_rollout.py:736
Methodcalc_reward_and_release_fn
(name: str, tool: BaseTool)
verl_FlowRL/verl/workers/rollout/sglang_rollout/sglang_rollout.py:736
Functioncall_if_main
Call the `f` with `args` if the caller's module is main.
verl_Test/rllm/rewards/code_utils/pyext2.py:470
Functioncall_if_main
Call the `f` with `args` if the caller's module is main.
verl_FlowRL/rllm/rewards/code_utils/pyext2.py:470
Functioncall_method
(method, inputs)
verl_Test/rllm/rewards/code_utils/codeforces.py:230
Functioncall_method
(method, inputs)
verl_Test/rllm/rewards/code_utils/taco.py:252
Functioncall_method
(method, inputs)
verl_FlowRL/rllm/rewards/code_utils/codeforces.py:230
Functioncall_method
(method, inputs)
verl_FlowRL/rllm/rewards/code_utils/taco.py:252
Methodcallback
(completions: ChatCompletion, info: Dict[str, Any], exception: Exception)
verl_FlowRL/tests/workers/rollout/test_vllm_tool_calling.py:149
Methodchat_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
Methodchat_completion
(self, raw_request: Request)
verl_Test/verl/workers/rollout/sglang_rollout/async_sglang_server.py:52
Methodchat_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
Methodchat_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
Methodchat_completion
(self, raw_request: Request)
verl_FlowRL/verl/workers/rollout/sglang_rollout/async_sglang_server.py:52
Methodchat_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
Methodchat_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
Methodchat_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
Functionchat_completion_with_tool
( client: "AsyncOpenAI", tool_caller: "ToolCaller", messages_list, model="gpt-4", max_roun
verl_Test/rllm/tools/utils.py:6
Functionchat_completion_with_tool
( client: "AsyncOpenAI", tool_caller: "ToolCaller", messages_list, model="gpt-4", max_roun
verl_FlowRL/rllm/tools/utils.py:6
Functioncheck_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
Functioncheck_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
Functioncheck_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
Methodcheck_health
(self)
verl_Test/verl/workers/rollout/vllm_rollout/vllm_async_server.py:101
Methodcheck_health
(self)
verl_FlowRL/verl/workers/rollout/vllm_rollout/vllm_async_server.py:101
Methodcheck_mutually_exclusive
(mbs, mbs_per_gpu, name: str)
verl_Test/recipe/spin/spin_trainer.py:423
Methodcheck_mutually_exclusive
(mbs, mbs_per_gpu, name: str)
verl_Test/verl/trainer/ppo/ray_trainer.py:419
Methodcheck_mutually_exclusive
(mbs, mbs_per_gpu, name: str)
verl_FlowRL/recipe/spin/spin_trainer.py:423
Methodcheck_mutually_exclusive
(mbs, mbs_per_gpu, name: str)
verl_FlowRL/verl/trainer/ppo/ray_trainer.py:419
Functioncheck_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
Functioncheck_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
Methodcheckpath
(local_path: str, hdfs_path: str)
verl_Test/verl/utils/checkpoint/checkpoint_manager.py:73
Methodcheckpath
(local_path: str, hdfs_path: str)
verl_FlowRL/verl/utils/checkpoint/checkpoint_manager.py:73
Methodchunk
(self, chunks: int)
verl_Test/verl/protocol.py:864
Methodchunk
(self, chunks: int)
verl_FlowRL/verl/protocol.py:864
Functionclip_by_value
Tensor extenstion to torch.clamp https://github.com/pytorch/pytorch/issues/2793#issuecomment-428784713
verl_Test/verl/utils/torch_functional.py:115
Functionclip_by_value
Tensor extenstion to torch.clamp https://github.com/pytorch/pytorch/issues/2793#issuecomment-428784713
verl_FlowRL/verl/utils/torch_functional.py:115
Functioncode_exec
(code, test: str = None, timeout=_DEFAULT_TIMEOUT_SECONDS)
verl_Test/rllm/rewards/code_utils/kodcode.py:17
Functioncode_exec
(code, test: str = None, timeout=_DEFAULT_TIMEOUT_SECONDS)
verl_FlowRL/rllm/rewards/code_utils/kodcode.py:17
Functioncode_exec_firejail
(code, stdin: str = None, timeout=_DEFAULT_TIMEOUT_SECONDS, pytest: str = None)
verl_Test/rllm/rewards/code_utils/firejail_exec.py:19
Functioncode_exec_firejail
(code, stdin: str = None, timeout=_DEFAULT_TIMEOUT_SECONDS, pytest: str = None)
verl_FlowRL/rllm/rewards/code_utils/firejail_exec.py:19
Methodcode_execution
(self, request: Request)
verl_FlowRL/tests/workers/rollout/test_vllm_tool_calling.py:59
Functioncollate_fn
(x: list["DataProtoItem"])
verl_Test/verl/protocol.py:179
Functioncollate_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
Functioncollate_fn
Collate function for the dataloader.
verl_FlowRL/rllm/data/dataloader.py:9
Functioncollate_fn
(x: list["DataProtoItem"])
verl_FlowRL/verl/protocol.py:179
Functioncollate_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
Functioncollect_all_to_all
(worker_group, output)
verl_Test/verl/single_controller/base/decorator.py:146
Functioncollect_all_to_all
(worker_group, output)
verl_FlowRL/verl/single_controller/base/decorator.py:146
Functioncollect_dp_compute_data_proto
(worker_group, output)
verl_Test/verl/single_controller/base/decorator.py:387
Functioncollect_dp_compute_data_proto
(worker_group, output)
verl_FlowRL/verl/single_controller/base/decorator.py:387
Functioncollect_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
Functioncollect_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
Functioncollect_megatron_pp_as_dp_data_proto
(worker_group, output)
verl_Test/verl/single_controller/base/decorator.py:335
Functioncollect_megatron_pp_as_dp_data_proto
(worker_group, output)
verl_FlowRL/verl/single_controller/base/decorator.py:335
Functioncollect_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
Functioncollect_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
Functioncompare_and_swap
If `var` is equal to `compare`, set it to `new`.
verl_Test/rllm/rewards/code_utils/pyext2.py:478
Functioncompare_and_swap
If `var` is equal to `compare`, set it to `new`.
verl_FlowRL/rllm/rewards/code_utils/pyext2.py:478
Functioncompute_attention_mask
(prompts, pad_token_id)
verl_FlowRL/tests/e2e/envs/digit_completion/task.py:105
Functioncompute_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
Functioncompute_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
Functioncompute_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
Functioncompute_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
Functioncompute_grad_norm
(model: nn.Module)
verl_Test/verl/utils/torch_functional.py:213
Functioncompute_grad_norm
(model: nn.Module)
verl_FlowRL/verl/utils/torch_functional.py:213
Functioncompute_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
Functioncompute_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
Functioncompute_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
Functioncompute_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
← previousnext →2,901–3,000 of 4,141, ranked by callers