MCPcopy Create free account

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

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

↓ 1 callersMethodcalc_reward
(self, instance_id: str, **kwargs)
verl_Test/verl/tools/gsm8k_tool.py:94
↓ 1 callersMethodcalc_reward
Calculate the reward of the tool. Args: instance_id: The instance id of the tool. Returns: The reward of the
verl_FlowRL/verl/tools/base_tool.py:69
↓ 1 callersMethodcalc_reward
(self, instance_id: str, **kwargs)
verl_FlowRL/verl/tools/gsm8k_tool.py:94
↓ 1 callersFunctioncall_gemini_llm
Calls a Gemini LLM on Vertex AI to generate n responses at a given temperature. Args: prompt (str): The text prompt to send to t
verl_Test/rllm/utils.py:55
↓ 1 callersFunctioncall_method
(method, inputs)
verl_Test/rllm/rewards/code_utils/livecodebench.py:128
↓ 1 callersFunctioncall_method
(method, inputs)
verl_Test/verl/utils/reward_score/prime_code/testing_util.py:530
↓ 1 callersFunctioncall_method
(method, inputs)
verl_FlowRL/rllm/rewards/code_utils/livecodebench.py:128
↓ 1 callersFunctioncall_method
(method, inputs)
verl_FlowRL/verl/utils/reward_score/prime_code/testing_util.py:530
↓ 1 callersFunctioncall_oai_rm_llm
( prompt: str, system_prompt: str, n: int = 1, temperature: float = 1.0, model_id: str = O
verl_Test/rllm/utils.py:17
↓ 1 callersFunctioncall_oai_rm_llm
( prompt: str, system_prompt: str, n: int = 1, temperature: float = 1.0, model_id: str = O
verl_FlowRL/rllm/utils.py:17
↓ 1 callersFunctionceildiv
(a, b)
verl_Test/verl/utils/seqlen_balancing.py:221
↓ 1 callersFunctioncheck_congratulations_in_file
(output_file)
verl_FlowRL/tests/e2e/check_custom_rwd_fn.py:18
↓ 1 callersMethodcheck_consistency
Check the consistency of the DataProto. Mainly for batch and non_tensor_batch We expose this function as a public one so that user can call th
verl_Test/verl/protocol.py:309
↓ 1 callersMethodcheck_consistency
Check the consistency of the DataProto. Mainly for batch and non_tensor_batch We expose this function as a public one so that user can call th
verl_FlowRL/verl/protocol.py:309
↓ 1 callersFunctioncheck_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/recipe/r1/tasks/livecodebench.py:31
↓ 1 callersFunctioncheck_correctness
Checks the correctness of code generation using the remote sandbox API, processing test cases concurrently. Args: sandbox_fusion
verl_Test/verl/utils/reward_score/sandbox_fusion/utils.py:367
↓ 1 callersFunctioncheck_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/r1_tasks/livecodebench.py:31
↓ 1 callersFunctioncheck_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_FlowRL/recipe/r1/tasks/livecodebench.py:31
↓ 1 callersFunctioncheck_correctness
Checks the correctness of code generation using the remote sandbox API, processing test cases concurrently. Args: sandbox_fusion
verl_FlowRL/verl/utils/reward_score/sandbox_fusion/utils.py:367
↓ 1 callersFunctioncheck_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_FlowRL/verl/utils/reward_score/r1_tasks/livecodebench.py:31
↓ 1 callersFunctioncheck_cuda_versions
()
verl_Test/scripts/diagnose.py:187
↓ 1 callersFunctioncheck_cuda_versions
()
verl_FlowRL/scripts/diagnose.py:187
↓ 1 callersFunctioncheck_environment
()
verl_Test/scripts/diagnose.py:170
↓ 1 callersFunctioncheck_environment
()
verl_FlowRL/scripts/diagnose.py:170
↓ 1 callersFunctioncheck_hardware
()
verl_Test/scripts/diagnose.py:135
↓ 1 callersFunctioncheck_hardware
()
verl_FlowRL/scripts/diagnose.py:135
↓ 1 callersFunctioncheck_network
(args)
verl_Test/scripts/diagnose.py:151
↓ 1 callersFunctioncheck_network
(args)
verl_FlowRL/scripts/diagnose.py:151
↓ 1 callersFunctioncheck_os
()
verl_Test/scripts/diagnose.py:126
↓ 1 callersFunctioncheck_os
()
verl_FlowRL/scripts/diagnose.py:126
↓ 1 callersFunctioncheck_pip
()
verl_Test/scripts/diagnose.py:78
↓ 1 callersFunctioncheck_pip
()
verl_FlowRL/scripts/diagnose.py:78
↓ 1 callersFunctioncheck_pip_package_versions
()
verl_Test/scripts/diagnose.py:177
↓ 1 callersFunctioncheck_pip_package_versions
()
verl_FlowRL/scripts/diagnose.py:177
↓ 1 callersFunctioncheck_python
()
verl_Test/scripts/diagnose.py:70
↓ 1 callersFunctioncheck_python
()
verl_FlowRL/scripts/diagnose.py:70
↓ 1 callersMethodcheck_ray_installed
(self)
verl_Test/ray_cluster.py:149
↓ 1 callersMethodcheck_storage_all
(self)
verl_FlowRL/tests/kernels/test_linear_cross_entropy.py:245
↓ 1 callersFunctioncheck_system_info
()
verl_Test/scripts/diagnose.py:253
↓ 1 callersFunctioncheck_system_info
()
verl_FlowRL/scripts/diagnose.py:253
↓ 1 callersFunctioncheck_verl
()
verl_Test/scripts/diagnose.py:101
↓ 1 callersFunctioncheck_verl
()
verl_FlowRL/scripts/diagnose.py:101
↓ 1 callersFunctionclean_stdout
(stdout)
verl_Test/rllm/rewards/code_utils/taco.py:344
↓ 1 callersFunctionclean_stdout
(stdout)
verl_FlowRL/rllm/rewards/code_utils/taco.py:344
↓ 1 callersFunctioncollect_dp_compute
(worker_group, output)
verl_Test/verl/single_controller/base/decorator.py:355
↓ 1 callersFunctioncollect_dp_compute
(worker_group, output)
verl_FlowRL/verl/single_controller/base/decorator.py:355
↓ 1 callersFunctioncollect_megatron_compute
Only collect the data from the tp=0 and pp=last and every dp ranks
verl_Test/verl/single_controller/base/decorator.py:179
↓ 1 callersFunctioncollect_megatron_compute
Only collect the data from the tp=0 and pp=last and every dp ranks
verl_FlowRL/verl/single_controller/base/decorator.py:179
↓ 1 callersFunctioncollect_megatron_pp_as_dp
treat pp as dp. Only collect data on tp=0
verl_Test/verl/single_controller/base/decorator.py:294
↓ 1 callersFunctioncollect_megatron_pp_as_dp
treat pp as dp. Only collect data on tp=0
verl_FlowRL/verl/single_controller/base/decorator.py:294
↓ 1 callersFunctioncompare_std_results
(exec_outputs, outputs, debug=False)
verl_Test/rllm/rewards/code_utils/codeforces.py:403
↓ 1 callersFunctioncompare_std_results
(exec_outputs, outputs, debug=False)
verl_Test/rllm/rewards/code_utils/taco.py:457
↓ 1 callersFunctioncompare_std_results
(exec_outputs, outputs, debug=False)
verl_FlowRL/rllm/rewards/code_utils/codeforces.py:403
↓ 1 callersFunctioncompare_std_results
(exec_outputs, outputs, debug=False)
verl_FlowRL/rllm/rewards/code_utils/taco.py:457
↓ 1 callersFunctioncompute_advantage
(data: DataProto, adv_estimator, config)
verl_Test/recipe/prime/prime_ray_trainer.py:41
↓ 1 callersFunctioncompute_advantage
Compute advantage estimates for policy optimization. This function computes advantage estimates using various estimators like GAE, GRPO, REINFORC
verl_Test/verl/trainer/ppo/ray_trainer.py:215
↓ 1 callersFunctioncompute_advantage
(data: DataProto, adv_estimator, config)
verl_FlowRL/recipe/prime/prime_ray_trainer.py:41
↓ 1 callersFunctioncompute_advantage
Compute advantage estimates for policy optimization. This function computes advantage estimates using various estimators like GAE, GRPO, REINFORC
verl_FlowRL/verl/trainer/ppo/ray_trainer.py:215
↓ 1 callersFunctioncompute_ce_dpo_loss_rm
(token_level_scores, acc, response_mask, beta)
verl_Test/recipe/prime/prime_core_algos.py:75
↓ 1 callersFunctioncompute_ce_dpo_loss_rm
(token_level_scores, acc, response_mask, beta)
verl_FlowRL/recipe/prime/prime_core_algos.py:75
↓ 1 callersFunctioncompute_dpo_data_metrics
Computes and returns metrics relevant for the DPO-like process. Assumes 'batch' contains results after generation and preference marking,
verl_Test/recipe/spin/spin_trainer.py:187
↓ 1 callersFunctioncompute_dpo_data_metrics
Computes and returns metrics relevant for the DPO-like process. Assumes 'batch' contains results after generation and preference marking,
verl_FlowRL/recipe/spin/spin_trainer.py:187
↓ 1 callersMethodcompute_flowrl_objective
(self, logpf=None, logf_ref=None, logpf_old=None, log_z=None, reward=None, response_mask=None, clip_ratio=Non
verl_FlowRL/verl/workers/actor/dp_actor.py:477
↓ 1 callersMethodcompute_log_prob
(self, data: DataProto)
verl_Test/verl/workers/megatron_workers.py:495
↓ 1 callersMethodcompute_log_prob
(self, data: DataProto)
verl_FlowRL/verl/workers/megatron_workers.py:495
↓ 1 callersFunctioncompute_onlineDPO_pref
Wrapper to compute DPO preference and add it to the DataProto batch. Includes debugging prints.
verl_Test/recipe/spin/spin_trainer.py:301
↓ 1 callersFunctioncompute_onlineDPO_pref
Wrapper to compute DPO preference and add it to the DataProto batch. Includes debugging prints.
verl_FlowRL/recipe/spin/spin_trainer.py:301
↓ 1 callersFunctioncompute_online_dpo_loss
( policy_chosen_logps: torch.Tensor, policy_rejected_logps: torch.Tensor, reference_chosen_logps:
verl_Test/recipe/spin/core_algos.py:131
↓ 1 callersFunctioncompute_online_dpo_loss
( policy_chosen_logps: torch.Tensor, policy_rejected_logps: torch.Tensor, reference_chosen_logps:
verl_FlowRL/recipe/spin/core_algos.py:131
↓ 1 callersFunctioncompute_policy_loss
Compute the clipped policy objective and related metrics for PPO. Adapted from https://github.com/huggingface/trl/blob/main/trl/trainer/
verl_FlowRL/verl/trainer/ppo/core_algos.py:406
↓ 1 callersFunctioncompute_position_id_with_mask
(mask)
verl_FlowRL/tests/ray_gpu/detached_worker/client.py:28
↓ 1 callersFunctioncompute_response_mask
(data: DataProto)
verl_Test/recipe/spin/spin_trainer.py:294
↓ 1 callersFunctioncompute_response_mask
(data: DataProto)
verl_FlowRL/recipe/spin/spin_trainer.py:294
↓ 1 callersMethodcompute_reward
Computing reward given input_ids. The transformers should output a tensor with shape [batch_size, sequence_length], and the value at [EOS]
verl_Test/verl/workers/reward_model/base.py:28
↓ 1 callersMethodcompute_reward
Computing reward given input_ids. The transformers should output a tensor with shape [batch_size, sequence_length], and the value at [EOS]
verl_FlowRL/verl/workers/reward_model/base.py:28
↓ 1 callersMethodcompute_rm_score
(self, data: DataProto)
verl_Test/verl/workers/fsdp_workers.py:1370
↓ 1 callersMethodcompute_rm_score
(self, data: DataProto)
verl_FlowRL/verl/workers/fsdp_workers.py:1394
↓ 1 callersFunctioncompute_score
(solution_str, ground_truth)
verl_Test/verl/utils/reward_score/math.py:17
↓ 1 callersFunctioncompute_score
(solution_str, ground_truth)
verl_FlowRL/verl/utils/reward_score/math.py:17
↓ 1 callersFunctioncompute_sppo_loss
SPPO Loss computation.
verl_Test/recipe/sppo/dp_actor.py:33
↓ 1 callersFunctioncompute_sppo_loss
SPPO Loss computation.
verl_FlowRL/recipe/sppo/dp_actor.py:33
↓ 1 callersFunctioncompute_weights
(scores: torch.Tensor, reweight_method: str, weight_pow: float)
verl_Test/verl/trainer/ppo/core_algos.py:575
↓ 1 callersFunctioncompute_weights
(scores: torch.Tensor, reweight_method: str, weight_pow: float)
verl_FlowRL/verl/trainer/ppo/core_algos.py:575
↓ 1 callersFunctionconcat_dict_to_str
(dict: Dict, step)
verl_Test/verl/utils/logger/aggregate_logger.py:23
↓ 1 callersFunctionconcat_dict_to_str
(dict: Dict, step)
verl_FlowRL/verl/utils/logger/aggregate_logger.py:23
↓ 1 callersFunctionconnect_to_ray_cluster
在工作节点上连接到 Ray 集群。
verl_Test/multi_node.py:24
↓ 1 callersFunctionconvert_checkpoint_from_transformers_to_megatron_dpskv3
(hf_model, model, hf_config, tfconfig)
verl_Test/scripts/converter_hf_to_mcore.py:150
↓ 1 callersFunctionconvert_checkpoint_from_transformers_to_megatron_dpskv3
(hf_model, model, hf_config, tfconfig)
verl_FlowRL/scripts/converter_hf_to_mcore.py:150
↓ 1 callersFunctionconvert_gate_up_shard
(full_tensor, gate_name, up_name)
verl_Test/verl/utils/megatron_utils.py:529
↓ 1 callersFunctionconvert_gate_up_shard
(full_tensor, gate_name, up_name)
verl_FlowRL/verl/utils/megatron_utils.py:529
↓ 1 callersFunctionconvert_hf_to_mcore
(hf_model_path, output_path, use_cpu_initialization=False, test=False, trust_remote_code=False)
verl_Test/scripts/converter_hf_to_mcore.py:214
↓ 1 callersFunctionconvert_hf_to_mcore
(hf_model_path, output_path, use_cpu_initialization=False, test=False, trust_remote_code=False)
verl_FlowRL/scripts/converter_hf_to_mcore.py:214
↓ 1 callersFunctionconvert_qkv_shard
(full_tensor, q_name, k_name, v_name)
verl_Test/verl/utils/megatron_utils.py:481
↓ 1 callersFunctionconvert_qkv_shard
(full_tensor, q_name, k_name, v_name)
verl_FlowRL/verl/utils/megatron_utils.py:481
↓ 1 callersFunctioncopy_to_shm
Load the model into /dev/shm to make the process of loading the model multiple times more efficient.
verl_Test/verl/utils/fs.py:141
↓ 1 callersFunctioncopy_to_shm
Load the model into /dev/shm to make the process of loading the model multiple times more efficient.
verl_FlowRL/verl/utils/fs.py:141
↓ 1 callersFunctioncount_answer_tags
(text)
verl_Test/verl/utils/reward_score/search_r1_like_qa_em.py:89
↓ 1 callersFunctioncount_answer_tags
(text)
verl_FlowRL/verl/utils/reward_score/search_r1_like_qa_em.py:89
↓ 1 callersFunctioncount_unknown_letters_in_expr
(expr: str)
verl_Test/rllm/rewards/math_utils/utils.py:331
↓ 1 callersFunctioncount_unknown_letters_in_expr
(expr: str)
verl_Test/recipe/entropy_math/__init__.py:856
← previousnext →1,501–1,600 of 4,141, ranked by callers