MCPcopy Create free account

hub / github.com/InternLM/InternBootcamp / types & classes

Types & classes3,617 in github.com/InternLM/InternBootcamp

↓ 71 callersClassRayClassWithInitArgs
A wrapper class for Ray actors with initialization arguments. This class extends ClassWithInitArgs to provide additional functionality for co
verl/verl/single_controller/ray/base.py:317
↓ 54 callersClassRayWorkerGroup
A group of Ray workers that can be managed collectively. This class extends WorkerGroup to provide Ray-specific functionality for creating an
verl/verl/single_controller/ray/base.py:397
↓ 38 callersClassRayResourcePool
verl/verl/single_controller/ray/base.py:98
↓ 37 callersClassToolResponse
The response from a tool execution.
verl/verl/tools/schemas.py:94
↓ 35 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/verl/protocol.py:329
↓ 30 callersClassHttpServerAdapter
HTTP-based adapter for SGLang engines. This adapter allows interaction with SGLang engines through HTTP requests instead of direct engine cal
verl/verl/workers/rollout/sglang_rollout/http_server_engine.py:194
↓ 28 callersClassDistProfiler
A dispatcher that delegates to specific profilers based on config.tool. Supported tools: - nsys: NsightSystemsProfiler - npu: NPUProfiler
verl/verl/utils/profiler/profile.py:72
↓ 27 callersClassMetric
A metric aggregator for collecting and aggregating numeric values. This class accumulates numeric values (int, float, or scalar tensors) and
verl/verl/utils/metric/utils.py:72
↓ 21 callersClassProfilerConfig
Worker profiler config. The inheritance from BaseConfig provides omegaconf.DictConfig-like interface for a dataclass config. Args: d
verl/verl/utils/profiler/config.py:108
↓ 18 callersClassAsyncTokenBucket
Async token bucket for rate limiting with variable token consumption. The token bucket algorithm is a classic rate limiting technique that allows
verl/verl/experimental/reward_loop/reward_manager/limited.py:32
↓ 16 callersClassCriticConfig
Configuration for critic model training. The inheritance from BaseConfig provides omegaconf.DictConfig-like interface for a dataclass config.
verl/verl/workers/config/critic.py:33
↓ 15 callersClassFSDPOptimizerConfig
FSDP optimizer configuration extending base OptimizerConfig. Args: optimizer (str): Optimizer class name (e.g., "AdamW", "AdamW8bit", "_A
verl/verl/workers/config/optimizer.py:80
↓ 14 callersClassRateLimitedRewardManager
Reward manager with rate limiting for API-based reward functions. This manager implements a sophisticated three-layer rate limiting system de
verl/verl/experimental/reward_loop/reward_manager/limited.py:174
↓ 12 callersClassOptimizerConfig
Base optimizer configuration. Args: lr (float): learning rate. Must be specified. lr_warmup_steps_ratio (float): Warmup steps rat
verl/verl/workers/config/optimizer.py:26
↓ 10 callersClassNPUToolConfig
NPU profiler too; config.
verl/verl/utils/profiler/config.py:79
↓ 10 callersClassTracking
A unified tracking interface for logging experiment data to multiple backends. This class provides a centralized way to log experiment metrics, p
verl/verl/utils/tracking.py:29
↓ 9 callersClassAgentLoopManager
Agent loop manager that manages a group of agent loop workers.
verl/verl/experimental/agent_loop/agent_loop.py:877
↓ 9 callersClassFSDPCheckpointManager
Manage FSDP checkpointing in SPMD training. - Saves/loads per-rank sharded model & optimizer states - Persists full lr_scheduler and RNG
verl/verl/utils/checkpoint/fsdp_checkpoint_manager.py:56
↓ 9 callersClassFSDPUlyssesShardingManager
Sharding manager to support data resharding when using FSDP + Ulysses
verl/verl/workers/sharding_manager/fsdp_ulysses.py:27
↓ 9 callersClassRLHFDataset
Load and preprocess RLHF data from Parquet files. - Caches files locally. - Reads into a HuggingFace Dataset and tokenizes prompts.
verl/verl/utils/dataset/rl_dataset.py:70
↓ 9 callersClassStatement
internbootcamp/bootcamps/bootcamps_v1/logical_reasoning/bbehboardgameqa/bbehboardgameqa_instruction_generator.py:128
↓ 9 callersClassStatement
internbootcamp/bootcamps/bbeh_bootcamps/bbeh_boardgame_qa/instruction_generator.py:117
↓ 8 callersClassCheckpointEngineManager
Checkpoint engine manager to coordinate weight synchronization between trainer and rollout replicas. - ME: model engine, FSDP, MCore, VeOmni, exp
verl/verl/checkpoint_engine/base.py:285
↓ 8 callersClassFSDPEngineConfig
Configuration for FSDP (Fully Sharded Data Parallel). The inheritance from BaseConfig provides omegaconf.DictConfig-like interface for a dataclas
verl/verl/workers/config/engine.py:139
↓ 8 callersClassResourcePoolManager
Define a resource pool specification. Resource pool will be initialized first.
verl/verl/single_controller/ray/base.py:168
↓ 8 callersClassStatement
internbootcamp/bootcamps/bootcamps_v1/logical_reasoning/bbehboardgameqa/bbehboardgameqa_reward_calculator.py:127
↓ 8 callersClassStatement
internbootcamp/bootcamps/bootcamps_v1/logical_reasoning/bbehboardgameqa/bbehboardgameqa_interaction.py:127
↓ 8 callersClassStatement
internbootcamp/bootcamps/bootcamps_v1/logical_reasoning/bbehboardgameqa/bbehboardgameqa_tools.py:133
↓ 8 callersClassTracedClass
verl/tests/utils/test_rollout_trace_on_cpu.py:46
↓ 7 callersClassActorConfig
Configuration for actor model training. The inheritance from BaseConfig provides omegaconf.DictConfig-like interface for a dataclass config.
verl/verl/workers/config/actor.py:84
↓ 7 callersClassAsyncHttpServerAdapter
Asynchronous HTTP-based adapter for SGLang engines. This class inherits from HttpServerAdapter and adds async capabilities for non-blocking H
verl/verl/workers/rollout/sglang_rollout/http_server_engine.py:572
↓ 7 callersClassFSDPCriticConfig
Configuration for FSDP-based critic model training. The inheritance from CriticConfig provides all base critic configuration plus FSDP-specific s
verl/verl/workers/config/critic.py:179
↓ 7 callersClassFlopsCounter
Used to count mfu during training loop Example: flops_counter = FlopsCounter(config) flops_achieved, flops_promised = flops_
verl/verl/utils/flops_counter.py:561
↓ 7 callersClassHFModelConfig
verl/verl/workers/config/model.py:72
↓ 7 callersClassMcoreEngineConfig
Configuration for Megatron parallelism. The inheritance from BaseConfig provides omegaconf.DictConfig-like interface for a dataclass config.
verl/verl/workers/config/engine.py:80
↓ 7 callersClassParallelLlamaRMSNorm
verl/verl/models/llama/megatron/layers/parallel_rmsnorm.py:25
↓ 7 callersClassParallelQwen2RMSNorm
verl/verl/models/qwen2/megatron/layers/parallel_rmsnorm.py:26
↓ 7 callersClassRolloutSkip
RolloutSkip skips sequence generation during rollout by attempting to load previously dumped data. If no dumped data is found, it generates n
verl/verl/utils/rollout_skip.py:19
↓ 7 callersClassTrainingWorkerConfig
verl/verl/workers/config/engine.py:284
↓ 6 callersClassAgentLoopOutput
Agent loop output.
verl/verl/experimental/agent_loop/agent_loop.py:135
↓ 6 callersClassSequenceParallelConfig
verl/tests/models/test_transformers_ulysses.py:44
↓ 5 callersClassFusedLinearForPPO
verl/verl/utils/experimental/torch_functional.py:196
↓ 5 callersClassMcoreModuleWrapperConfig
Configuration for Mcore module wrapper.
verl/verl/utils/megatron_utils.py:164
↓ 5 callersClassMultiTurnSFTDataset
Dataset for multi-turn conversations where each assistant response should be trained Args: data_files (str or list): Path(s) to Parq
verl/verl/utils/dataset/multiturn_sft_dataset.py:56
↓ 5 callersClassOpenAIFunctionToolSchema
The schema of a tool in OpenAI format.
verl/verl/tools/schemas.py:48
↓ 4 callersClassBroadcastOperation
Async broadcast operation with NCCL in separate thread. Args: rank (int): The rank of the current process. group_name (str): The
verl/verl/checkpoint_engine/nccl_checkpoint_engine.py:43
↓ 4 callersClassBroadcastOperation
Async broadcast operation with HCCL in separate thread. Args: rank (int): The rank of the current process. group_name (str): The
verl/verl/checkpoint_engine/hccl_checkpoint_engine.py:42
↓ 4 callersClassCausalLMOutputForPPO
verl/verl/models/transformers/dense_common.py:24
↓ 4 callersClassDataParallelPPOActor
FSDP DataParallel PPO Actor or Ref worker Args: config (ActorConfig): Actor config actor_module (nn.Module): Actor or ref module
verl/verl/workers/actor/dp_actor.py:49
↓ 4 callersClassEvaluationConfig
评测配置(用于保存历史配置)
internbootcamp/web_service/backend/models/schemas.py:168
↓ 4 callersClassMcoreOptimizerConfig
Mcore optimizer configuration extending base OptimizerConfig. Args: optimizer (str): Optimizer name; default is "adam". lr (float
verl/verl/workers/config/optimizer.py:117
↓ 4 callersClassMessage
verl/verl/workers/rollout/schemas.py:56
↓ 4 callersClassRangeNode
internbootcamp/bootcamps/bootcamps_v1/mathematical_modeling/ehelpingpeople/Ehelpingpeople_instruction_generator.py:34
↓ 4 callersClassReadableOperation
Encapsulates a readable operation to remote agent. 1. send metadata to remote agent 2. wait until remote agent read complete. Args:
verl/verl/checkpoint_engine/nixl_checkpoint_engine.py:137
↓ 4 callersClassRewardLoopManager
RewardLoopManager run in single controller. This class will create reward loop workers and manage them. RewardLoopManager will deprecate
verl/verl/experimental/reward_loop/reward_loop.py:244
↓ 4 callersClassValidationGenerationsLogger
verl/verl/utils/tracking.py:348
↓ 4 callersClassWorker
A distributed worker that handles initialization and configuration for distributed training. This class manages worker initialization, configurat
verl/verl/single_controller/base/worker.py:76
↓ 3 callersClassAgentData
Encapsulates all state variables for the agent loop. AgentData is passed to tool calling in case that tool may need to access full history state.
verl/verl/experimental/agent_loop/tool_agent_loop.py:56
↓ 3 callersClassAlgoConfig
Configuration for the algorithm. The inheritance from BaseConfig provides omegaconf.DictConfig-like interface for a dataclass config. Args:
verl/verl/trainer/config/algorithm.py:568
↓ 3 callersClassBBEHBuggyTablesSolver
internbootcamp/bootcamps/bbeh_bootcamps/bbeh_buggy_tables/libs/bbeh_buggy_tables_solver.py:9
↓ 3 callersClassCheckpointEngineConfig
Configuration for checkpoint engine to update weights from trainer to rollout
verl/verl/workers/config/rollout.py:122
↓ 3 callersClassCriticWorker
verl/verl/workers/fsdp_workers.py:1178
↓ 3 callersClassGsm8kInteraction
A demo interaction for calculating the reward of gsm8k. - `start_interaction`: start a interaction instance for a trajectory. - `generate_res
verl/verl/interactions/gsm8k_interaction.py:30
↓ 3 callersClassHyperbatonConfig
internbootcamp/bootcamps/bbeh_bootcamps/bbeh_hyperbaton/instruction_generator.py:14
↓ 3 callersClassLandscapeEnv2D
2D 势能面环境管理器。 定义域: x, y in [0, 10] nm
internbootcamp/bootcamps/mole_bootcamp/mole_server.py:35
↓ 3 callersClassLinearForLastLayer
verl/verl/models/llama/megatron/layers/parallel_linear.py:82
↓ 3 callersClassMegatronCheckpointManager
Checkpoint manager for Megatron-LM distributed training. This class manages the saving and loading of model checkpoints in a Megatron-LM
verl/verl/utils/checkpoint/megatron_checkpoint_manager.py:50
↓ 3 callersClassQwen3VLCausalLMOutputForPPO
verl/verl/models/transformers/qwen3_vl.py:230
↓ 3 callersClassRewardModelManager
Reward model manager.
verl/verl/experimental/reward_loop/reward_model.py:27
↓ 3 callersClassRolloutConfig
verl/verl/workers/config/rollout.py:136
↓ 3 callersClassSFTDataset
This is an in-memory SFTDataset Arguments: config (OmegaConf): the data config
verl/verl/utils/dataset/sft_dataset.py:33
↓ 3 callersClassSFTTensorCollator
A custom collate_fn that handles batching of sequences. 1. for variable-length sequences, convert them into NestedTensors. 2. for fixed-l
verl/verl/utils/dataset/dataset_utils.py:30
↓ 3 callersClassSimulationContext
管理PyBullet实例。每个Case对应一个独立的Context实例。
internbootcamp/bootcamps/bot_bootcamp/bot_server.py:30
↓ 3 callersClassTaskInfo
任务信息
internbootcamp/web_service/backend/models/schemas.py:55
↓ 3 callersClassTokenOutput
verl/verl/workers/rollout/replica.py:32
↓ 3 callersClassTrainingWorker
TrainingWorker provides a Tinker-like API (https://thinkingmachines.ai/tinker/) as a RayWorkerGroup to a single controller. Currently, we onl
verl/verl/workers/engine_workers.py:48
↓ 3 callersClassTrieNode
internbootcamp/bootcamps/bootcamps_v1/algorithm/cxortree/Cxortree_tools.py:72
↓ 3 callersClassTrieNode
internbootcamp/bootcamps/bootcamps_v1/algorithm/cxortree/Cxortree_interaction.py:66
↓ 3 callersClassTrieNode
internbootcamp/bootcamps/bootcamps_v1/algorithm/cxortree/Cxortree_reward_calculator.py:66
↓ 3 callersClassTrieNode
internbootcamp/bootcamps/bootcamps_v1/algorithm/cxortree/Cxortree_instruction_generator.py:67
↓ 3 callersClassUzi
internbootcamp/bootcamps/bootcamps_v1/algorithm/ejeffandbrackets/Ejeffandbrackets_tools.py:106
↓ 3 callersClassUzi
internbootcamp/bootcamps/bootcamps_v1/algorithm/ejeffandbrackets/Ejeffandbrackets_instruction_generator.py:68
↓ 3 callersClassUzi
internbootcamp/bootcamps/bootcamps_v1/algorithm/ejeffandbrackets/Ejeffandbrackets_interaction.py:87
↓ 2 callersClassActorRolloutRefWorker
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/verl/workers/fsdp_workers.py:141
↓ 2 callersClassArc
internbootcamp/bootcamps/flangeplane_bootcamp/utils/cadlib/curves.py:162
↓ 2 callersClassBBEHBuggyTablesGenerator
internbootcamp/bootcamps/bbeh_bootcamps/bbeh_buggy_tables/libs/bbeh_buggy_tables_generator.py:9
↓ 2 callersClassCADSequence
A CAD modeling sequence, a series of extrude operations.
internbootcamp/bootcamps/flangeplane_bootcamp/utils/cadlib/extrude.py:229
↓ 2 callersClassCheckpointHandler
Checkpoint handler handles the path, global_step of a checkpoint folder. Currently, it only works with a single model. We can expand it t
verl/verl/utils/checkpoint/checkpoint_handler.py:48
↓ 2 callersClassCircle
internbootcamp/bootcamps/flangeplane_bootcamp/utils/cadlib/curves.py:356
↓ 2 callersClassConfig
verl/tests/utils/test_flops_counter.py:24
↓ 2 callersClassCoordSystem
Local coordinate system for sketch plane.
internbootcamp/bootcamps/flangeplane_bootcamp/utils/cadlib/extrude.py:8
↓ 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/verl/protocol.py:1185
↓ 2 callersClassDictConfigWrap
Wrapper for DictConfig to avoid hydra.utils.instantiate recursive resolve.
verl/verl/experimental/agent_loop/agent_loop.py:187
↓ 2 callersClassDisjointSetUnion
internbootcamp/bootcamps/bootcamps_v1/algorithm/feuclidsnightmare/Feuclidsnightmare_instruction_generator.py:19
↓ 2 callersClassDistributedMasterServer
分布式Master服务器,支持动态Worker注册和工具发现
internbootcamp/utils/tool_server/master_server.py:25
↓ 2 callersClassEquityBot
基于胜率阈值的通用扑克 Bot。 可以通过调整阈值参数来模拟 '激进派' 或 '保守派'。
internbootcamp/bootcamps/holdem_bootcamp/holdem_server.py:507
↓ 2 callersClassExtrude
Single extrude operation with corresponding a sketch profile. NOTE: only support single sketch profile. Extrusion with multiple profiles is decomp
internbootcamp/bootcamps/flangeplane_bootcamp/utils/cadlib/extrude.py:77
↓ 2 callersClassFSDPActorConfig
Configuration for FSDP actor models. The inheritance from BaseConfig provides omegaconf.DictConfig-like interface for a dataclass config. Ar
verl/verl/workers/config/actor.py:264
↓ 2 callersClassFSDPSFTTrainer
verl/verl/trainer/fsdp_sft_trainer.py:96
↓ 2 callersClassFenwickTree
internbootcamp/bootcamps/bootcamps_v1/algorithm/cpropagatingtree/Cpropagatingtree_tools.py:17
next →1–100 of 3,617, ranked by callers