MCPcopy Create free account

hub / github.com/ByteDance-Seed/Triton-distributed / types & classes

Types & classes521 in github.com/ByteDance-Seed/Triton-distributed

↓ 139 callersClassBuiltin
python/little_kernel/language/builtin_base.py:177
↓ 63 callersClassTypeInferencer
Centralized type inferencer for LLType system. Uses modular components for maintainability and extensibility. Uses the unified Scope
python/little_kernel/core/passes/utils/type_inference/infer_type.py:37
↓ 59 callersClassgroup_profile
python/triton_dist/profiler_utils.py:205
↓ 54 callersClassLiteral
Literal expression (integer, float, boolean constants)
python/little_kernel/core/expr.py:227
↓ 28 callersClassCppEmitter
C++ code emitter with context-aware LLType resolution and scope tracking. - Avoids redundant type declarations for in-scope variables (parame
python/little_kernel/codegen/codegen_base.py:39
↓ 27 callersClassTypeMismatchError
Raised when types are incompatible (e.g., int + float)
python/little_kernel/core/passes/utils/type_inference/type_inference_core.py:58
↓ 26 callersClassBinOp
Binary operation expression (e.g., a + b, a && b)
python/little_kernel/core/expr.py:388
↓ 24 callersClassCSVWriter
Unified CSV result writer with metadata header.
python/little_kernel/benchmark/utils.py:140
↓ 20 callersClassIntType
python/little_kernel/core/type_system.py:106
↓ 19 callersClassUnsupportedNodeError
Raised when an AST node type is not supported for inference
python/little_kernel/core/passes/utils/type_inference/type_inference_core.py:63
↓ 18 callersClassVar
Variable expression (access to local/global variables or parameters)
python/little_kernel/core/expr.py:246
↓ 17 callersClassTypeInferenceError
Base exception for type inference failures (with AST node context)
python/little_kernel/core/passes/utils/type_inference/type_inference_core.py:35
↓ 12 callersClassInputDependencyDesc
python/triton_dist/mega_triton_kernel/core/task_base.py:143
↓ 12 callersClassModelBuilder
python/triton_dist/mega_triton_kernel/models/model_builder.py:86
↓ 11 callersClassvector
python/triton_dist/language/simt_ops.py:99
↓ 10 callersClassUnOp
Unary operation expression (e.g., !a, *p)
python/little_kernel/core/expr.py:294
↓ 9 callersClassFloatType
python/little_kernel/core/type_system.py:154
↓ 9 callersClassTupleType
Tuple type parameterized by a list of element types (e.g., Tuple[bool, int32, int32]).
python/little_kernel/core/type_system.py:433
↓ 8 callersClassIntFilter
A class to filter integers based on a defined rule. The rule can be an integer, a [min, max] list for a range, or None for a wildcard.
python/triton_dist/tools/tune/tune_gemm.py:152
↓ 8 callersClassModelConfig
python/triton_dist/models/config.py:31
↓ 8 callersClassOutputTilingDesc
python/triton_dist/mega_triton_kernel/core/task_base.py:137
↓ 7 callersClassBarrierAllContext
You may use this to barrier all ranks in global, or just in intra-node team. NOTE: nvshmem_barrier_all is slower for intra-node only.
python/triton_dist/kernels/nvidia/common_ops.py:227
↓ 7 callersClassKV_Cache
python/triton_dist/models/kv_cache.py:29
↓ 7 callersClassPythonClassToCppStructConverter
Convert Python class AST to C++ struct definition. This visitor traverses a Python class definition and generates the corresponding
python/little_kernel/codegen/special_struct/struct_converter.py:41
↓ 6 callersClassBlockStmt
A block of sequential statements (e.g., body of an if/loop). Represents a scoped sequence of statements, common in structured control flow.
python/little_kernel/core/stmt.py:38
↓ 6 callersClassMoEOptimConfig
python/triton_dist/function/nvidia/common.py:407
↓ 6 callersClassUndefinedVariableError
Raised when referencing a variable not in scope/context
python/little_kernel/core/passes/utils/type_inference/type_inference_core.py:53
↓ 5 callersClassAllocateStmt
Memory allocation statement (dynamic memory management). Represents allocation of memory in CUDA's memory spaces (e.g., `int* x = new int[N];
python/little_kernel/core/stmt.py:309
↓ 5 callersClassAllocateTensorExpr
Expression for allocating a tensor (returns a tensor object). Mimics PyTorch's `torch.empty`, `torch.zeros`, etc. Supports multi-dimensional
python/little_kernel/core/expr.py:520
↓ 5 callersClassAssignStmt
Assignment statement (lhs = rhs). Assigns the value of an expression (rhs) to a mutable target (lhs).
python/little_kernel/core/stmt.py:62
↓ 5 callersClassCudaMallocBuffer
Raw cudaMalloc buffer that is P2P accessible (unlike PyTorch tensors).
python/little_kernel/design/test_flashcomm_multi_gpu.py:103
↓ 5 callersClassEpAll2AllFusedOp
Fused EP All-to-All + grouped GEMM MoE op for AMD GPUs.
python/triton_dist/layers/amd/ep_a2a_fused_layer.py:77
↓ 5 callersClassRawCudaBuffer
Raw cudaMalloc buffer for P2P-accessible cross-GPU memory.
python/little_kernel/design/test_flashcomm_torchrun.py:104
↓ 4 callersClassAllocateExpr
Base class for allocation expressions (returns a pointer/handle to allocated memory). Serves as a common parent for raw memory allocation (e.
python/little_kernel/core/expr.py:471
↓ 4 callersClassCallExpr
Function call expression with a return value. Unlike CallStmt (which is a statement with no return value), CallExpr is an expression that
python/little_kernel/core/expr.py:431
↓ 4 callersClassForStmt
For-loop statement (structured iteration). Represents a counted loop with initialization, condition, and increment. Common in CUDA for th
python/little_kernel/core/stmt.py:122
↓ 4 callersClassPackage
python/setup.py:263
↓ 4 callersClassScopeManager
Unified symbol scope manager for all passes. Manages symbol scopes for passes, ensuring that local definitions take priority over g
python/little_kernel/core/passes/utils/scope_manager.py:119
↓ 4 callersClassSpecialStructType
Type for special structs like Scheduler that need custom code generation.
python/little_kernel/core/type_system.py:578
↓ 4 callersClassTP_Attn
Tensor Parallel Attention. QKV Projection: Column Parallelism on weights (sharded over head dimension). Output Projection: Row Parallelis
python/triton_dist/layers/amd/tp_attn.py:171
↓ 4 callersClassTP_MLP
Tensor Parallel MLP. This MLP uses a common TP strategy: 1. First linear layer (gate/up) weights are column-parallel. 2. Second linea
python/triton_dist/layers/amd/tp_mlp.py:48
↓ 4 callersClassTaskDependency
python/triton_dist/mega_triton_kernel/core/task_base.py:113
↓ 4 callersClassTestStruct
python/little_kernel/tests/unit/test_struct_stub.py:254
↓ 3 callersClassAllGatherGEMMTensorParallelContext
python/triton_dist/kernels/amd/allgather_gemm.py:873
↓ 3 callersClassAnnotateTypeHelper
python/little_kernel/core/type_system.py:325
↓ 3 callersClassCallStmt
Function call statement (for void functions or side effects). Differs from CallExpr: CallStmt is a standalone statement (no return value),
python/little_kernel/core/stmt.py:192
↓ 3 callersClassCudaEmitter
Unified CUDA code emitter. Generates standalone CUDA code using raw PTX intrinsics. No CuTe/CUTLASS dependency. Uses CUtensorMap directly for
python/little_kernel/codegen/codegen_cuda.py:33
↓ 3 callersClassDeclStmt
Variable declaration statement (with optional initialization). Declares a new variable with a type, name, and optional initial value. Sup
python/little_kernel/core/stmt.py:245
↓ 3 callersClassDenseModel
Dense model implementation for tensor parallel training. This model initializes the parameters, sets the forward pass method, and provides an
python/triton_dist/mega_triton_kernel/models/dense.py:108
↓ 3 callersClassEngine
python/triton_dist/models/engine.py:37
↓ 3 callersClassEnumDef
IR node representing an enum definition. This node is inserted into the Module body during materialize pass and processed during cod
python/little_kernel/core/passes/utils/ir_nodes.py:43
↓ 3 callersClassGemmARLayer
python/triton_dist/layers/nvidia/gemm_allreduce_layer.py:34
↓ 3 callersClassIfStmt
Conditional statement (if-else). Executes one of two blocks based on a boolean condition.
python/little_kernel/core/stmt.py:91
↓ 3 callersClassTypeConverter
Converts LLType to C++ type strings using registry.
python/little_kernel/codegen/registries/type_converter.py:30
↓ 2 callersClassAGGemmIntraNode
python/triton_dist/test/amd/test_ag_gemm_intra_node.py:76
↓ 2 callersClassAllGatherGEMMTensorParallelContext
python/triton_dist/kernels/metax/allgather_gemm.py:1021
↓ 2 callersClassAllGatherLayer
python/triton_dist/layers/nvidia/low_latency_allgather_layer.py:31
↓ 2 callersClassAllocateTensorStmt
Statement for allocating a tensor and assigning it to a variable. Combines tensor allocation (via `AllocateTensorExpr`) with variable assignm
python/little_kernel/core/stmt.py:361
↓ 2 callersClassAnnotationResolver
Handles resolution of type annotations.
python/little_kernel/core/passes/utils/type_inference/type_inference_visitors.py:71
↓ 2 callersClassBuffer
python/triton_dist/mega_triton_kernel/core/graph.py:82
↓ 2 callersClassCMakeExtension
python/setup.py:479
↓ 2 callersClassCallTypeInferencer
Handles type inference for function/method calls.
python/little_kernel/core/passes/utils/type_inference/type_inference_call.py:44
↓ 2 callersClassCommOp
python/triton_dist/layers/nvidia/p2p.py:40
↓ 2 callersClassCompiledKernel
Compiled CUDA kernel that can be launched from Python.
python/little_kernel/runtime/kernel.py:34
↓ 2 callersClassConstantTypeInferencer
Handles type inference for constant values.
python/little_kernel/core/passes/utils/type_inference/type_inference_visitors.py:37
↓ 2 callersClassEPAllToAllLayoutDesc
python/triton_dist/layers/nvidia/ep_a2a_layer.py:52
↓ 2 callersClassEP_MoE
EP MoE
python/triton_dist/layers/nvidia/ep_moe.py:65
↓ 2 callersClassIntFilter
A class to filter integers based on a defined rule. The rule can be an integer, a [min, max] list for a range, or None for a wildcard.
python/triton_dist/tools/tune/find_topk.py:51
↓ 2 callersClassIpcH
python/little_kernel/design/test_ipc_minimal.py:33
↓ 2 callersClassLLType
Root base class for all types in the system. Ensures consistent interface for equality, hashing, and string representation. All types are
python/little_kernel/core/type_system.py:32
↓ 2 callersClassLoopModifier
Represents a loop modifier (e.g., ll.unroll, ll.parallel, ll.serial).
python/little_kernel/core/passes/utils/registries/loop_modifier_registry.py:31
↓ 2 callersClassMethodResolver
Centralized method return type resolver for type inference.
python/little_kernel/core/passes/utils/type_inference/method_resolver.py:33
↓ 2 callersClassMethodStubInfo
Information about a method in a struct stub.
python/little_kernel/language/intrin/struct_stub.py:44
↓ 2 callersClassModuleProxy
python/triton_dist/language/extra/utils.py:30
↓ 2 callersClassPerfResult
python/triton_dist/test/nvidia/test_llm_ulysess_gemm_all2all_intra_node.py:100
↓ 2 callersClassPerfResult
python/triton_dist/test/nvidia/test_llm_ulysess_all2all_gemm_intra_node.py:104
↓ 2 callersClassPerfResult
python/triton_dist/test/nvidia/test_llm_ulysess_post_attn_all2all_intra_node.py:103
↓ 2 callersClassPerfResult
python/triton_dist/test/nvidia/test_all_to_all_single_gemm.py:57
↓ 2 callersClassPerfResult
python/triton_dist/test/nvidia/test_llm_ulysess_pre_attn_all2all_intra_node.py:149
↓ 2 callersClassPointer
Annotate for pointer types (e.g., ptr[uint32]).
python/little_kernel/core/type_system.py:236
↓ 2 callersClassProfilerBuffer
python/triton_dist/tools/profiler/context.py:65
↓ 2 callersClassReturnStmt
Return statement (exits a function). May optionally return a value (for non-void functions).
python/little_kernel/core/stmt.py:225
↓ 2 callersClassSpGQAFlashDecodeAttention
python/triton_dist/layers/nvidia/sp_flash_decode_layer.py:44
↓ 2 callersClassSpUlysessOAll2AllGemmKernel
python/triton_dist/kernels/nvidia/sp_ulysess_o_all2all_gemm.py:513
↓ 2 callersClassSpUlysessQKVGemmAll2AllKernel
python/triton_dist/kernels/nvidia/sp_ulysess_qkv_gemm_all2all.py:545
↓ 2 callersClassStringType
python/little_kernel/core/type_system.py:204
↓ 2 callersClassSymmRocShmemBuffer
shmem/rocshmem_bind/pyrocshmem/python/pyrocshmem/__init__.py:47
↓ 2 callersClassTP_MoE
Tensor Parallel MoE. This MoE uses a common TP strategy: 1. First linear layer (gate/up) weights are column-parallel. 2. Second linea
python/triton_dist/layers/nvidia/tp_moe.py:48
↓ 2 callersClassTemplate
Annotate for template parameter types (e.g., template[uint32]).
python/little_kernel/core/type_system.py:303
↓ 2 callersClassTensorType
Tensor type parameterized by its element scalar type (e.g., tensor[int32]).
python/little_kernel/core/type_system.py:360
↓ 2 callersClassTmaDescriptorType
TMA (Tensor Memory Accelerator) descriptor type (singleton).
python/little_kernel/core/type_system.py:485
↓ 2 callersClassTracker
this tracker contains multiple tracks to support overlaped tracks
python/triton_dist/tools/profiler/viewer.py:92
↓ 2 callersClassTritonDistEpContext
python/triton_dist/function/nvidia/common.py:141
↓ 2 callersClassWhileStmt
While-loop statement (condition-based iteration). Executes a block repeatedly while a condition remains true.
python/little_kernel/core/stmt.py:165
↓ 2 callersClass_IpcHandle
python/little_kernel/design/test_flashcomm_torchrun.py:91
↓ 1 callersClassASTNodeVisitors
Handles type inference for various AST node types.
python/little_kernel/core/passes/utils/type_inference/type_inference_ast_visitors.py:41
↓ 1 callersClassAllGatherContext
tutorials/03a-inter-node-allgather.py:52
↓ 1 callersClassAllGatherContext
tutorials/03-inter-node-allgather.py:51
↓ 1 callersClassAllGatherGEMMTensorParallelContext
python/triton_dist/kernels/nvidia/allgather_gemm.py:450
↓ 1 callersClassAllReduceConfig
python/triton_dist/mega_triton_kernel/tasks/allreduce.py:36
next →1–100 of 521, ranked by callers