Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PRIME-RL/PRIME
/ functions
Functions
2,604 in github.com/PRIME-RL/PRIME
⨍
Functions
2,604
◇
Types & classes
287
↳
Endpoints
32
↓ 1 callers
Method
default_tp_concat_fn
name: name of the parameter param: training parameters infer_params (List[torch.Tensor]): a list of parameters all-gathered f
training/verl/workers/hybrid_engine/megatron_vllm.py:267
↓ 1 callers
Method
dispatch_fn
(x, i, chunks)
training/verl/protocol.py:484
↓ 1 callers
Function
dispatch_megatron_compute
User passes in dp data. The data is dispatched to all tp/pp ranks with the same dp
training/verl/single_controller/base/decorator.py:74
↓ 1 callers
Function
dispatch_megatron_pp_as_dp
treat pp as dp.
training/verl/single_controller/base/decorator.py:161
↓ 1 callers
Function
download_files_distributed
(download_fn)
training/verl/utils/dataset/rm_dataset.py:27
↓ 1 callers
Function
dump_data
(data, name)
training/verl/utils/debug/trajectory_tracker.py:69
↓ 1 callers
Method
encode
(self, prompt: str, request_id: Optional[str] = None, lora_reques
training/verl/third_party/vllm/vllm_v_0_5_4/tokenizer.py:43
↓ 1 callers
Method
encode
(self, prompt: str, request_id: Optional[str] = None, lora_reques
training/verl/third_party/vllm/vllm_v_0_4_2/tokenizer.py:43
↓ 1 callers
Function
ensure_model_parallel_initialized
Helper to initialize model parallel groups if they are not initialized, or ensure tensor-parallel and pipeline-parallel sizes are equal to expecte
training/verl/third_party/vllm/vllm_v_0_6_3/parallel_state.py:71
↓ 1 callers
Function
ensure_model_parallel_initialized
Helper to initialize model parallel groups if they are not initialized, or ensure tensor-parallel and pipeline-parallel sizes are equal to expecte
training/verl/third_party/vllm/vllm_v_0_5_4/parallel_state.py:68
↓ 1 callers
Function
ensure_model_parallel_initialized
Helper to initialize model parallel groups if they are not initialized, or ensure tensor-parallel and pipeline-parallel sizes are equal to expecte
training/verl/third_party/vllm/vllm_v_0_4_2/parallel_state.py:66
↓ 1 callers
Method
enterAbs_group
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:316
↓ 1 callers
Method
enterAccent
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:343
↓ 1 callers
Method
enterAccent_symbol
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:10
↓ 1 callers
Method
enterAdditive
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:163
↓ 1 callers
Method
enterArgs
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:478
↓ 1 callers
Method
enterAtom
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:370
↓ 1 callers
Method
enterAtom_expr
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:361
↓ 1 callers
Method
enterAtom_expr_no_supexpr
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:352
↓ 1 callers
Method
enterBinom
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:406
↓ 1 callers
Method
enterCeil_group
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:334
↓ 1 callers
Method
enterComp
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:280
↓ 1 callers
Method
enterComp_nofunc
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:289
↓ 1 callers
Method
enterDet
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:100
↓ 1 callers
Method
enterElementary_transform
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:73
↓ 1 callers
Method
enterElementary_transforms
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:82
↓ 1 callers
Method
enterEquality
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:145
↓ 1 callers
Method
enterEval_at
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:235
↓ 1 callers
Method
enterEval_at_sub
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:244
↓ 1 callers
Method
enterEval_at_sup
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:253
↓ 1 callers
Method
enterExp
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:262
↓ 1 callers
Method
enterExp_nofunc
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:271
↓ 1 callers
Method
enterExpr
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:154
↓ 1 callers
Method
enterFloor_group
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:325
↓ 1 callers
Method
enterFrac
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:397
↓ 1 callers
Method
enterFunc
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:469
↓ 1 callers
Method
enterFunc_common_args
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:487
↓ 1 callers
Method
enterFunc_multi_arg
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:523
↓ 1 callers
Method
enterFunc_multi_arg_noparens
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:532
↓ 1 callers
Method
enterFunc_normal_functions_multi_arg
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:424
↓ 1 callers
Method
enterFunc_normal_functions_single_arg
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:415
↓ 1 callers
Method
enterFunc_normal_multi_arg
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:460
↓ 1 callers
Method
enterFunc_normal_single_arg
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:451
↓ 1 callers
Method
enterFunc_operator_names_multi_arg
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:442
↓ 1 callers
Method
enterFunc_operator_names_single_arg
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:433
↓ 1 callers
Method
enterFunc_single_arg
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:505
↓ 1 callers
Method
enterFunc_single_arg_noparens
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:514
↓ 1 callers
Method
enterGroup
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:298
↓ 1 callers
Method
enterLimit_sub
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:496
↓ 1 callers
Method
enterMath
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:19
↓ 1 callers
Method
enterMathit
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:379
↓ 1 callers
Method
enterMathit_text
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:388
↓ 1 callers
Method
enterMatrix
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:91
↓ 1 callers
Method
enterMatrix_row
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:109
↓ 1 callers
Method
enterMp
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:172
↓ 1 callers
Method
enterMp_nofunc
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:181
↓ 1 callers
Method
enterNorm_group
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:307
↓ 1 callers
Method
enterPostfix
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:208
↓ 1 callers
Method
enterPostfix_nofunc
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:217
↓ 1 callers
Method
enterPostfix_op
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:226
↓ 1 callers
Method
enterRelation
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:118
↓ 1 callers
Method
enterRelation_list
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:127
↓ 1 callers
Method
enterRelation_list_content
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:136
↓ 1 callers
Method
enterSubeq
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:559
↓ 1 callers
Method
enterSubexpr
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:541
↓ 1 callers
Method
enterSupeq
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:568
↓ 1 callers
Method
enterSupexpr
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:550
↓ 1 callers
Method
enterTransform_assignment
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:64
↓ 1 callers
Method
enterTransform_atom
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:37
↓ 1 callers
Method
enterTransform_scale
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:46
↓ 1 callers
Method
enterTransform_swap
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:55
↓ 1 callers
Method
enterTranspose
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:28
↓ 1 callers
Method
enterUnary
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:190
↓ 1 callers
Method
enterUnary_nofunc
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:199
↓ 1 callers
Function
estimate_pass_at_k
Estimates pass@k of each problem and returns them in an array.
eval/utils/evaluation.py:13
↓ 1 callers
Function
estimate_pass_at_k
Estimates pass@k of each problem and returns them in an array.
eval/utils/evaluation_leetcode.py:85
↓ 1 callers
Function
estimator
Calculates 1 - comb(n - c, k) / comb(n, k).
eval/utils/evaluation.py:22
↓ 1 callers
Function
estimator
Calculates 1 - comb(n - c, k) / comb(n, k).
eval/utils/evaluation_leetcode.py:94
↓ 1 callers
Function
estimator
Calculates 1 - comb(n - c, k) / comb(n, k).
eval/Coding/livecodebench/LiveCodeBench-main/lcb_runner/evaluation/pass_k_utils.py:7
↓ 1 callers
Function
eval_maj_k_metrics
(data_path, k=8)
eval/Math/Qwen25-Math/evaluation/rm_maj_eval.py:76
↓ 1 callers
Function
eval_rm_k_metrics
(data_path, k=8)
eval/Math/Qwen25-Math/evaluation/rm_maj_eval.py:50
↓ 1 callers
Function
evaluate
(dataset)
eval/Coding/mbpp/evaluate_mbpp.py:102
↓ 1 callers
Function
evaluate_code
(completion, test_cases)
training/verl/utils/reward_score/evaluation_utils/code_util/__init__.py:6
↓ 1 callers
Function
evaluate_functional_correctness
Evaluates the functional correctness of generated samples, and writes results to f"{sample_file}_results.jsonl.gz"
eval/utils/evaluation.py:39
↓ 1 callers
Function
evaluate_functional_correctness
( input_file: str = None, tmp_dir: str = "./", n_workers: int = 32, timeout: float = 10.0,
eval/utils/evaluation_leetcode.py:186
↓ 1 callers
Function
evaluate_generations
We take the list of code generations and try to compile them and the run their corresponding unit tests which are retrieved from the APPS dataset
eval/Coding/livecodebench/LiveCodeBench-main/lcb_runner/evaluation/compute_code_generation_metrics.py:105
↓ 1 callers
Function
evaluate_main
(generation_path: str, result_path: str, temp_dir: str)
eval/Coding/leetcode/evaluate_leetcode.py:122
↓ 1 callers
Function
evaluate_math
(model_output: str, ground_truth: str)
training/verl/utils/reward_score/evaluation_utils/math_util/__init__.py:376
↓ 1 callers
Method
exec_code
(self, code_piece: str)
eval/Math/Qwen25-Math/evaluation/python_executor.py:31
↓ 1 callers
Method
execute_model
( self, seq_group_metadata_list: Optional[List[SequenceGroupMetadata]], kv_caches: Lis
training/verl/third_party/vllm/vllm_v_0_3_1/model_runner.py:203
↓ 1 callers
Method
execute_model
( self, seq_group_metadata_list: List[SequenceGroupMetadata], blocks_to_swap_in: Dict[
training/verl/third_party/vllm/vllm_v_0_3_1/worker.py:215
↓ 1 callers
Method
exitAbs_group
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:320
↓ 1 callers
Method
exitAccent
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:347
↓ 1 callers
Method
exitAccent_symbol
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:14
↓ 1 callers
Method
exitAdditive
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:167
↓ 1 callers
Method
exitArgs
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:482
↓ 1 callers
Method
exitAtom
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:374
↓ 1 callers
Method
exitAtom_expr
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:365
↓ 1 callers
Method
exitAtom_expr_no_supexpr
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:356
↓ 1 callers
Method
exitBinom
(self, ctx)
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSListener.py:410
← previous
next →
701–800 of 2,604, ranked by callers