Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/McGill-NLP/the-markovian-thinker
/ types & classes
Types & classes
332 in github.com/McGill-NLP/the-markovian-thinker
⨍
Functions
2,081
◇
Types & classes
332
↳
Endpoints
60
↓ 26 callers
Class
ToolResponse
The response from a tool execution.
verl/tools/schemas.py:94
↓ 17 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:310
↓ 16 callers
Class
RayClassWithInitArgs
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 callers
Class
DistProfiler
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 callers
Class
ParallelLlamaRMSNorm
verl/models/llama/megatron/layers/parallel_rmsnorm.py:26
↓ 7 callers
Class
ParallelQwen2RMSNorm
verl/models/qwen2/megatron/layers/parallel_rmsnorm.py:26
↓ 5 callers
Class
FSDPCheckpointManager
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 callers
Class
FSDPUlyssesShardingManager
Sharding manager to support data resharding when using FSDP + Ulysses
verl/workers/sharding_manager/fsdp_ulysses.py:27
↓ 5 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:99
↓ 5 callers
Class
ProfilerConfig
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 callers
Class
Tracking
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 callers
Class
McoreModuleWrapperConfig
Configuration for Mcore module wrapper.
verl/utils/megatron_utils.py:163
↓ 3 callers
Class
AsyncRolloutRequest
The data model for async rollout.
verl/workers/rollout/schemas.py:81
↓ 3 callers
Class
CausalLMOutputForPPO
verl/models/transformers/dense_common.py:24
↓ 3 callers
Class
FSDPSGLangShardingManager
verl/workers/sharding_manager/fsdp_sglang.py:43
↓ 3 callers
Class
FusedLinearForPPO
verl/utils/experimental/torch_functional.py:196
↓ 3 callers
Class
LinearForLastLayer
verl/models/llama/megatron/layers/parallel_linear.py:82
↓ 3 callers
Class
Message
verl/workers/rollout/schemas.py:56
↓ 3 callers
Class
MultiWorkerRewardManager
verl/workers/fsdp_workers_with_reward.py:59
↓ 3 callers
Class
RayResourcePool
verl/single_controller/ray/base.py:91
↓ 3 callers
Class
RolloutSkip
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 callers
Class
AgentLoopManager
Agent loop manager that manages a group of agent loop workers.
verl/experimental/agent_loop/agent_loop.py:761
↓ 2 callers
Class
AgentLoopManagerWithCustomWorker
verl/experimental/agent_loop/agent_loop.py:914
↓ 2 callers
Class
AgentLoopOutput
Agent loop output.
verl/experimental/agent_loop/agent_loop.py:207
↓ 2 callers
Class
AsyncEngine
verl/workers/rollout/sglang_rollout/sglang_rollout_custom.py:54
↓ 2 callers
Class
CustomSGLangRollout
verl/workers/rollout/sglang_rollout/sglang_rollout_custom.py:160
↓ 2 callers
Class
DataParallelPPOActor
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 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:1052
↓ 2 callers
Class
KeepingFSDPCheckpointManager
verl/utils/checkpoint/fsdp_checkpoint_manager.py:396
↓ 2 callers
Class
LoadingParams
verl/tasks/task.py:143
↓ 2 callers
Class
MegatronCheckpointManager
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 callers
Class
MegatronPPOActor
verl/workers/actor/megatron_actor.py:58
↓ 2 callers
Class
ModelMergerConfig
scripts/legacy_model_merger.py:75
↓ 2 callers
Class
ModelMergerConfig
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 callers
Class
ParallelLlamaDecoderLayerRmPad
verl/models/llama/megatron/layers/parallel_decoder.py:102
↓ 2 callers
Class
ParallelLlamaMLP
verl/models/llama/megatron/layers/parallel_mlp.py:30
↓ 2 callers
Class
ParallelQwen2DecoderLayerRmPad
verl/models/qwen2/megatron/layers/parallel_decoder.py:102
↓ 2 callers
Class
ParallelQwen2MLP
verl/models/qwen2/megatron/layers/parallel_mlp.py:30
↓ 2 callers
Class
Qwen2VLCausalLMOutputForPPO
verl/models/transformers/qwen2_vl.py:338
↓ 2 callers
Class
Qwen2_5_VLCausalLMOutputForPPO
verl/models/transformers/qwen2_5_vl.py:28
↓ 2 callers
Class
RayWorkerGroup
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 callers
Class
ResourcePoolManager
Define a resource pool specification. Resource pool will be initialized first.
verl/trainer/ppo/ray_trainer.py:83
↓ 2 callers
Class
SGLangRollout
verl/workers/rollout/sglang_rollout/sglang_rollout.py:255
↓ 2 callers
Class
State
verl/utils/seqlen_balancing.py:49
↓ 2 callers
Class
_DummyConfig
verl/experimental/agent_loop/agent_loop.py:246
↓ 2 callers
Class
_InternalAgentLoopOutput
Internal agent loop output with padded sequences.
verl/experimental/agent_loop/agent_loop.py:224
↓ 1 callers
Class
ActivationHandler
verl/utils/activation_offload.py:416
↓ 1 callers
Class
AdaptiveKLController
Adaptive KL controller described in the paper: https://arxiv.org/pdf/1909.08593.pdf
verl/trainer/ppo/core_algos.py:146
↓ 1 callers
Class
AsyncDoubleBufferGroupOffloadHandler
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 callers
Class
AsyncEngine
verl/workers/rollout/sglang_rollout/sglang_rollout.py:127
↓ 1 callers
Class
AsyncLLMServerManager
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 callers
Class
AsyncLLMServerManagerLeastInFlight
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 callers
Class
BaseShardingManager
verl/workers/sharding_manager/base.py:21
↓ 1 callers
Class
Capturing
verl/utils/reward_score/prime_code/testing_util.py:55
↓ 1 callers
Class
ClearMLLogger
verl/utils/tracking.py:156
↓ 1 callers
Class
Config
Configuration for efficient entropy kernel operations. Args: _backward (BackwardEnum): Backward computation method. Defaults to BackwardE
verl/utils/kernel/kernels.py:130
↓ 1 callers
Class
CpuOffloadHookWithOffloadHandler
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 callers
Class
DataParallelPPOCritic
verl/workers/critic/dp_critic.py:46
↓ 1 callers
Class
DataProtoItem
verl/protocol.py:302
↓ 1 callers
Class
EngineEvalModeCtx
verl/workers/engine/fsdp/engine_impl.py:687
↓ 1 callers
Class
EngineTrainModeCtx
verl/workers/engine/fsdp/engine_impl.py:706
↓ 1 callers
Class
FSDPConfig
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 callers
Class
FSDPEngineConfig
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 callers
Class
FSDPModelMerger
scripts/legacy_model_merger.py:230
↓ 1 callers
Class
FSDPModelMerger
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 callers
Class
FSDPParameterFilter
verl/utils/activation_offload.py:40
↓ 1 callers
Class
FSDPSFTTrainer
verl/trainer/fsdp_sft_trainer.py:93
↓ 1 callers
Class
FSDPVLLMShardingManager
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 callers
Class
FixedKLController
Fixed KL controller.
verl/trainer/ppo/core_algos.py:170
↓ 1 callers
Class
FunctionCall
verl/experimental/agent_loop/tool_parser.py:29
↓ 1 callers
Class
HFRollout
verl/workers/rollout/hf_rollout.py:39
↓ 1 callers
Class
Highlighter
scripts/rollout_viewer.py:83
↓ 1 callers
Class
JsonLineViewer
scripts/rollout_viewer.py:129
↓ 1 callers
Class
LambdaLayer
verl/utils/model.py:41
↓ 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:93
↓ 1 callers
Class
LlamaLinearScalingRotaryEmbedding
LlamaRotaryEmbedding extended with linear scaling. Credits to the Reddit user /u/kaiokendev
verl/models/llama/megatron/layers/parallel_attention.py:74
↓ 1 callers
Class
LlamaLlama3ScalingRotaryEmbedding
verl/models/llama/megatron/layers/parallel_attention.py:119
↓ 1 callers
Class
LlamaRotaryEmbedding
verl/models/llama/megatron/layers/parallel_attention.py:38
↓ 1 callers
Class
LocalLogger
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 callers
Class
MCPClientManager
verl/tools/utils/mcp_clients/McpClientManager.py:28
↓ 1 callers
Class
MegatronModelMerger
scripts/legacy_model_merger.py:415
↓ 1 callers
Class
MegatronModelMerger
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 callers
Class
MegatronPPOCritic
verl/workers/critic/megatron_critic.py:46
↓ 1 callers
Class
MegatronRewardModel
verl/workers/reward_model/megatron/reward_model.py:34
↓ 1 callers
Class
MegatronSGLangShardingManager
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 callers
Class
MegatronVLLMShardingManager
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 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:26
↓ 1 callers
Class
MergedColumnParallelLinear
verl/models/qwen2/megatron/layers/parallel_linear.py:54
↓ 1 callers
Class
MergedColumnParallelLinear
verl/models/llama/megatron/layers/parallel_linear.py:54
↓ 1 callers
Class
NestedNamespace
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 callers
Class
OpenAIFunctionCallSchema
The parsed schema of a tool in OpenAI format.
verl/tools/schemas.py:62
↓ 1 callers
Class
OpenAIFunctionParametersSchema
The schema of parameters in OpenAI format.
verl/tools/schemas.py:29
↓ 1 callers
Class
OpenAIFunctionParsedSchema
The parsed schema of a tool in OpenAI format.
verl/tools/schemas.py:55
↓ 1 callers
Class
OpenAIFunctionToolCall
The tool call in OpenAI format.
verl/tools/schemas.py:86
↓ 1 callers
Class
OptimizerConfig
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 callers
Class
ParallelLlamaAttention
Multi-headed attention from 'Attention Is All You Need' paper
verl/models/llama/megatron/layers/parallel_attention.py:179
↓ 1 callers
Class
ParallelLlamaAttentionRmPad
verl/models/llama/megatron/layers/parallel_attention.py:380
↓ 1 callers
Class
ParallelLlamaDecoderLayer
verl/models/llama/megatron/layers/parallel_decoder.py:35
↓ 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:74
↓ 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:223
next →
1–100 of 332, ranked by callers