MCPcopy Create free account

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

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

↓ 1 callersMethodlog_generations_to_swanlab
Log samples to swanlab as text
verl_FlowRL/verl/utils/tracking.py:297
↓ 1 callersMethodlog_generations_to_wandb
Log samples to wandb as a table
verl_Test/verl/utils/tracking.py:270
↓ 1 callersMethodlog_generations_to_wandb
Log samples to wandb as a table
verl_FlowRL/verl/utils/tracking.py:270
↓ 1 callersFunctionlog_probs_from_logits_response
Compute the response log_probs from full logits. Note that logits = model(input_ids) Args: input_ids: [batch_size, seqlen] logits
verl_FlowRL/verl/utils/torch_functional.py:378
↓ 1 callersFunctionlog_probs_from_logits_response_rmpad
Compute the log_probs from logits with rmpad logits and pad input. Note that logits_rmpad = model(input_ids_rmpad). For each sentences, there is a
verl_FlowRL/verl/utils/torch_functional.py:394
↓ 1 callersFunctionlogprobs_from_logits_flash_attn
(logits, labels, inplace_backward=True)
verl_Test/verl/utils/torch_functional.py:83
↓ 1 callersFunctionlogprobs_from_logits_flash_attn
(logits, labels, inplace_backward=True)
verl_FlowRL/verl/utils/torch_functional.py:83
↓ 1 callersFunctionlogprobs_from_logits_v2
A memory efficient implementation of logprobs_from_logits
verl_Test/verl/utils/torch_functional.py:95
↓ 1 callersFunctionlower
(text)
verl_Test/verl/utils/reward_score/search_r1_like_qa_em.py:34
↓ 1 callersFunctionlower
(text)
verl_FlowRL/verl/utils/reward_score/search_r1_like_qa_em.py:34
↓ 1 callersFunctionmain
()
verl_Test/ray_cluster.py:338
↓ 1 callersFunctionmain
()
verl_Test/multi_node.py:38
↓ 1 callersFunctionmain
Demonstrate the usage of the SleepTool in various contexts. This function shows how to use the tool both synchronously and asynchronousl
verl_Test/rllm/tools/example_tool.py:65
↓ 1 callersFunctionmain
()
verl_Test/command/eval/cf_elo_calc.py:169
↓ 1 callersFunctionmain
()
verl_Test/benchmark/cf_elo_calc.py:169
↓ 1 callersFunctionmain
()
verl_Test/scripts/model_merger.py:560
↓ 1 callersFunctionmain
(config)
verl_Test/recipe/spin/main_spin.py:26
↓ 1 callersFunctionmain
(config)
verl_Test/recipe/dapo/main_dapo.py:30
↓ 1 callersFunctionmain
(config)
verl_Test/recipe/r1/compare_flowrl_grpo.py:25
↓ 1 callersFunctionmain
(config)
verl_Test/recipe/r1/main_eval_roboost_version.py:52
↓ 1 callersFunctionmain
(config)
verl_Test/recipe/r1/main_eval_case.py:17
↓ 1 callersFunctionmain
(config)
verl_Test/recipe/r1/main_eval_diversity.py:197
↓ 1 callersFunctionmain
(config)
verl_Test/recipe/r1/main_eval_for_code.py:43
↓ 1 callersFunctionmain
(config)
verl_Test/recipe/r1/main_eval.py:43
↓ 1 callersFunctionmain
(config)
verl_Test/recipe/prime/main_prime.py:39
↓ 1 callersFunctionmain
(config)
verl_Test/recipe/sppo/main_sppo.py:32
↓ 1 callersFunctionmain
(config)
verl_Test/verl/trainer/main_ppo.py:28
↓ 1 callersFunctionmain
(config)
verl_Test/verl/trainer/main_generation.py:45
↓ 1 callersFunctionmain
(config)
verl_Test/verl/trainer/main_eval.py:40
↓ 1 callersFunctionmain
(config)
verl_Test/verl/trainer/fsdp_sft_trainer.py:566
↓ 1 callersFunctionmain
(config)
verl_Test/verl/trainer/main_ppo_code.py:28
↓ 1 callersFunctionmain
(config)
verl_Test/examples/split_placement/main_ppo_split.py:94
↓ 1 callersFunctionmain
()
verl_Test/examples/data_preprocess/preprocess_search_r1_dataset.py:97
↓ 1 callersFunctionmain
()
verl_Test/examples/data_preprocess/multiturn.py:24
↓ 1 callersFunctionmain
Demonstrate the usage of the SleepTool in various contexts. This function shows how to use the tool both synchronously and asynchronousl
verl_FlowRL/rllm/tools/example_tool.py:65
↓ 1 callersFunctionmain
()
verl_FlowRL/scripts/model_merger.py:560
↓ 1 callersFunctionmain
(config)
verl_FlowRL/recipe/spin/main_spin.py:26
↓ 1 callersFunctionmain
(config)
verl_FlowRL/recipe/dapo/main_dapo.py:30
↓ 1 callersFunctionmain
(config)
verl_FlowRL/recipe/r1/main_eval.py:41
↓ 1 callersFunctionmain
(config)
verl_FlowRL/recipe/prime/main_prime.py:39
↓ 1 callersFunctionmain
(config)
verl_FlowRL/recipe/sppo/main_sppo.py:32
↓ 1 callersFunctionmain
()
verl_FlowRL/tests/workers/rollout/run_fsdp_vllm.py:30
↓ 1 callersFunctionmain
(config)
verl_FlowRL/tests/e2e/arithmetic_sequence/rl/main_trainer.py:84
↓ 1 callersFunctionmain
Main function to run trainer tests. Args: config: Configuration object with training parameters
verl_FlowRL/tests/e2e/sft/test_sp_loss_match.py:119
↓ 1 callersFunctionmain
(config)
verl_FlowRL/verl/trainer/main_ppo.py:28
↓ 1 callersFunctionmain
(config)
verl_FlowRL/verl/trainer/main_generation.py:45
↓ 1 callersFunctionmain
(config)
verl_FlowRL/verl/trainer/main_eval.py:40
↓ 1 callersFunctionmain
(config)
verl_FlowRL/verl/trainer/fsdp_sft_trainer.py:566
↓ 1 callersFunctionmain
(config)
verl_FlowRL/examples/split_placement/main_ppo_split.py:94
↓ 1 callersFunctionmain
()
verl_FlowRL/examples/data_preprocess/preprocess_search_r1_dataset.py:97
↓ 1 callersFunctionmain
()
verl_FlowRL/examples/data_preprocess/multiturn.py:24
↓ 1 callersFunctionmake_map_fn
(split)
verl_Test/examples/data_preprocess/aime2024_multiturn_w_tool.py:40
↓ 1 callersFunctionmake_map_fn
(split)
verl_Test/examples/data_preprocess/full_hh_rlhf.py:93
↓ 1 callersFunctionmake_map_fn
(split)
verl_Test/examples/data_preprocess/dapo_multiturn_w_tool.py:40
↓ 1 callersFunctionmake_map_fn
(split)
verl_FlowRL/examples/data_preprocess/aime2024_multiturn_w_tool.py:40
↓ 1 callersFunctionmake_map_fn
(split)
verl_FlowRL/examples/data_preprocess/full_hh_rlhf.py:93
↓ 1 callersFunctionmake_map_fn
(split)
verl_FlowRL/examples/data_preprocess/dapo_multiturn_w_tool.py:40
↓ 1 callersFunctionmake_reward_function
(tokenizer, num_examine)
verl_FlowRL/tests/e2e/arithmetic_sequence/rl/main_trainer.py:30
↓ 1 callersFunctionmasked_var
Compute variance of tensor with masked values.
verl_Test/verl/utils/torch_functional.py:152
↓ 1 callersFunctionmasked_var
Compute variance of tensor with masked values.
verl_FlowRL/verl/utils/torch_functional.py:152
↓ 1 callersFunctionmatch_answer
(response)
verl_Test/verl/utils/reward_score/prime_math/__init__.py:337
↓ 1 callersFunctionmatch_answer
(response)
verl_FlowRL/verl/utils/reward_score/prime_math/__init__.py:337
↓ 1 callersFunctionmcore_model_parallel_config
( sequence_parallel: bool, params_dtype: torch.dtype, )
verl_FlowRL/verl/utils/megatron_utils.py:214
↓ 1 callersMethodmerge_and_save
(self)
verl_Test/scripts/model_merger.py:474
↓ 1 callersMethodmerge_and_save
(self)
verl_FlowRL/scripts/model_merger.py:474
↓ 1 callersFunctionmerge_resource_pool
(rp1: RayResourcePool, rp2: RayResourcePool)
verl_FlowRL/verl/single_controller/ray/base.py:140
↓ 1 callersFunctionmodify_function
(f, globals={}, name=None, code=None, defaults=None, closure=None)
verl_Test/rllm/rewards/code_utils/pyext2.py:81
↓ 1 callersFunctionmodify_function
(f, globals={}, name=None, code=None, defaults=None, closure=None)
verl_FlowRL/rllm/rewards/code_utils/pyext2.py:81
↓ 1 callersFunctionnumeric_equal
(prediction: float, reference: float)
verl_Test/recipe/entropy_math/__init__.py:542
↓ 1 callersFunctionoffload_fsdp2_model_to_cpu
(model, empty_cache: bool = True)
verl_Test/verl/utils/fsdp_utils.py:153
↓ 1 callersFunctionoffload_fsdp2_model_to_cpu
(model, empty_cache: bool = True)
verl_FlowRL/verl/utils/fsdp_utils.py:153
↓ 1 callersFunctionoffload_group_to_cpu
(group)
verl_Test/verl/utils/megatron_utils.py:322
↓ 1 callersFunctionoffload_group_to_cpu
(group)
verl_FlowRL/verl/utils/megatron_utils.py:322
↓ 1 callersFunctionoffload_megatron_copy_params
Offload optimizer parameters to CPU. Supports both Megatron optimizers and `ChainedOptimizer`, which wraps a list of underlying optimizers.
verl_Test/verl/utils/megatron_utils.py:303
↓ 1 callersFunctionoffload_megatron_copy_params
Offload optimizer parameters to CPU. Supports both Megatron optimizers and `ChainedOptimizer`, which wraps a list of underlying optimizers.
verl_FlowRL/verl/utils/megatron_utils.py:303
↓ 1 callersMethodon_group_commit_backward
On group commit backward.
verl_Test/verl/utils/activation_offload.py:160
↓ 1 callersMethodon_group_commit_backward
On group commit backward.
verl_FlowRL/verl/utils/activation_offload.py:160
↓ 1 callersFunctiononly_int_check
(val)
verl_Test/verl/utils/reward_score/prime_code/testing_util.py:68
↓ 1 callersFunctiononly_int_check
(val)
verl_FlowRL/verl/utils/reward_score/prime_code/testing_util.py:68
↓ 1 callersFunctionpad_to_sequence_parallel
pad the tokens such that the total length is a multiple of sp world size Args: unpad_tokens: (total_nnz, ...). Tokens after removing padd
verl_Test/verl/utils/megatron/sequence_parallel.py:29
↓ 1 callersFunctionpad_to_sequence_parallel
pad the tokens such that the total length is a multiple of sp world size Args: unpad_tokens: (total_nnz, ...). Tokens after removing padd
verl_FlowRL/verl/utils/megatron/sequence_parallel.py:29
↓ 1 callersMethodpadding
Pad the DataProto by concating with padding_candidate.repeat(padding_size) Args: padding_size (int): the number of repeated paddi
verl_Test/verl/protocol.py:637
↓ 1 callersFunctionparallel_compute_score_async
(evaluation_func, completions, references, tasks, extra_info=None, num_processes=64)
verl_Test/verl/workers/reward_manager/prime.py:44
↓ 1 callersFunctionparse_args
Parse arguments.
verl_Test/scripts/diagnose.py:263
↓ 1 callersFunctionparse_args
Parse arguments.
verl_FlowRL/scripts/diagnose.py:263
↓ 1 callersMethodpatch_model_generation_config
The generation_config created from model config may be different to the pretrained model, this may lead to error when generating: htt
verl_Test/scripts/model_merger.py:117
↓ 1 callersMethodpatch_model_generation_config
The generation_config created from model config may be different to the pretrained model, this may lead to error when generating: htt
verl_FlowRL/scripts/model_merger.py:117
↓ 1 callersFunctionperform_single_search_batch
Performs a single batch search for multiple queries (original search tool behavior). Args: retrieval_service_url: The URL of the
verl_Test/verl/tools/utils/search_r1_like_utils.py:130
↓ 1 callersFunctionperform_single_search_batch
Performs a single batch search for multiple queries (original search tool behavior). Args: retrieval_service_url: The URL of the
verl_FlowRL/verl/tools/utils/search_r1_like_utils.py:130
↓ 1 callersFunctionpooling
(pooler_output, last_hidden_state, attention_mask=None, pooling_method="mean")
verl_Test/examples/sglang_multiturn/search_r1_like/local_dense_retriever/retrieval_server.py:54
↓ 1 callersFunctionpooling
(pooler_output, last_hidden_state, attention_mask=None, pooling_method="mean")
verl_FlowRL/examples/sglang_multiturn/search_r1_like/local_dense_retriever/retrieval_server.py:54
↓ 1 callersMethodpost_forward
(self, module)
verl_Test/verl/utils/activation_offload.py:427
↓ 1 callersMethodpost_forward
(self, module)
verl_FlowRL/verl/utils/activation_offload.py:427
↓ 1 callersFunctionpostprocess_data
Process tokenizer outputs to consistent shapes via padding/truncation. Args: input_ids: Token indices [batch_size, seq_len] atten
verl_Test/verl/utils/torch_functional.py:293
↓ 1 callersFunctionpostprocess_data
Process tokenizer outputs to consistent shapes via padding/truncation. Args: input_ids: Token indices [batch_size, seq_len] atten
verl_FlowRL/verl/utils/torch_functional.py:293
↓ 1 callersMethodpostprocess_data
Get chunk data of this tp rank since we do all gather in preprocess.
verl_FlowRL/verl/workers/sharding_manager/fsdp_sglang.py:180
↓ 1 callersFunctionpostprocess_lcb_sample
(sample)
verl_Test/rllm/rewards/code_reward.py:133
↓ 1 callersFunctionpostprocess_lcb_sample
(sample)
verl_FlowRL/rllm/rewards/code_reward.py:133
↓ 1 callersMethodpre_forward
(self, module)
verl_Test/verl/utils/activation_offload.py:422
↓ 1 callersMethodpre_forward
(self, module)
verl_FlowRL/verl/utils/activation_offload.py:422
← previousnext →1,901–2,000 of 4,141, ranked by callers