MCPcopy Create free account

hub / github.com/Unakar/Logic-RL / types & classes

Types & classes113 in github.com/Unakar/Logic-RL

↓ 22 callersClassDataProto
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 callersClassRayClassWithInitArgs
verl/single_controller/ray/base.py:128
↓ 19 callersClassRayWorkerGroup
verl/single_controller/ray/base.py:176
↓ 15 callersClassRayResourcePool
verl/single_controller/ray/base.py:49
↓ 7 callersClassParallelLlamaRMSNorm
verl/models/llama/megatron/layers/parallel_rmsnorm.py:25
↓ 5 callersClassFSDPUlyssesShardingManager
Sharding manager to support data resharding when using FSDP + Ulysses
verl/workers/sharding_manager/fsdp_ulysses.py:33
↓ 4 callersClassSFTDataset
This is an in-memory SFTDataset
verl/utils/dataset/sft_dataset.py:34
↓ 3 callersClassRLHFDataset
We assume the dataset contains a column that contains prompts and other information
verl/utils/dataset/rl_dataset.py:58
↓ 3 callersClassRayPPOTrainer
Note that this trainer runs on the driver process on a single CPU/GPU node.
verl/trainer/ppo/ray_trainer.py:321
↓ 3 callersClassResourcePoolManager
Define a resource pool specification. Resource pool will be initialized first. Mapping
verl/trainer/ppo/ray_trainer.py:56
↓ 3 callersClassTracking
verl/utils/tracking.py:24
↓ 2 callersClassDataParallelPPOActor
verl/workers/actor/dp_actor.py:39
↓ 2 callersClassDataProtoFuture
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 callersClassDigitCompletion
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 callersClassFlopsCounter
Used to count mfu during training loop Example: flops_counter = FlopsCounter(config) flops_achieved, flops_promised = flops_
verl/utils/flops_counter.py:51
↓ 2 callersClassMegatronPPOActor
verl/workers/actor/megatron_actor.py:48
↓ 2 callersClassParallelLlamaDecoderLayerRmPad
verl/models/llama/megatron/layers/parallel_decoder.py:99
↓ 2 callersClassParallelLlamaMLP
verl/models/llama/megatron/layers/parallel_mlp.py:31
↓ 2 callersClassRewardManager
The reward manager.
verl/trainer/main_ppo.py:39
↓ 2 callersClassRewardManager
examples/split_placement/main_ppo_split.py:33
↓ 2 callersClassState
verl/utils/seqlen_balancing.py:49
↓ 2 callersClassvLLMRollout
verl/workers/rollout/vllm_rollout/vllm_rollout.py:57
↓ 1 callersClassAdaptiveKLController
Adaptive KL controller described in the paper: https://arxiv.org/pdf/1909.08593.pdf
verl/trainer/ppo/core_algos.py:28
↓ 1 callersClassAllGatherPPModel
verl/workers/sharding_manager/megatron_vllm.py:35
↓ 1 callersClassBaseShardingManager
verl/workers/sharding_manager/base.py:21
↓ 1 callersClassCharTokenizer
tests/e2e/envs/digit_completion/tokenizer.py:29
↓ 1 callersClassDataParallelPPOCritic
verl/workers/critic/dp_critic.py:39
↓ 1 callersClassDataProtoItem
verl/protocol.py:157
↓ 1 callersClassDistGlobalInfo
verl/single_controller/base/worker.py:31
↓ 1 callersClassDistRankInfo
verl/single_controller/base/worker.py:24
↓ 1 callersClassFSDPSFTTrainer
verl/trainer/fsdp_sft_trainer.py:58
↓ 1 callersClassFSDPVLLMShardingManager
verl/workers/sharding_manager/fsdp_vllm.py:34
↓ 1 callersClassFakeTimers
Disable All Megatron Timing with FakeTimers
verl/utils/megatron_utils.py:215
↓ 1 callersClassFixedKLController
Fixed KL controller.
verl/trainer/ppo/core_algos.py:46
↓ 1 callersClassHFRollout
verl/workers/rollout/hf_rollout.py:35
↓ 1 callersClassHackSelf
tests/ray/test_driverfunc_to_worker.py:36
↓ 1 callersClassKKProcessor
eval_kk/kk_processor.py:149
↓ 1 callersClassLambdaLayer
verl/utils/model.py:28
↓ 1 callersClassLlamaDynamicNTKScalingRotaryEmbedding
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 callersClassLlamaLinearScalingRotaryEmbedding
LlamaRotaryEmbedding extended with linear scaling. Credits to the Reddit user /u/kaiokendev
verl/models/llama/megatron/layers/parallel_attention.py:72
↓ 1 callersClassLlamaRotaryEmbedding
verl/models/llama/megatron/layers/parallel_attention.py:35
↓ 1 callersClassLocalLogger
verl/utils/logger/aggregate_logger.py:30
↓ 1 callersClassMegatronPPOCritic
verl/workers/critic/megatron_critic.py:41
↓ 1 callersClassMegatronRewardModel
verl/workers/reward_model/megatron/reward_model.py:37
↓ 1 callersClassMegatronVLLMShardingManager
verl/workers/sharding_manager/megatron_vllm.py:238
↓ 1 callersClassMemoryBuffer
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 callersClassMemoryBufferModuleWrapper
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 callersClassMergedColumnParallelLinear
verl/models/llama/megatron/layers/parallel_linear.py:52
↓ 1 callersClassNVMegatronRayWorkerGroup
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 callersClassNestedNamespace
verl/utils/py_functional.py:48
↓ 1 callersClassOptimizerConfig
Configuration for optimizer.
verl/utils/megatron/optimizer_config.py:23
↓ 1 callersClassParallelLlamaAttention
Multi-headed attention from 'Attention Is All You Need' paper
verl/models/llama/megatron/layers/parallel_attention.py:143
↓ 1 callersClassParallelLlamaAttentionRmPad
verl/models/llama/megatron/layers/parallel_attention.py:338
↓ 1 callersClassParallelLlamaDecoderLayer
verl/models/llama/megatron/layers/parallel_decoder.py:33
↓ 1 callersClassParallelLlamaForCausalLMRmPadPP
verl/models/llama/megatron/modeling_llama_megatron.py:514
↓ 1 callersClassParallelLlamaModel
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 callersClassParallelLlamaModelRmPad
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 callersClassParallelLlamaModelRmPadPP
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 callersClassQKVParallelLinear
verl/models/llama/megatron/layers/parallel_linear.py:21
↓ 1 callersClassRMDataset
verl/utils/dataset/rm_dataset.py:40
↓ 1 callersClassSet
verl/utils/seqlen_balancing.py:27
↓ 1 callersClassWorkerMeta
verl/single_controller/base/worker.py:70
↓ 1 callersClass_MlflowLoggingAdapter
verl/utils/tracking.py:65
ClassActor
tests/ray/test_colocated_workers.py:25
ClassActorRolloutRefWorker
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
ClassActorRolloutRefWorker
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
ClassBasePPOActor
verl/workers/actor/base.py:26
ClassBasePPOCritic
verl/workers/critic/base.py:26
ClassBasePPORewardModel
verl/workers/reward_model/base.py:23
ClassBaseRollout
verl/workers/rollout/base.py:23
ClassClassWithInitArgs
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
ClassCritic
tests/ray/test_colocated_workers.py:37
ClassCriticWorker
verl/workers/megatron_workers.py:408
ClassCriticWorker
verl/workers/fsdp_workers.py:507
ClassDispatch
verl/single_controller/base/decorator.py:25
ClassDummyWorker
tests/ray/test_data_transfer.py:37
ClassExecute
verl/single_controller/base/decorator.py:40
ClassGather
verl/utils/ulysses.py:197
ClassHybridEngineBaseTokenizer
the tokenizer property and function name should align with HF's to meet vllm requirement
verl/workers/rollout/tokenizer.py:23
ClassMegatronMemoryBufferForRollout
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
ClassMegatronRayWorkerGroup
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
ClassMegatronWorker
verl/single_controller/base/megatron/worker.py:20
ClassMegatronWorkerGroup
verl/single_controller/base/megatron/worker_group.py:21
ClassMemoryBuffer
verl/utils/megatron/memory.py:18
ClassModelActor
tests/ray/test_driverfunc_to_worker.py:30
ClassModelRegistry
verl/models/registry.py:46
ClassNCCLIDStore
verl/utils/rendezvous/ray_backend.py:25
ClassNaiveRollout
verl/workers/rollout/naive/naive_rollout.py:36
ClassParallelLlamaForCausalLM
verl/models/llama/megatron/modeling_llama_megatron.py:155
ClassParallelLlamaForCausalLMRmPad
verl/models/llama/megatron/modeling_llama_megatron.py:279
ClassParallelLlamaForValueRmPad
verl/models/llama/megatron/modeling_llama_megatron.py:366
ClassParallelLlamaForValueRmPadPP
verl/models/llama/megatron/modeling_llama_megatron.py:626
ClassPrecisionType
Type of precision used. >>> PrecisionType.HALF == 16 True >>> PrecisionType.HALF in (16, "16") True
verl/utils/torch_dtypes.py:27
ClassResourcePool
verl/single_controller/base/worker_group.py:26
ClassRewardModelWorker
Note that we only implement the reward model that is subclass of AutoModelForSequenceClassification.
verl/workers/megatron_workers.py:576
ClassRewardModelWorker
Note that we only implement the reward model that is subclass of AutoModelForTokenClassification.
verl/workers/fsdp_workers.py:765
ClassRole
To create more roles dynamically, you can subclass Role and add new members
verl/trainer/ppo/ray_trainer.py:42
ClassSeqAllToAll
verl/utils/ulysses.py:164
ClassTestActor
tests/ray/test_high_level_scheduling_api.py:24
ClassTestActor
tests/ray/test_ray_local_envs.py:26
next →1–100 of 113, ranked by callers