Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PRIME-RL/PRIME
/ types & classes
Types & classes
287 in github.com/PRIME-RL/PRIME
⨍
Functions
2,604
◇
Types & classes
287
↳
Endpoints
32
↓ 97 callers
Class
LanguageModel
eval/Coding/livecodebench/LiveCodeBench-main/lcb_runner/lm_styles.py:40
↓ 13 callers
Class
DataProto
A DataProto is a data structure that aims to provide a standard protocol for data exchange between functions. It contains a batch (TensorDict
training/verl/protocol.py:99
↓ 12 callers
Class
LLM
An LLM for generating texts from given prompts and sampling parameters. This class includes a tokenizer, a language model (possibly distributed
training/verl/third_party/vllm/vllm_v_0_3_1/llm.py:33
↓ 11 callers
Class
RayClassWithInitArgs
training/verl/single_controller/ray/base.py:128
↓ 7 callers
Class
ParallelLlamaRMSNorm
training/verl/models/llama/megatron/layers/parallel_rmsnorm.py:25
↓ 5 callers
Class
DeviceConfig
training/verl/third_party/vllm/vllm_v_0_3_1/config.py:415
↓ 4 callers
Class
RLHFDataset
We assume the dataset contains a column that contains prompts and other information
training/verl/utils/dataset/rl_dataset.py:60
↓ 4 callers
Class
RayResourcePool
training/verl/single_controller/ray/base.py:49
↓ 4 callers
Class
TaskResult
eval/Coding/livecodebench/LiveCodeBench-main/lcb_runner/utils/multiprocess.py:73
↓ 3 callers
Class
CacheConfig
Configuration for the KV cache. Args: block_size: Size of a cache block in number of tokens. gpu_memory_utilization: Fraction of
training/verl/third_party/vllm/vllm_v_0_3_1/config.py:240
↓ 3 callers
Class
CodeGenerationProblem
eval/Coding/livecodebench/LiveCodeBench-main/lcb_runner/benchmarks/code_generation.py:43
↓ 3 callers
Class
DummyModelLoader
Model loader that will set model weights to random values.
training/verl/third_party/vllm/vllm_v_0_6_3/model_loader.py:104
↓ 3 callers
Class
DummyModelLoader
Model loader that will set model weights to random values.
training/verl/third_party/vllm/vllm_v_0_5_4/model_loader.py:103
↓ 3 callers
Class
DummyModelLoader
Model loader that will set model weights to random values.
training/verl/third_party/vllm/vllm_v_0_4_2/model_loader.py:94
↓ 3 callers
Class
LoRAConfig
training/verl/third_party/vllm/vllm_v_0_3_1/config.py:422
↓ 3 callers
Class
ParallelConfig
Configuration for the distributed execution. Args: pipeline_parallel_size: Number of pipeline parallel groups. tensor_parallel_si
training/verl/third_party/vllm/vllm_v_0_3_1/config.py:313
↓ 3 callers
Class
PythonExecutor
eval/Math/Qwen25-Math/evaluation/python_executor.py:75
↓ 3 callers
Class
SchedulerConfig
Scheduler configuration. Args: max_num_batched_tokens: Maximum number of tokens to be processed in a single iteration.
training/verl/third_party/vllm/vllm_v_0_3_1/config.py:370
↓ 3 callers
Class
Tracking
training/verl/utils/tracking.py:21
↓ 2 callers
Class
DataParallelPPOActor
training/verl/workers/actor/dp_actor.py:33
↓ 2 callers
Class
DataProtoFuture
DataProtoFuture aims to eliminate actual data fetching on driver. By doing so, the driver doesn't have to wait for data so that asynchronous
training/verl/protocol.py:457
↓ 2 callers
Class
LambdaLayer
training/verl/utils/model.py:28
↓ 2 callers
Class
MegatronLoader
Model loader that can load the model weights from partitioned megatron model.
training/verl/third_party/vllm/vllm_v_0_6_3/model_loader.py:135
↓ 2 callers
Class
MegatronLoader
Model loader that can load the model weights from partitioned megatron model.
training/verl/third_party/vllm/vllm_v_0_5_4/model_loader.py:125
↓ 2 callers
Class
MegatronLoader
Model loader that can load the model weights from partitioned megatron model.
training/verl/third_party/vllm/vllm_v_0_4_2/model_loader.py:115
↓ 2 callers
Class
MegatronPPOActor
training/verl/workers/actor/megatron_actor.py:48
↓ 2 callers
Class
OpenAIRunner
eval/Coding/livecodebench/LiveCodeBench-main/lcb_runner/runner/oai_runner.py:14
↓ 2 callers
Class
ParallelLlamaDecoderLayerRmPad
training/verl/models/llama/megatron/layers/parallel_decoder.py:99
↓ 2 callers
Class
ParallelLlamaMLP
training/verl/models/llama/megatron/layers/parallel_mlp.py:31
↓ 2 callers
Class
RateLimiter
data_preprocessing/stage4_judge.py:20
↓ 2 callers
Class
RewardManager
The reward manager.
training/verl/trainer/main_ppo.py:37
↓ 2 callers
Class
SFTDataset
This is an in-memory SFTDataset
training/verl/utils/dataset/sft_dataset.py:34
↓ 2 callers
Class
Test
eval/Coding/livecodebench/LiveCodeBench-main/lcb_runner/benchmarks/code_generation.py:30
↓ 2 callers
Class
vLLMRollout
training/verl/workers/rollout/vllm_rollout/vllm_rollout.py:57
↓ 1 callers
Class
AdaptiveKLController
Adaptive KL controller described in the paper: https://arxiv.org/pdf/1909.08593.pdf
training/verl/trainer/ppo/core_algos.py:27
↓ 1 callers
Class
AllGatherPPModel
training/verl/workers/hybrid_engine/megatron_vllm.py:35
↓ 1 callers
Class
BaseShardingManager
training/verl/workers/hybrid_engine/base.py:21
↓ 1 callers
Class
BufferedDataLoader
training/verl/utils/dataset/rl_dataset.py:154
↓ 1 callers
Class
Capturing
eval/Coding/livecodebench/LiveCodeBench-main/lcb_runner/evaluation/testing_util.py:57
↓ 1 callers
Class
Capturing
training/verl/utils/reward_score/evaluation_utils/code_util/testing_util.py:58
↓ 1 callers
Class
Claude3Runner
eval/Coding/livecodebench/LiveCodeBench-main/lcb_runner/runner/claude3_runner.py:12
↓ 1 callers
Class
ClaudeRunner
eval/Coding/livecodebench/LiveCodeBench-main/lcb_runner/runner/claude_runner.py:12
↓ 1 callers
Class
CodeExecutionProblem
eval/Coding/livecodebench/LiveCodeBench-main/lcb_runner/benchmarks/code_execution.py:10
↓ 1 callers
Class
CohereRunner
eval/Coding/livecodebench/LiveCodeBench-main/lcb_runner/runner/cohere_runner.py:12
↓ 1 callers
Class
DTensorLoader
Model loader that can load the model weights from partitioned megatron model.
training/verl/third_party/vllm/vllm_v_0_6_3/model_loader.py:235
↓ 1 callers
Class
DTensorLoader
Model loader that can load the model weights from partitioned megatron model.
training/verl/third_party/vllm/vllm_v_0_5_4/model_loader.py:212
↓ 1 callers
Class
DTensorLoader
Model loader that can load the model weights from partitioned megatron model.
training/verl/third_party/vllm/vllm_v_0_4_2/model_loader.py:200
↓ 1 callers
Class
DataParallelPPOCritic
training/verl/workers/critic/dp_critic.py:35
↓ 1 callers
Class
DataParallelPRIME
training/verl/workers/actor/dp_prime.py:37
↓ 1 callers
Class
DataProcessor
data_preprocessing/stage4_judge.py:263
↓ 1 callers
Class
DataProtoItem
training/verl/protocol.py:91
↓ 1 callers
Class
DeepSeekRunner
eval/Coding/livecodebench/LiveCodeBench-main/lcb_runner/runner/deepseek_runner.py:13
↓ 1 callers
Class
Difficulty
eval/Coding/livecodebench/LiveCodeBench-main/lcb_runner/benchmarks/code_generation.py:18
↓ 1 callers
Class
DistGlobalInfo
training/verl/single_controller/base/worker.py:31
↓ 1 callers
Class
DistRankInfo
training/verl/single_controller/base/worker.py:24
↓ 1 callers
Class
EngineArgs
Arguments for vLLM engine.
training/verl/third_party/vllm/vllm_v_0_3_1/arg_utils.py:27
↓ 1 callers
Class
EngineArgs
training/verl/third_party/vllm/vllm_v_0_6_3/arg_utils.py:27
↓ 1 callers
Class
EngineArgs
Arguments for vLLM engine.
training/verl/third_party/vllm/vllm_v_0_5_4/arg_utils.py:50
↓ 1 callers
Class
EngineArgs
Arguments for vLLM engine.
training/verl/third_party/vllm/vllm_v_0_4_2/arg_utils.py:40
↓ 1 callers
Class
FSDPSFTTrainer
training/verl/trainer/fsdp_sft_trainer.py:58
↓ 1 callers
Class
FSDPVLLMShardingManager
training/verl/workers/hybrid_engine/fsdp_vllm.py:33
↓ 1 callers
Class
FakeTimers
Disable All Megatron Timing with FakeTimers
training/verl/utils/megatron_utils.py:215
↓ 1 callers
Class
FixedKLController
Fixed KL controller.
training/verl/trainer/ppo/core_algos.py:45
↓ 1 callers
Class
GeminiRunner
eval/Coding/livecodebench/LiveCodeBench-main/lcb_runner/runner/gemini_runner.py:13
↓ 1 callers
Class
GenericRuntime
eval/Math/Qwen25-Math/evaluation/python_executor.py:20
↓ 1 callers
Class
HFLoader
Model loader that can load the model weights from model's full params.
training/verl/third_party/vllm/vllm_v_0_6_3/model_loader.py:190
↓ 1 callers
Class
HFLoader
Model loader that can load the model weights from model's full params.
training/verl/third_party/vllm/vllm_v_0_5_4/model_loader.py:172
↓ 1 callers
Class
HFLoader
Model loader that can load the model weights from model's full params.
training/verl/third_party/vllm/vllm_v_0_4_2/model_loader.py:161
↓ 1 callers
Class
HFRollout
training/verl/workers/rollout/hf_rollout.py:35
↓ 1 callers
Class
KeywordsStoppingCriteria
eval/Math/Qwen25-Math/evaluation/model_utils.py:9
↓ 1 callers
Class
LlamaDynamicNTKScalingRotaryEmbedding
LlamaRotaryEmbedding extended with Dynamic NTK scaling. Credits to the Reddit users /u/bloc97 and /u/emozilla
training/verl/models/llama/megatron/layers/parallel_attention.py:91
↓ 1 callers
Class
LlamaLinearScalingRotaryEmbedding
LlamaRotaryEmbedding extended with linear scaling. Credits to the Reddit user /u/kaiokendev
training/verl/models/llama/megatron/layers/parallel_attention.py:72
↓ 1 callers
Class
LlamaRotaryEmbedding
training/verl/models/llama/megatron/layers/parallel_attention.py:35
↓ 1 callers
Class
LoadConfig
download_dir: Directory to download and load the weights, default to the default cache directory of huggingface. load_format: The for
training/verl/third_party/vllm/vllm_v_0_6_3/config.py:52
↓ 1 callers
Class
LoadConfig
download_dir: Directory to download and load the weights, default to the default cache directory of huggingface. load_for
training/verl/third_party/vllm/vllm_v_0_5_4/config.py:193
↓ 1 callers
Class
LoadConfig
download_dir: Directory to download and load the weights, default to the default cache directory of huggingface. load_for
training/verl/third_party/vllm/vllm_v_0_4_2/config.py:158
↓ 1 callers
Class
LoadFormat
training/verl/third_party/vllm/vllm_v_0_6_3/config.py:34
↓ 1 callers
Class
LoadFormat
training/verl/third_party/vllm/vllm_v_0_5_4/config.py:181
↓ 1 callers
Class
LoadFormat
training/verl/third_party/vllm/vllm_v_0_4_2/config.py:147
↓ 1 callers
Class
LocalLogger
A logger that writes data to a local file and optionally prints to console.
training/verl/utils/logger/aggregate_logger.py:47
↓ 1 callers
Class
MathErrorListener
eval/Math/Qwen25-Math/evaluation/latex2sympy/latex2sympy2.py:117
↓ 1 callers
Class
MathProblemValidator
data_preprocessing/stage4_judge.py:34
↓ 1 callers
Class
MegatronPPOCritic
training/verl/workers/critic/megatron_critic.py:41
↓ 1 callers
Class
MegatronRewardModel
training/verl/workers/reward_model/megatron/reward_model.py:37
↓ 1 callers
Class
MegatronVLLMShardingManager
training/verl/workers/hybrid_engine/megatron_vllm.py:238
↓ 1 callers
Class
MemoryBuffer
A memory buffer is a contiguous torch tensor that may combine multiple tensors sharing with the underlying memory. It must have a unique type
training/verl/utils/memory_buffer.py:24
↓ 1 callers
Class
MergedColumnParallelLinear
training/verl/models/llama/megatron/layers/parallel_linear.py:52
↓ 1 callers
Class
MistralRunner
eval/Coding/livecodebench/LiveCodeBench-main/lcb_runner/runner/mistral_runner.py:12
↓ 1 callers
Class
ModelConfig
Configuration for the model. Args: model: Name or path of the huggingface model to use. tokenizer: Name or path of the huggingfac
training/verl/third_party/vllm/vllm_v_0_3_1/config.py:31
↓ 1 callers
Class
ModelConfig
training/verl/third_party/vllm/vllm_v_0_6_3/config.py:44
↓ 1 callers
Class
ModelConfig
Configuration for the model. Args: model: Name or path of the huggingface model to use. tokenizer: Name or path of the huggingfac
training/verl/third_party/vllm/vllm_v_0_5_4/config.py:38
↓ 1 callers
Class
ModelConfig
Configuration for the model. Args: model: Name or path of the huggingface model to use. tokenizer: Name or path of the huggingfac
training/verl/third_party/vllm/vllm_v_0_4_2/config.py:37
↓ 1 callers
Class
ModelRunner
training/verl/third_party/vllm/vllm_v_0_3_1/model_runner.py:46
↓ 1 callers
Class
ModelRunner
training/verl/third_party/vllm/vllm_v_0_4_2/model_runner.py:48
↓ 1 callers
Class
NestedNamespace
training/verl/utils/py_functional.py:48
↓ 1 callers
Class
OptimizerConfig
Configuration for optimizer.
training/verl/utils/megatron/optimizer_config.py:23
↓ 1 callers
Class
PSLexer
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSLexer.py:1114
↓ 1 callers
Class
PSParser
eval/Math/Qwen25-Math/evaluation/latex2sympy/gen/PSParser.py:415
↓ 1 callers
Class
ParallelLlamaAttention
Multi-headed attention from 'Attention Is All You Need' paper
training/verl/models/llama/megatron/layers/parallel_attention.py:143
↓ 1 callers
Class
ParallelLlamaAttentionRmPad
training/verl/models/llama/megatron/layers/parallel_attention.py:338
next →
1–100 of 287, ranked by callers