MCPcopy Create free account

hub / github.com/McGill-NLP/the-markovian-thinker / types & classes

Types & classes332 in github.com/McGill-NLP/the-markovian-thinker

↓ 26 callersClassToolResponse
The response from a tool execution.
verl/tools/schemas.py:94
↓ 17 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:310
↓ 16 callersClassRayClassWithInitArgs
A wrapper class for Ray actors with initialization arguments. This class extends ClassWithInitArgs to provide additional functionality for co
verl/single_controller/ray/base.py:182
↓ 7 callersClassDistProfiler
A distributed profiler class for collecting performance metrics across multiple ranks. This profiler is designed to work in distributed training
verl/utils/profiler/profile.py:174
↓ 7 callersClassParallelLlamaRMSNorm
verl/models/llama/megatron/layers/parallel_rmsnorm.py:26
↓ 7 callersClassParallelQwen2RMSNorm
verl/models/qwen2/megatron/layers/parallel_rmsnorm.py:26
↓ 5 callersClassFSDPCheckpointManager
Manage FSDP checkpointing in SPMD training. - Saves/loads per-rank sharded model & optimizer states - Persists full lr_scheduler and RNG
verl/utils/checkpoint/fsdp_checkpoint_manager.py:98
↓ 5 callersClassFSDPUlyssesShardingManager
Sharding manager to support data resharding when using FSDP + Ulysses
verl/workers/sharding_manager/fsdp_ulysses.py:27
↓ 5 callersClassFlopsCounter
Used to count mfu during training loop Example: flops_counter = FlopsCounter(config) flops_achieved, flops_promised = flops_
verl/utils/flops_counter.py:99
↓ 5 callersClassProfilerConfig
Worker profiler config. The inheritance from BaseConfig provides omegaconf.DictConfig-like interface for a dataclass config. Args: d
verl/utils/profiler/config.py:81
↓ 5 callersClassTracking
A unified tracking interface for logging experiment data to multiple backends. This class provides a centralized way to log experiment metrics, p
verl/utils/tracking.py:26
↓ 4 callersClassMcoreModuleWrapperConfig
Configuration for Mcore module wrapper.
verl/utils/megatron_utils.py:163
↓ 3 callersClassAsyncRolloutRequest
The data model for async rollout.
verl/workers/rollout/schemas.py:81
↓ 3 callersClassCausalLMOutputForPPO
verl/models/transformers/dense_common.py:24
↓ 3 callersClassFSDPSGLangShardingManager
verl/workers/sharding_manager/fsdp_sglang.py:43
↓ 3 callersClassFusedLinearForPPO
verl/utils/experimental/torch_functional.py:196
↓ 3 callersClassLinearForLastLayer
verl/models/llama/megatron/layers/parallel_linear.py:82
↓ 3 callersClassMessage
verl/workers/rollout/schemas.py:56
↓ 3 callersClassMultiWorkerRewardManager
verl/workers/fsdp_workers_with_reward.py:59
↓ 3 callersClassRayResourcePool
verl/single_controller/ray/base.py:91
↓ 3 callersClassRolloutSkip
RolloutSkip skips sequence generation during rollout by attempting to load previously dumped data. If no dumped data is found, it generates n
verl/utils/rollout_skip.py:19
↓ 2 callersClassAgentLoopManager
Agent loop manager that manages a group of agent loop workers.
verl/experimental/agent_loop/agent_loop.py:761
↓ 2 callersClassAgentLoopManagerWithCustomWorker
verl/experimental/agent_loop/agent_loop.py:914
↓ 2 callersClassAgentLoopOutput
Agent loop output.
verl/experimental/agent_loop/agent_loop.py:207
↓ 2 callersClassAsyncEngine
verl/workers/rollout/sglang_rollout/sglang_rollout_custom.py:54
↓ 2 callersClassCustomSGLangRollout
verl/workers/rollout/sglang_rollout/sglang_rollout_custom.py:160
↓ 2 callersClassDataParallelPPOActor
FSDP DataParallel PPO Actor or Ref worker Args: config (ActorConfig): Actor config actor_module (nn.Module): Actor or ref module
verl/workers/actor/dp_actor.py:54
↓ 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:1052
↓ 2 callersClassKeepingFSDPCheckpointManager
verl/utils/checkpoint/fsdp_checkpoint_manager.py:396
↓ 2 callersClassLoadingParams
verl/tasks/task.py:143
↓ 2 callersClassMegatronCheckpointManager
Checkpoint manager for Megatron-LM distributed training. This class manages the saving and loading of model checkpoints in a Megatron-LM
verl/utils/checkpoint/megatron_checkpoint_manager.py:48
↓ 2 callersClassMegatronPPOActor
verl/workers/actor/megatron_actor.py:58
↓ 2 callersClassModelMergerConfig
scripts/legacy_model_merger.py:75
↓ 2 callersClassModelMergerConfig
Configuration for model merger operations. Args: operation (str): Operation type - 'merge' or 'test'. backend (str): Backend type
verl/model_merger/base_model_merger.py:84
↓ 2 callersClassParallelLlamaDecoderLayerRmPad
verl/models/llama/megatron/layers/parallel_decoder.py:102
↓ 2 callersClassParallelLlamaMLP
verl/models/llama/megatron/layers/parallel_mlp.py:30
↓ 2 callersClassParallelQwen2DecoderLayerRmPad
verl/models/qwen2/megatron/layers/parallel_decoder.py:102
↓ 2 callersClassParallelQwen2MLP
verl/models/qwen2/megatron/layers/parallel_mlp.py:30
↓ 2 callersClassQwen2VLCausalLMOutputForPPO
verl/models/transformers/qwen2_vl.py:338
↓ 2 callersClassQwen2_5_VLCausalLMOutputForPPO
verl/models/transformers/qwen2_5_vl.py:28
↓ 2 callersClassRayWorkerGroup
A group of Ray workers that can be managed collectively. This class extends WorkerGroup to provide Ray-specific functionality for creating an
verl/single_controller/ray/base.py:262
↓ 2 callersClassResourcePoolManager
Define a resource pool specification. Resource pool will be initialized first.
verl/trainer/ppo/ray_trainer.py:83
↓ 2 callersClassSGLangRollout
verl/workers/rollout/sglang_rollout/sglang_rollout.py:255
↓ 2 callersClassState
verl/utils/seqlen_balancing.py:49
↓ 2 callersClass_DummyConfig
verl/experimental/agent_loop/agent_loop.py:246
↓ 2 callersClass_InternalAgentLoopOutput
Internal agent loop output with padded sequences.
verl/experimental/agent_loop/agent_loop.py:224
↓ 1 callersClassActivationHandler
verl/utils/activation_offload.py:416
↓ 1 callersClassAdaptiveKLController
Adaptive KL controller described in the paper: https://arxiv.org/pdf/1909.08593.pdf
verl/trainer/ppo/core_algos.py:146
↓ 1 callersClassAsyncDoubleBufferGroupOffloadHandler
Compared to synchronize, this uses more memory because of the buffer but achieves better performance due to the overlapping. D2h and h2d copying a
verl/utils/activation_offload.py:221
↓ 1 callersClassAsyncEngine
verl/workers/rollout/sglang_rollout/sglang_rollout.py:127
↓ 1 callersClassAsyncLLMServerManager
A class to manage multiple OpenAI compatible LLM servers. This class provides - Load balance: least requests load balancing - Sticky sess
verl/experimental/agent_loop/agent_loop.py:47
↓ 1 callersClassAsyncLLMServerManagerLeastInFlight
A class to manage multiple OpenAI-compatible LLM servers with *least in-flight requests* load balancing while preserving sticky sessions.
verl/experimental/agent_loop/agent_loop.py:113
↓ 1 callersClassBaseShardingManager
verl/workers/sharding_manager/base.py:21
↓ 1 callersClassCapturing
verl/utils/reward_score/prime_code/testing_util.py:55
↓ 1 callersClassClearMLLogger
verl/utils/tracking.py:156
↓ 1 callersClassConfig
Configuration for efficient entropy kernel operations. Args: _backward (BackwardEnum): Backward computation method. Defaults to BackwardE
verl/utils/kernel/kernels.py:130
↓ 1 callersClassCpuOffloadHookWithOffloadHandler
Context-manager that offloads/recovers tensors through an offload hander. The hook just offloads/recovers the tensor object to the handler throug
verl/utils/activation_offload.py:54
↓ 1 callersClassDataParallelPPOCritic
verl/workers/critic/dp_critic.py:46
↓ 1 callersClassDataProtoItem
verl/protocol.py:302
↓ 1 callersClassEngineEvalModeCtx
verl/workers/engine/fsdp/engine_impl.py:687
↓ 1 callersClassEngineTrainModeCtx
verl/workers/engine/fsdp/engine_impl.py:706
↓ 1 callersClassFSDPConfig
Configuration for FSDP checkpointing. Args: FSDP_version (int): Version of FSDP being used. world_size (int): Number of processes
verl/utils/checkpoint/fsdp_checkpoint_manager.py:86
↓ 1 callersClassFSDPEngineConfig
Configuration for FSDP (Fully Sharded Data Parallel). The inheritance from BaseConfig provides omegaconf.DictConfig-like interface for a dataclas
verl/workers/config/engine.py:80
↓ 1 callersClassFSDPModelMerger
scripts/legacy_model_merger.py:230
↓ 1 callersClassFSDPModelMerger
Model merger for FSDP (Fully Sharded Data Parallel) checkpoints. This class handles the conversion of FSDP distributed checkpoints into Hugg
verl/model_merger/fsdp_model_merger.py:35
↓ 1 callersClassFSDPParameterFilter
verl/utils/activation_offload.py:40
↓ 1 callersClassFSDPSFTTrainer
verl/trainer/fsdp_sft_trainer.py:93
↓ 1 callersClassFSDPVLLMShardingManager
Sharding manager for FSDP models with vLLM inference engine integration. Manages parameter synchronization between FSDP training models and vLLM
verl/workers/sharding_manager/fsdp_vllm.py:55
↓ 1 callersClassFixedKLController
Fixed KL controller.
verl/trainer/ppo/core_algos.py:170
↓ 1 callersClassFunctionCall
verl/experimental/agent_loop/tool_parser.py:29
↓ 1 callersClassHFRollout
verl/workers/rollout/hf_rollout.py:39
↓ 1 callersClassHighlighter
scripts/rollout_viewer.py:83
↓ 1 callersClassJsonLineViewer
scripts/rollout_viewer.py:129
↓ 1 callersClassLambdaLayer
verl/utils/model.py:41
↓ 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:93
↓ 1 callersClassLlamaLinearScalingRotaryEmbedding
LlamaRotaryEmbedding extended with linear scaling. Credits to the Reddit user /u/kaiokendev
verl/models/llama/megatron/layers/parallel_attention.py:74
↓ 1 callersClassLlamaLlama3ScalingRotaryEmbedding
verl/models/llama/megatron/layers/parallel_attention.py:119
↓ 1 callersClassLlamaRotaryEmbedding
verl/models/llama/megatron/layers/parallel_attention.py:38
↓ 1 callersClassLocalLogger
A local logger that logs messages to the console. Args: print_to_console (bool): Whether to print to the console.
verl/utils/logger/aggregate_logger.py:35
↓ 1 callersClassMCPClientManager
verl/tools/utils/mcp_clients/McpClientManager.py:28
↓ 1 callersClassMegatronModelMerger
scripts/legacy_model_merger.py:415
↓ 1 callersClassMegatronModelMerger
Model merger for Megatron-LM distributed checkpoints. This class handles the conversion of Megatron-LM distributed checkpoints into HuggingF
verl/model_merger/megatron_model_merger.py:93
↓ 1 callersClassMegatronPPOCritic
verl/workers/critic/megatron_critic.py:46
↓ 1 callersClassMegatronRewardModel
verl/workers/reward_model/megatron/reward_model.py:34
↓ 1 callersClassMegatronSGLangShardingManager
A sharding manager for Megatron-style training & inference with SGLang. This class manages the sharding of model parameters between training and
verl/workers/sharding_manager/megatron_sglang.py:57
↓ 1 callersClassMegatronVLLMShardingManager
A sharding manager that bridges Megatron-LM training with vLLM inference. This class handles the parameter sharding and communication between:
verl/workers/sharding_manager/megatron_vllm.py:57
↓ 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:26
↓ 1 callersClassMergedColumnParallelLinear
verl/models/qwen2/megatron/layers/parallel_linear.py:54
↓ 1 callersClassMergedColumnParallelLinear
verl/models/llama/megatron/layers/parallel_linear.py:54
↓ 1 callersClassNestedNamespace
A nested version of SimpleNamespace that recursively converts dictionaries to namespaces. This class allows for dot notation access to nested dic
verl/utils/py_functional.py:184
↓ 1 callersClassOpenAIFunctionCallSchema
The parsed schema of a tool in OpenAI format.
verl/tools/schemas.py:62
↓ 1 callersClassOpenAIFunctionParametersSchema
The schema of parameters in OpenAI format.
verl/tools/schemas.py:29
↓ 1 callersClassOpenAIFunctionParsedSchema
The parsed schema of a tool in OpenAI format.
verl/tools/schemas.py:55
↓ 1 callersClassOpenAIFunctionToolCall
The tool call in OpenAI format.
verl/tools/schemas.py:86
↓ 1 callersClassOptimizerConfig
Base optimizer configuration. Args: lr (float): learning rate. Must be specified. lr_warmup_steps_ratio (float): Warmup steps rat
verl/workers/config/optimizer.py:26
↓ 1 callersClassParallelLlamaAttention
Multi-headed attention from 'Attention Is All You Need' paper
verl/models/llama/megatron/layers/parallel_attention.py:179
↓ 1 callersClassParallelLlamaAttentionRmPad
verl/models/llama/megatron/layers/parallel_attention.py:380
↓ 1 callersClassParallelLlamaDecoderLayer
verl/models/llama/megatron/layers/parallel_decoder.py:35
↓ 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:74
↓ 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:223
next →1–100 of 332, ranked by callers