Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Unakar/Logic-RL
/ types & classes
Types & classes
113 in github.com/Unakar/Logic-RL
⨍
Functions
858
◇
Types & classes
113
↳
Endpoints
30
↓ 22 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
verl/protocol.py:165
↓ 19 callers
Class
RayClassWithInitArgs
verl/single_controller/ray/base.py:128
↓ 19 callers
Class
RayWorkerGroup
verl/single_controller/ray/base.py:176
↓ 15 callers
Class
RayResourcePool
verl/single_controller/ray/base.py:49
↓ 7 callers
Class
ParallelLlamaRMSNorm
verl/models/llama/megatron/layers/parallel_rmsnorm.py:25
↓ 5 callers
Class
FSDPUlyssesShardingManager
Sharding manager to support data resharding when using FSDP + Ulysses
verl/workers/sharding_manager/fsdp_ulysses.py:33
↓ 4 callers
Class
SFTDataset
This is an in-memory SFTDataset
verl/utils/dataset/sft_dataset.py:34
↓ 3 callers
Class
RLHFDataset
We assume the dataset contains a column that contains prompts and other information
verl/utils/dataset/rl_dataset.py:58
↓ 3 callers
Class
RayPPOTrainer
Note that this trainer runs on the driver process on a single CPU/GPU node.
verl/trainer/ppo/ray_trainer.py:321
↓ 3 callers
Class
ResourcePoolManager
Define a resource pool specification. Resource pool will be initialized first. Mapping
verl/trainer/ppo/ray_trainer.py:56
↓ 3 callers
Class
Tracking
verl/utils/tracking.py:24
↓ 2 callers
Class
DataParallelPPOActor
verl/workers/actor/dp_actor.py:39
↓ 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
verl/protocol.py:596
↓ 2 callers
Class
DigitCompletion
The implementation of a simple digit completion task. The prompt is a sequence of numbers with fixed difference. The task is to complete the
tests/e2e/envs/digit_completion/task.py:19
↓ 2 callers
Class
FlopsCounter
Used to count mfu during training loop Example: flops_counter = FlopsCounter(config) flops_achieved, flops_promised = flops_
verl/utils/flops_counter.py:51
↓ 2 callers
Class
MegatronPPOActor
verl/workers/actor/megatron_actor.py:48
↓ 2 callers
Class
ParallelLlamaDecoderLayerRmPad
verl/models/llama/megatron/layers/parallel_decoder.py:99
↓ 2 callers
Class
ParallelLlamaMLP
verl/models/llama/megatron/layers/parallel_mlp.py:31
↓ 2 callers
Class
RewardManager
The reward manager.
verl/trainer/main_ppo.py:39
↓ 2 callers
Class
RewardManager
examples/split_placement/main_ppo_split.py:33
↓ 2 callers
Class
State
verl/utils/seqlen_balancing.py:49
↓ 2 callers
Class
vLLMRollout
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
verl/trainer/ppo/core_algos.py:28
↓ 1 callers
Class
AllGatherPPModel
verl/workers/sharding_manager/megatron_vllm.py:35
↓ 1 callers
Class
BaseShardingManager
verl/workers/sharding_manager/base.py:21
↓ 1 callers
Class
CharTokenizer
tests/e2e/envs/digit_completion/tokenizer.py:29
↓ 1 callers
Class
DataParallelPPOCritic
verl/workers/critic/dp_critic.py:39
↓ 1 callers
Class
DataProtoItem
verl/protocol.py:157
↓ 1 callers
Class
DistGlobalInfo
verl/single_controller/base/worker.py:31
↓ 1 callers
Class
DistRankInfo
verl/single_controller/base/worker.py:24
↓ 1 callers
Class
FSDPSFTTrainer
verl/trainer/fsdp_sft_trainer.py:58
↓ 1 callers
Class
FSDPVLLMShardingManager
verl/workers/sharding_manager/fsdp_vllm.py:34
↓ 1 callers
Class
FakeTimers
Disable All Megatron Timing with FakeTimers
verl/utils/megatron_utils.py:215
↓ 1 callers
Class
FixedKLController
Fixed KL controller.
verl/trainer/ppo/core_algos.py:46
↓ 1 callers
Class
HFRollout
verl/workers/rollout/hf_rollout.py:35
↓ 1 callers
Class
HackSelf
tests/ray/test_driverfunc_to_worker.py:36
↓ 1 callers
Class
KKProcessor
eval_kk/kk_processor.py:149
↓ 1 callers
Class
LambdaLayer
verl/utils/model.py:28
↓ 1 callers
Class
LlamaDynamicNTKScalingRotaryEmbedding
LlamaRotaryEmbedding extended with Dynamic NTK scaling. Credits to the Reddit users /u/bloc97 and /u/emozilla
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
verl/models/llama/megatron/layers/parallel_attention.py:72
↓ 1 callers
Class
LlamaRotaryEmbedding
verl/models/llama/megatron/layers/parallel_attention.py:35
↓ 1 callers
Class
LocalLogger
verl/utils/logger/aggregate_logger.py:30
↓ 1 callers
Class
MegatronPPOCritic
verl/workers/critic/megatron_critic.py:41
↓ 1 callers
Class
MegatronRewardModel
verl/workers/reward_model/megatron/reward_model.py:37
↓ 1 callers
Class
MegatronVLLMShardingManager
verl/workers/sharding_manager/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
verl/utils/memory_buffer.py:24
↓ 1 callers
Class
MemoryBufferModuleWrapper
Note that we do not design MemoryBufferModuleWrapper as an nn.Module due to - It will change the checkpoint name
verl/utils/memory_buffer.py:140
↓ 1 callers
Class
MergedColumnParallelLinear
verl/models/llama/megatron/layers/parallel_linear.py:52
↓ 1 callers
Class
NVMegatronRayWorkerGroup
MegatronWorkerGroup will query each worker of its megatron rank info and store it inside the WorkerGroup so that the dispatcher can use it to
verl/single_controller/ray/megatron.py:25
↓ 1 callers
Class
NestedNamespace
verl/utils/py_functional.py:48
↓ 1 callers
Class
OptimizerConfig
Configuration for optimizer.
verl/utils/megatron/optimizer_config.py:23
↓ 1 callers
Class
ParallelLlamaAttention
Multi-headed attention from 'Attention Is All You Need' paper
verl/models/llama/megatron/layers/parallel_attention.py:143
↓ 1 callers
Class
ParallelLlamaAttentionRmPad
verl/models/llama/megatron/layers/parallel_attention.py:338
↓ 1 callers
Class
ParallelLlamaDecoderLayer
verl/models/llama/megatron/layers/parallel_decoder.py:33
↓ 1 callers
Class
ParallelLlamaForCausalLMRmPadPP
verl/models/llama/megatron/modeling_llama_megatron.py:514
↓ 1 callers
Class
ParallelLlamaModel
Transformer decoder consisting of *config.num_hidden_layers* layers. Each layer is a [`LlamaDecoderLayer`] Args: config: LlamaConfig
verl/models/llama/megatron/modeling_llama_megatron.py:72
↓ 1 callers
Class
ParallelLlamaModelRmPad
Transformer decoder consisting of *config.num_hidden_layers* layers. Each layer is a [`LlamaDecoderLayer`] Args: config: LlamaConfig
verl/models/llama/megatron/modeling_llama_megatron.py:215
↓ 1 callers
Class
ParallelLlamaModelRmPadPP
Transformer decoder consisting of *config.num_hidden_layers* layers. Each layer is a [`LlamaDecoderLayer`] This model definition supports pip
verl/models/llama/megatron/modeling_llama_megatron.py:400
↓ 1 callers
Class
QKVParallelLinear
verl/models/llama/megatron/layers/parallel_linear.py:21
↓ 1 callers
Class
RMDataset
verl/utils/dataset/rm_dataset.py:40
↓ 1 callers
Class
Set
verl/utils/seqlen_balancing.py:27
↓ 1 callers
Class
WorkerMeta
verl/single_controller/base/worker.py:70
↓ 1 callers
Class
_MlflowLoggingAdapter
verl/utils/tracking.py:65
Class
Actor
tests/ray/test_colocated_workers.py:25
Class
ActorRolloutRefWorker
This worker can be instantiated as a standalone actor or a standalone rollout or a standalone reference policy or a hybrid engine based on th
verl/workers/megatron_workers.py:63
Class
ActorRolloutRefWorker
This worker can be instantiated as a standalone actor or a standalone rollout or a standalone reference policy or a hybrid engine based on th
verl/workers/fsdp_workers.py:47
Class
BasePPOActor
verl/workers/actor/base.py:26
Class
BasePPOCritic
verl/workers/critic/base.py:26
Class
BasePPORewardModel
verl/workers/reward_model/base.py:23
Class
BaseRollout
verl/workers/rollout/base.py:23
Class
ClassWithInitArgs
This class stores a class constructor and the args/kwargs to construct the class. It is used to instantiate the remote class.
verl/single_controller/base/worker_group.py:60
Class
Critic
tests/ray/test_colocated_workers.py:37
Class
CriticWorker
verl/workers/megatron_workers.py:408
Class
CriticWorker
verl/workers/fsdp_workers.py:507
Class
Dispatch
verl/single_controller/base/decorator.py:25
Class
DummyWorker
tests/ray/test_data_transfer.py:37
Class
Execute
verl/single_controller/base/decorator.py:40
Class
Gather
verl/utils/ulysses.py:197
Class
HybridEngineBaseTokenizer
the tokenizer property and function name should align with HF's to meet vllm requirement
verl/workers/rollout/tokenizer.py:23
Class
MegatronMemoryBufferForRollout
We assume that - inference engine has tp + dp - actor has tp + pp + dp - the tp between inference engine and actor should be the same
verl/utils/memory_buffer.py:160
Class
MegatronRayWorkerGroup
MegatronWorkerGroup will query each worker of its megatron rank info and store it inside the WorkerGroup so that the dispatcher can use it to
verl/single_controller/ray/megatron.py:38
Class
MegatronWorker
verl/single_controller/base/megatron/worker.py:20
Class
MegatronWorkerGroup
verl/single_controller/base/megatron/worker_group.py:21
Class
MemoryBuffer
verl/utils/megatron/memory.py:18
Class
ModelActor
tests/ray/test_driverfunc_to_worker.py:30
Class
ModelRegistry
verl/models/registry.py:46
Class
NCCLIDStore
verl/utils/rendezvous/ray_backend.py:25
Class
NaiveRollout
verl/workers/rollout/naive/naive_rollout.py:36
Class
ParallelLlamaForCausalLM
verl/models/llama/megatron/modeling_llama_megatron.py:155
Class
ParallelLlamaForCausalLMRmPad
verl/models/llama/megatron/modeling_llama_megatron.py:279
Class
ParallelLlamaForValueRmPad
verl/models/llama/megatron/modeling_llama_megatron.py:366
Class
ParallelLlamaForValueRmPadPP
verl/models/llama/megatron/modeling_llama_megatron.py:626
Class
PrecisionType
Type of precision used. >>> PrecisionType.HALF == 16 True >>> PrecisionType.HALF in (16, "16") True
verl/utils/torch_dtypes.py:27
Class
ResourcePool
verl/single_controller/base/worker_group.py:26
Class
RewardModelWorker
Note that we only implement the reward model that is subclass of AutoModelForSequenceClassification.
verl/workers/megatron_workers.py:576
Class
RewardModelWorker
Note that we only implement the reward model that is subclass of AutoModelForTokenClassification.
verl/workers/fsdp_workers.py:765
Class
Role
To create more roles dynamically, you can subclass Role and add new members
verl/trainer/ppo/ray_trainer.py:42
Class
SeqAllToAll
verl/utils/ulysses.py:164
Class
TestActor
tests/ray/test_high_level_scheduling_api.py:24
Class
TestActor
tests/ray/test_ray_local_envs.py:26
next →
1–100 of 113, ranked by callers