MCPcopy Create free account

hub / github.com/THU-KEG/LongTraceRL / types & classes

Types & classes146 in github.com/THU-KEG/LongTraceRL

↓ 31 callersClassSample
The sample generated
slime/slime/utils/types.py:9
↓ 12 callersClassGenerateState
The global state for the generation process.
slime/slime/rollout/sglang_rollout.py:83
↓ 8 callersClassMultiTurnLossMaskGenerator
slime/slime/utils/mask_utils.py:9
↓ 6 callersClassSyncCase
slime/tests/plugin_contracts/test_plugin_path_loading_contracts.py:162
↓ 6 callersClassTimer
slime/slime/utils/timer.py:15
↓ 5 callersClassHookCase
slime/tests/plugin_contracts/test_plugin_runtime_hook_contracts.py:88
↓ 4 callersClassDynamicFilterOutput
slime/slime/rollout/filter_hub/base_types.py:6
↓ 4 callersClassLinearForLastLayer
slime/slime/backends/megatron_utils/model_provider.py:24
↓ 4 callersClassRolloutFnEvalOutput
slime/slime/rollout/base_types.py:14
↓ 4 callersClassRolloutFnTrainOutput
slime/slime/rollout/base_types.py:8
↓ 4 callersClassServerGroupConfig
Configuration for a single server group. Attributes: worker_type: One of "regular", "prefill", "decode", "placeholder",
slime/slime/backends/sglang_utils/sglang_config.py:12
↓ 3 callersClassBufferResponse
slime/slime_plugins/rollout_buffer/buffer.py:119
↓ 3 callersClassFakeQwen35Tokenizer
A tiny char-level tokenizer that models the Qwen3.5 assistant formatting rule. The critical behavior we need for these tests is: 1. `add_gene
slime/tests/utils/test_loss_mask_type_qwen35.py:4
↓ 3 callersClassFdLock
slime/tests/ci/gpu_lock_exec.py:149
↓ 3 callersClassModelConfig
Configuration for a single model deployment. Attributes: name: Unique name for this model (e.g. "actor", "reward"). model_path: H
slime/slime/backends/sglang_utils/sglang_config.py:45
↓ 3 callersClassMultimodalType
slime/slime/utils/types.py:198
↓ 3 callersClassSglangConfig
Configuration for SGLang engine deployment. Loaded from ``--sglang-config`` YAML file. **Config format**:: sglang: - name
slime/slime/backends/sglang_utils/sglang_config.py:116
↓ 3 callersClassTraceHandle
slime/slime/utils/trace_utils.py:47
↓ 2 callersClassContractDataSource
slime/tests/plugin_contracts/test_plugin_rollout_contracts.py:51
↓ 2 callersClassDataset
slime/slime/utils/data.py:197
↓ 2 callersClassGPTModel
launch_server.py:18
↓ 2 callersClassKernelInfo
slime/tools/analyze_profile.py:67
↓ 2 callersClassOpenAIAssistantMessage
OpenAI format assistant message structure
slime/examples/tau-bench/openai_tool_adapter.py:24
↓ 2 callersClassRolloutBuffer
slime/slime_plugins/rollout_buffer/buffer.py:216
↓ 2 callersClassState
slime/slime/utils/seqlen_balancing.py:44
↓ 2 callersClassWrappedStorageReader
slime/tools/convert_torch_dist_to_hf_parallel.py:38
↓ 2 callersClass_TensorboardAdapter
slime/slime/utils/tensorboard_utils.py:16
↓ 1 callersClassAgent
A base class for our AI agents.
slime/examples/multi_agent/agent_system.py:78
↓ 1 callersClassArgs
slime/tests/plugin_contracts/test_plugin_path_loading_contracts.py:80
↓ 1 callersClassArgs
slime/tests/plugin_contracts/test_plugin_generate_contracts.py:42
↓ 1 callersClassAsyncLoopThread
slime/slime/utils/async_utils.py:8
↓ 1 callersClassAsyncRolloutWorker
Simplified asynchronous rollout worker, using threads instead of processes Supports continuous running, independent of rollout function lifec
slime/examples/fully_async/fully_async_rollout.py:37
↓ 1 callersClassBM25Retriever
slime/examples/search-r1/local_dense_retriever/retrieval_server.py:145
↓ 1 callersClassBaseGenerator
slime/slime_plugins/rollout_buffer/generator/base_generator.py:143
↓ 1 callersClassBox
slime/slime/utils/misc.py:97
↓ 1 callersClassBufferQueue
slime/slime_plugins/rollout_buffer/buffer.py:125
↓ 1 callersClassConfig
Minimal config class (simulating your argparse) Replace this with your real arguments or load them dynamically.
slime/examples/search-r1/local_dense_retriever/retrieval_server.py:284
↓ 1 callersClassContractEvalDataSource
slime/tests/plugin_contracts/test_plugin_path_loading_contracts.py:156
↓ 1 callersClassConversionResult
slime/tools/convert_hf_to_fp8.py:98
↓ 1 callersClassConversionResult
slime/tools/convert_hf_to_int4_direct.py:154
↓ 1 callersClassCudaGraphLaunch
slime/tools/analyze_profile.py:79
↓ 1 callersClassDataIterator
Micro-batch iterator over rollout dicts. Supports either fixed contiguous micro-batches or an explicit per-step index schedule (for dynamic b
slime/slime/backends/megatron_utils/data.py:226
↓ 1 callersClassDenseRetriever
slime/examples/search-r1/local_dense_retriever/retrieval_server.py:205
↓ 1 callersClassEmptyStateDictLoadPlanner
slime/tools/convert_torch_dist_to_hf_parallel.py:203
↓ 1 callersClassEmptyStateDictLoadPlanner
slime/tools/convert_torch_dist_to_hf.py:48
↓ 1 callersClassEncoder
slime/examples/search-r1/local_dense_retriever/retrieval_server.py:65
↓ 1 callersClassEvalDatasetConfig
Configuration for a single evaluation dataset.
slime/slime/utils/eval_config.py:95
↓ 1 callersClassExecuteTrainConfig
slime/slime/utils/external_utils/command_utils.py:88
↓ 1 callersClassGeo3kEnv
Minimal interaction environment for multi-turn geo3k with a scoring tool. The model is expected to emit a <tool_call>{...}</tool_call> paylo
slime/examples/geo3k_vlm_multi_turn/env_geo3k.py:27
↓ 1 callersClassGlm4vMoeVLModel
GLM-4.6V vision-language model for Megatron training. Wraps an HF vision encoder (only on first PP stage) together with a standard Megatron C
slime/slime_plugins/megatron_bridge/glm4v_moe.py:173
↓ 1 callersClassInteractionResult
slime/examples/tau-bench/trainable_agents.py:27
↓ 1 callersClassMetricGatherer
slime/slime/rollout/filter_hub/base_types.py:24
↓ 1 callersClassOpenAICompatibleToolCallAdapter
Adapter class that converts sglang tool call parsing results to OpenAI compatible format This class encapsulates existing tool call parsing
slime/examples/tau-bench/openai_tool_adapter.py:32
↓ 1 callersClassOpenAIToolCall
OpenAI format tool call structure
slime/examples/tau-bench/openai_tool_adapter.py:15
↓ 1 callersClassPackedSeqParams
slime/tests/test_qwen3_linear_attention_cu_seqlens.py:31
↓ 1 callersClassParamInfo
slime/slime/utils/types.py:182
↓ 1 callersClassPythonSandbox
Python code sandbox, provides safe code execution environment
slime/examples/retool/tool_sandbox.py:93
↓ 1 callersClassRayTrainGroup
A group of ray actors Functions start with 'async' should return list of object refs Args: args (Namespace): Arguments for the a
slime/slime/ray/actor_group.py:10
↓ 1 callersClassReloadableProcessGroup
slime/slime/utils/reloadable_process_group.py:124
↓ 1 callersClassReplayStats
slime/tools/replay_openai_jsonl.py:19
↓ 1 callersClassRewriterAgent
The agent responsible for rewriting solutions.
slime/examples/multi_agent/agent_system.py:109
↓ 1 callersClassRolloutDataSourceWithBuffer
slime/slime/rollout/data_source.py:190
↓ 1 callersClassRolloutHealthMonitor
Health monitor for rollout engines. The monitor runs continuously once started, but can be paused/resumed based on whether the engines are of
slime/slime/utils/health_monitor.py:10
↓ 1 callersClassRolloutServer
A model served behind a shared router, with one or more server groups. Each RolloutServer represents one model deployed behind a single router.
slime/slime/ray/rollout.py:212
↓ 1 callersClassRoutingReplay
slime/slime/utils/routing_replay.py:13
↓ 1 callersClassSelectorAgent
The agent responsible for selecting solutions.
slime/examples/multi_agent/agent_system.py:130
↓ 1 callersClassServerGroup
A group of homogeneous SGLang engines with the same configuration. All engines in a group share the same tp_size / nodes_per_engine / pg. A R
slime/slime/ray/rollout.py:39
↓ 1 callersClassSet
slime/slime/utils/seqlen_balancing.py:22
↓ 1 callersClassSolverAgent
The agent responsible for generating and improving solutions.
slime/examples/multi_agent/agent_system.py:97
↓ 1 callersClassTimelinePaths
slime/tools/trace_timeline_viewer.py:84
↓ 1 callersClassToolRegistry
Tool registry, manages available tools and their execution
slime/examples/retool/tool_sandbox.py:300
↓ 1 callersClassTraceAnalysis
slime/tools/analyze_profile.py:87
↓ 1 callersClassTraceSpanContext
slime/slime/utils/trace_utils.py:57
↓ 1 callersClassTrainProfiler
slime/slime/utils/profile_utils.py:13
↓ 1 callersClassTrainableToolCallingAgent
A trainable version of ToolCallingAgent that uses sglang rollout for training. This agent combines the original ToolCallingAgent functionali
slime/examples/tau-bench/trainable_agents.py:412
↓ 1 callersClassUnpicklerWrapper
slime/tools/convert_torch_dist_to_hf_parallel.py:27
↓ 1 callersClassUnpicklerWrapper
slime/tools/convert_torch_dist_to_hf.py:19
↓ 1 callersClassWrappedStorageReader
slime/tools/convert_torch_dist_to_hf.py:34
↓ 1 callersClass_DummySemaphore
slime/tests/plugin_contracts/test_plugin_generate_contracts.py:103
↓ 1 callersClass_MapWithLen
slime/slime/backends/megatron_utils/update_weight/hf_weight_iterator_bridge.py:100
↓ 1 callersClass_TensorBackuperNoop
slime/slime/utils/tensor_backper.py:77
↓ 1 callersClass_TensorBackuperNormal
slime/slime/utils/tensor_backper.py:42
ClassBaseInteractionEnv
Base class that defines the explicit contract for interaction environments.
slime/examples/geo3k_vlm_multi_turn/base_env.py:1
ClassBaseRetriever
slime/examples/search-r1/local_dense_retriever/retrieval_server.py:123
ClassC
slime/tools/analyze_profile.py:24
ClassDataSource
slime/slime/rollout/data_source.py:18
ClassDeepSeekR1DistillMessageProcessor
Message processor for DeepSeek-R1-Distill-Qwen/Llama series models. Only supports single-turn conversation, no tool calls. Prompt format
slime/slime/rollout/message_processor_hub/deepseek_r1_distill_message_processor.py:4
ClassDeepseekV32Bridge
slime/slime_plugins/mbridge/deepseek_v32.py:8
ClassDemoArgs
slime/slime/utils/external_utils/typer_utils.py:48
ClassDummyClass
slime/tools/convert_torch_dist_to_hf_parallel.py:22
ClassDummyClass
slime/tools/convert_torch_dist_to_hf.py:22
ClassFakeFusedRMSNormGated
slime/tests/test_qwen3_linear_attention_cu_seqlens.py:91
ClassFakeGenerateState
slime/tests/plugin_contracts/test_plugin_generate_contracts.py:57
ClassFakeShortConvolution
slime/tests/test_qwen3_linear_attention_cu_seqlens.py:83
ClassGLM4Bridge
Bridge implementation for Qwen2 models. This class extends LLMBridge to provide specific configurations and optimizations for Qwen2 mode
slime/slime_plugins/mbridge/glm4.py:7
ClassGLM4MoEBridge
Bridge implementation for Qwen2 models. This class extends LLMBridge to provide specific configurations and optimizations for Qwen2 mode
slime/slime_plugins/mbridge/glm4moe.py:8
ClassGLM4MoELiteBridge
Bridge for GLM-4.7-Flash (glm4_moe_lite) models. Extends DeepseekV3Bridge with: - Dynamic MTP layer indexing (parent hardcodes layer 61
slime/slime_plugins/mbridge/glm4moe_lite.py:8
ClassGlm4vMoeBridge
Bridge between HuggingFace GLM-4.6V and the Megatron VL model.
slime/slime_plugins/megatron_bridge/glm4v_moe.py:542
ClassGlm4vMoeVLModelProvider
Provider that creates Glm4vMoeVLModel. Inherits from Qwen3MoEModelProvider to reuse MoE + TransformerConfig infra. Defined at module level (n
slime/slime_plugins/megatron_bridge/glm4v_moe.py:478
ClassGptOssBridge
Bridge implementation for GPT-OSS models. Handles weight conversion between preprocessed GPT-OSS HF format (BF16 per-expert) and Megatro
slime/slime_plugins/mbridge/gpt_oss.py:6
next →1–100 of 146, ranked by callers