MCPcopy Create free account

hub / github.com/ByteDance-Seed/Triton-distributed / functions

Functions5,103 in github.com/ByteDance-Seed/Triton-distributed

Method__init__
( self, pg: torch.distributed.ProcessGroup, batch_size: int, q_head: int,
python/triton_dist/test/nvidia/test_sp_ag_attention_inter_node.py:126
Method__init__
(self, tasks, op_type, io_tensors, extra_params, input_producers: Dict[int, 'Node'] = None)
python/triton_dist/mega_triton_kernel/core/graph.py:61
Method__init__
(self)
python/triton_dist/mega_triton_kernel/core/graph.py:103
Method__init__
(self, task_type: int, layer_id: int = UNUSED_KEY, task_id: int = UNUSED_KEY)
python/triton_dist/mega_triton_kernel/core/task_base.py:39
Method__init__
(self, layer_id=-1, task_id=-1, start_tiles=0, end_tiles=0)
python/triton_dist/mega_triton_kernel/core/task_base.py:119
Method__init__
(self, input, require_full=True, start_indices: Tuple[int] = (), data_sizes: Tuple[int] = ())
python/triton_dist/mega_triton_kernel/core/task_base.py:150
Method__init__
(self)
python/triton_dist/mega_triton_kernel/core/code_generator.py:184
Method__init__
(self)
python/triton_dist/mega_triton_kernel/core/registry.py:32
Method__init__
Initialize the chat client
python/triton_dist/mega_triton_kernel/test/models/chat.py:33
Method__init__
(self, base_ptr)
python/triton_dist/mega_triton_kernel/kernels/task_context.py:35
Method__init__
(self, io_tensors_ptr, task_type, layer_id, task_id, tile_id_or_start, depend_entry_start, de
python/triton_dist/mega_triton_kernel/kernels/task_context.py:67
Method__init__
(self, task_deps_ptr, INT_PER_DEPS, scoreboard_table, MAX_TASK_ID, MAX_NUM_TASK_PER_OP, TILE_
python/triton_dist/mega_triton_kernel/kernels/task_context.py:100
Method__init__
(self, PAGE_SIZE: int = 1, num_layers: int = 32, batch_size: int = 1, max_length: int = 1024,
python/triton_dist/mega_triton_kernel/models/paged_kv_cache.py:30
Method__init__
(self, builder, layer_idx, head_dim, rank: int = 0, world_size: int = 1)
python/triton_dist/mega_triton_kernel/models/dense.py:57
Method__init__
(self, batch_size, model_config: ModelConfig, builder: 'ModelBuilder', build_lm_head=True)
python/triton_dist/mega_triton_kernel/models/dense.py:115
Method__init__
(self, rank=0, world_size=1, local_world_size=1, num_warps=4, enable_profiling=False, enable_
python/triton_dist/mega_triton_kernel/models/model_builder.py:88
Method__init__
(self, builder, layer_idx, head_dim=128, rank=0, world_size=8, group=None)
python/triton_dist/mega_triton_kernel/models/layers/tp_attn.py:52
Method__init__
(self, builder, rank=0, world_size=8, group=None)
python/triton_dist/mega_triton_kernel/models/layers/tp_mlp.py:52
Method__init__
- max_m: max number of tokens per rank. e.g. 128 or 256
python/triton_dist/layers/amd/ep_ll_a2a_layer.py:48
Method__init__
(self, rank=0, world_size=8, group=None)
python/triton_dist/layers/amd/tp_attn.py:178
Method__init__
(self, rank=0, world_size=8, group: torch.distributed.ProcessGroup = None)
python/triton_dist/layers/amd/tp_mlp.py:56
Method__init__
( self, ep_group: torch.distributed.ProcessGroup, max_tokens: int, hidden: int
python/triton_dist/layers/amd/ep_a2a_fused_layer.py:80
Method__init__
( self, ep_group, max_tokens: int, hidden: int, topk: int, ran
python/triton_dist/layers/amd/ep_a2a_layer.py:211
Method__init__
(self, rank, node, num_ranks, num_nodes, num_q_heads, num_kv_heads, q_head_dim, v_head_dim, page_size=1,
python/triton_dist/layers/nvidia/sp_flash_decode_layer.py:46
Method__init__
(self, sp_group, bs, max_seq, q_nheads, kv_nheads, k_head_dim, v_head_dim, group_size, dtype,
python/triton_dist/layers/nvidia/ulysses_sp_a2a_layer.py:31
Method__init__
( self, max_tokens, token_dim, pp_rank, pp_size, pp_group,
python/triton_dist/layers/nvidia/p2p.py:42
Method__init__
( self, tp_group: torch.distributed.ProcessGroup, max_M: int, N: int,
python/triton_dist/layers/nvidia/gemm_allreduce_layer.py:36
Method__init__
- max_m: max number of tokens per rank. e.g. 128 or 256
python/triton_dist/layers/nvidia/ep_ll_a2a_layer.py:48
Method__init__
(self, rank=0, world_size=8, group=None)
python/triton_dist/layers/nvidia/tp_attn.py:87
Method__init__
(self, rank=0, world_size=8, group=None)
python/triton_dist/layers/nvidia/tp_mlp.py:60
Method__init__
(self, nnodes, world_size, rank, max_buffer_size: int = 2 * 32 * 128 * 128, stages=2)
python/triton_dist/layers/nvidia/low_latency_allgather_layer.py:33
Method__init__
(self, rank=0, world_size=8, group=None)
python/triton_dist/layers/nvidia/ep_moe.py:70
Method__init__
(self, rank=0, world_size=8, group=None, autotune=False)
python/triton_dist/layers/nvidia/tp_moe.py:56
Method__init__
(self, max_tokens, hidden_size, pp_rank, pp_size, pp_group, dtype=torch.bfloat16, num_buffers=8)
python/triton_dist/layers/nvidia/pp_block.py:42
Method__init__
(self, pp_rank: int, pp_size: int, pp_group: torch.distributed.ProcessGroup, max_tokens: int,
python/triton_dist/layers/nvidia/pp_block.py:107
Method__init__
(self, ep_group, max_tokens: int, hidden: int, topk: int, rank: int, num_tot_experts: int, lo
python/triton_dist/layers/nvidia/ep_a2a_fused_layer.py:73
Method__init__
( self, ep_group, max_tokens: int, hidden: int, topk: int, ran
python/triton_dist/layers/nvidia/ep_a2a_layer.py:222
Method__init__
max_m: max number of tokens per rank
python/triton_dist/kernels/amd/low_latency_all_to_all.py:144
Method__init__
max_m: max number of tokens per rank
python/triton_dist/kernels/nvidia/low_latency_all_to_all.py:127
Method__init__
( self, max_m: int, hidden_dim: int, rank: int, world_size: int,
python/triton_dist/kernels/nvidia/all_to_all_single_2d.py:117
Method__init__
(self, world_group: torch.distributed.ProcessGroup, nnodes: int, sp_size: int, max_batch_size: int,
python/triton_dist/kernels/nvidia/sp_ulysess_qkv_gemm_all2all.py:547
Method__init__
(self, is_intra_node)
python/triton_dist/kernels/nvidia/common_ops.py:234
Method__init__
( self, world_group: torch.distributed.ProcessGroup, nnodes: int, sp_size: int
python/triton_dist/kernels/nvidia/sp_ulysess_o_all2all_gemm.py:515
Method__init__
(self)
python/triton_dist/models/utils.py:47
Method__init__
(self)
python/triton_dist/models/__init__.py:64
Method__init__
(self, layer_idx, group)
python/triton_dist/models/qwen_moe.py:59
Method__init__
(self, model_config, group)
python/triton_dist/models/qwen_moe.py:134
Method__init__
(self, layer_idx, group)
python/triton_dist/models/dense.py:60
Method__init__
(self, model_config, group)
python/triton_dist/models/dense.py:124
Method__init__
(self, num_layers: int = 32, batch_size: int = 1, max_length: int = 32 * 1024, kv_heads: int = 8,
python/triton_dist/models/kv_cache.py:31
Method__init__
(self, model_config: ModelConfig, temperature: float, top_p: float, verbose: bool = False, group=None)
python/triton_dist/models/engine.py:39
Method__init__
(self, expr_type: LLType)
python/little_kernel/core/expr.py:35
Method__init__
(self, value: Union[int, float, bool, str], expr_type: LLType)
python/little_kernel/core/expr.py:230
Method__init__
(self, op: UnOpKind, operand: Expr, expr_type: LLType)
python/little_kernel/core/expr.py:297
Method__init__
(self, op: BinOpKind, left: Expr, right: Expr, expr_type: LLType)
python/little_kernel/core/expr.py:391
Method__init__
(self, tensor: Expr, indices: List[Expr])
python/little_kernel/core/expr.py:410
Method__init__
(self, struct: Expr, member: str)
python/little_kernel/core/expr.py:422
Method__init__
Args: callee: Name of the function being called (e.g., "sinf", "my_device_func") args: List of argument expressions p
python/little_kernel/core/expr.py:439
Method__init__
Args: elem_type: Type of individual elements in the allocated block size: Number of elements to allocate (integer exp
python/little_kernel/core/expr.py:478
Method__init__
Args: shape: List of expressions defining tensor dimensions (e.g., [Literal(32), threadIdx.x + 1]) dtype: Data type o
python/little_kernel/core/expr.py:527
Method__init__
(self, bits: int, signed: bool = True, special=None)
python/little_kernel/core/type_system.py:126
Method__init__
(self, fmt: str)
python/little_kernel/core/type_system.py:170
Method__init__
(self, inner_type: LLType)
python/little_kernel/core/type_system.py:226
Method__init__
(self, inner_type: LLType)
python/little_kernel/core/type_system.py:245
Method__init__
(self, inner_type: LLType)
python/little_kernel/core/type_system.py:290
Method__init__
(self, inner_type: LLType)
python/little_kernel/core/type_system.py:312
Method__init__
(self, inner_type: LLType)
python/little_kernel/core/type_system.py:327
Method__init__
(self)
python/little_kernel/core/type_system.py:344
Method__init__
(self, element_type: LLType)
python/little_kernel/core/type_system.py:369
Method__init__
(self, type_list: list)
python/little_kernel/core/type_system.py:409
Method__init__
(self, element_types: tuple)
python/little_kernel/core/type_system.py:444
Method__init__
(self, struct_name: str)
python/little_kernel/core/type_system.py:587
Method__init__
(self)
python/little_kernel/core/stmt.py:34
Method__init__
Args: stmts: List of statements in the block (executed in order)
python/little_kernel/core/stmt.py:44
Method__init__
Args: lhs: Left-hand side (must be a mutable l-value: variable, tensor element, or struct member) rhs: Right-hand sid
python/little_kernel/core/stmt.py:68
Method__init__
Args: cond: Condition expression (must be of boolean type) then_block: Block executed if cond is true els
python/little_kernel/core/stmt.py:97
Method__init__
Args: loop_var: Loop variable (declared in the loop scope) init: Initial value for loop_var (e.g., Literal(0, int32))
python/little_kernel/core/stmt.py:129
Method__init__
Args: cond: Loop condition (must be bool) body: Block executed while cond is true Raises:
python/little_kernel/core/stmt.py:171
Method__init__
Args: callee: Name of the function being called args: List of arguments passed to the function is_builtin
python/little_kernel/core/stmt.py:199
Method__init__
Args: value: Optional return value (None for void functions)
python/little_kernel/core/stmt.py:231
Method__init__
Args: var: Variable to declare (includes name, type, and qualifiers like is_shared) init: Optional initial value (mus
python/little_kernel/core/stmt.py:252
Method__init__
Args: var: Variable to hold the allocated pointer (must be a pointer type) size: Expression specifying the number of
python/little_kernel/core/stmt.py:316
Method__init__
Args: var: Variable to hold the allocated tensor (must match tensor type) alloc_expr: Tensor allocation expression de
python/little_kernel/core/stmt.py:368
Method__init__
(self)
python/little_kernel/core/ir_base.py:51
Method__init__
(self)
python/little_kernel/core/ir_base.py:63
Method__init__
(self, py_func, backend, is_entry)
python/little_kernel/core/compile.py:57
Method__init__
(self, ctx)
python/little_kernel/core/passes/inline.py:54
Method__init__
(self, param_map: Dict[str, ast.expr], rename_map: Dict[str, str])
python/little_kernel/core/passes/inline.py:235
Method__init__
(self, lhs: ast.expr)
python/little_kernel/core/passes/inline.py:256
Method__init__
(self, ctx: Dict[str, Any])
python/little_kernel/core/passes/mem_analysis.py:45
Method__init__
(self)
python/little_kernel/core/passes/dump.py:35
Method__init__
(self, ctx)
python/little_kernel/core/passes/insert_mem_alloc.py:62
Method__init__
(self, ctx: Dict[str, Any])
python/little_kernel/core/passes/special_struct_materialize_pass.py:92
Method__init__
(self, ctx: Dict[str, Any])
python/little_kernel/core/passes/flatten_empty.py:51
Method__init__
(self)
python/little_kernel/core/passes/pass_registry.py:54
Method__init__
(self, ctx=None, all_types=None)
python/little_kernel/core/passes/constfold.py:45
Method__init__
(self, ctx: Dict[str, Any] = None)
python/little_kernel/core/passes/method_to_intrin.py:50
Method__init__
(self, ctx: Dict[str, Any], current_scope: Dict[str, LLType], resolve_annotation_func: callable)
python/little_kernel/core/passes/utils/method_resolver.py:36
Method__init__
Initialize an EnumDef node. Args: enum_name: Name of the enum (e.g., 'GemmType') enum_class: The Pyt
python/little_kernel/core/passes/utils/ir_nodes.py:52
Method__init__
Initialize a SpecialStructDef node. Args: struct_name: Name of the special struct (e.g., 'Scheduler')
python/little_kernel/core/passes/utils/ir_nodes.py:76
← previousnext →2,501–2,600 of 5,103, ranked by callers