MCPcopy Create free account

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

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

↓ 1 callersMethoddeinit_output_buffer
(self)
python/triton_dist/kernels/nvidia/sp_ulysess_qkv_gemm_all2all.py:631
↓ 1 callersMethoddeinit_symm_buffer
(self)
python/triton_dist/kernels/nvidia/sp_ulysess_o_all2all_gemm.py:610
↓ 1 callersFunctiondestroy
()
tutorials/09-AMD-overlapping-allgather-gemm.py:493
↓ 1 callersFunctiondestroy
()
tutorials/10-AMD-overlapping-gemm-reduce-scatter.py:403
↓ 1 callersMethoddisconnect
Disconnect from the server
python/triton_dist/mega_triton_kernel/test/models/chat.py:64
↓ 1 callersFunctiondispatch
Dispatch a function to a library :param func: the function to dispatch :param lib_name: the name of the library :para
python/triton_dist/language/core.py:33
↓ 1 callersMethoddispatch_layout_kernel
(self)
python/little_kernel/design/flashcomm_ep_kernels.py:129
↓ 1 callersMethoddispatch_postprocess
(self)
python/triton_dist/layers/amd/ep_a2a_layer.py:329
↓ 1 callersMethoddispatch_postprocess
(self)
python/triton_dist/layers/nvidia/ep_a2a_fused_layer.py:465
↓ 1 callersMethoddispatch_postprocess
(self)
python/triton_dist/layers/nvidia/ep_a2a_layer.py:355
↓ 1 callersFunctiondispatch_postprocess_kernel_v2_for_expert
( target_expert_idx, recv_token_source_indices, # [num_local_experts, world_size * max_m] recv_sc
python/triton_dist/kernels/amd/low_latency_all_to_all_v2.py:76
↓ 1 callersFunctiondispatch_postprocess_kernel_v2_for_expert
( target_expert_idx, recv_token_source_indices, # [num_local_experts, world_size * max_m] recv_sc
python/triton_dist/kernels/nvidia/low_latency_all_to_all_v2.py:60
↓ 1 callersMethoddispatch_token
( self, recv_buf_offset_per_expert, output_buf: torch.Tensor, ep_a2a_layout_de
python/triton_dist/layers/amd/ep_a2a_layer.py:340
↓ 1 callersMethoddispatch_token
(self, recv_buf_offset_per_expert, output_buf: torch.Tensor, ep_a2a_layout_desc: EPAllT
python/triton_dist/layers/nvidia/ep_a2a_layer.py:371
↓ 1 callersMethoddist_triton_AR_fwd
triton_dist AR forward pass for TP. This version uses gemm + gemm + AllReduce x: input tensor, shape [batch_size, seq_len, hi
python/triton_dist/layers/nvidia/tp_mlp.py:178
↓ 1 callersMethoddist_triton_ag_gemm
Triton Dist forward pass using AllGather-GEMM. This version uses ag_gemm. x: input tensor, shape [batch_size * seq_len, hidde
python/triton_dist/layers/amd/tp_mlp.py:172
↓ 1 callersFunctiondist_triton_gemm_a2a
( sp_group: torch.distributed.ProcessGroup, sp_op_ctx: UlyssesSpInferPreAttnContext, input: torch.
python/triton_dist/test/nvidia/test_ulysses_sp_infer_qkv_proj_a2a.py:135
↓ 1 callersMethoddist_triton_gemm_ar_fwd
Triton Dist forward pass using GEMM-AllReduce. This version uses gemm_ar. x: input tensor, shape [batch_size * seq_len, hidde
python/triton_dist/layers/nvidia/tp_mlp.py:206
↓ 1 callersMethoddist_triton_gemm_rs
Triton Dist forward pass using GEMM-ReduceScatter. This version uses gemm_rs. x: input tensor, shape [batch_size * seq_len, h
python/triton_dist/layers/amd/tp_mlp.py:200
↓ 1 callersFunctiondo_inspect
(args)
python/triton_dist/tools/tune/tune_gemm.py:337
↓ 1 callersFunctiondo_list
(args)
python/triton_dist/tools/tune/tune_gemm.py:326
↓ 1 callersFunctiondo_tune
(args)
python/triton_dist/tools/tune/tune_gemm.py:348
↓ 1 callersFunctiondump_c_code
(out_path: Path, params)
python/triton_dist/tools/compile/compile.py:277
↓ 1 callersFunctionenable_peer_access
Enable P2P memory access between all GPU pairs (idempotent).
python/little_kernel/design/test_flashcomm_multi_gpu.py:174
↓ 1 callersFunctionenable_peer_access_for
(my_gpu, all_gpus)
python/little_kernel/design/test_flashcomm_torchrun.py:140
↓ 1 callersMethodencode_tag
TAG = GLOBAL ID | TASK TYPE | EVENT(IS_START)
python/triton_dist/tools/profiler/language.py:96
↓ 1 callersMethodencoding_with_deps
task_type | layer_id | task_id | tile_id_or_start | dependency(l, r) | io_tensors | extra_params
python/triton_dist/mega_triton_kernel/core/task_base.py:222
↓ 1 callersFunctionenhanced_dump
Enhanced version of ast.dump that supports custom nodes and attributes. This function uses the standard ast.dump as a base, then enhance
python/little_kernel/core/passes/utils/enhanced_dump.py:162
↓ 1 callersFunctionenhanced_unparse
Enhanced version of ast.unparse that supports custom nodes and attributes. Args: tree: The AST to unparse show_custom_at
python/little_kernel/core/passes/utils/enhanced_unparse.py:449
↓ 1 callersFunctionenque_tasks
(num_sms, megakernel_tasks, strategy: SchedulingStrategy = SchedulingStrategy.ROUND_ROBIN, ena
python/triton_dist/mega_triton_kernel/core/scheduler.py:157
↓ 1 callersFunctionensure_nvml_initialized
()
python/triton_dist/nv_utils.py:52
↓ 1 callersMethodenumerate_functions
Enumerate all function symbols in a module. Args: module: CUDA module handle cubin_data: Optional CUBIN binar
python/little_kernel/runtime/cuda_runtime.py:348
↓ 1 callersFunctionep_combine_token_inplace
( counter_workspace, num_input_tokens_per_rank, send_reqs_recv_tensor, intra_node_reduce_buf,
python/triton_dist/kernels/nvidia/ep_a2a.py:962
↓ 1 callersFunctionep_dispatch_token_inplace
( send_reqs_for_nodes, signal_buf, recv_buf_offset_per_expert, send_buf, output_buf, w
python/triton_dist/kernels/nvidia/ep_a2a.py:881
↓ 1 callersFunctionestimate_all_gather_time_ms
just as reduce_scatter.
python/triton_dist/kernels/nvidia/comm_perf_model.py:112
↓ 1 callersFunctionestimate_gemm_max_stages
(BM, BN, BK, a_dtype, b_dtype, shared_memory_limit: int)
python/triton_dist/test/nvidia/test_ag_moe.py:79
↓ 1 callersFunctionestimate_gemm_shared_memory_size
(BM, BN, BK, a_dtype: torch.dtype, b_dtype: torch.dtype, stages: int)
python/triton_dist/test/nvidia/test_ag_moe.py:75
↓ 1 callersFunctionestimate_gemm_sol_time_ms
refer to this: https://arnon.dk/matching-sm-architectures-arch-and-gencode-for-various-nvidia-cards/
python/triton_dist/kernels/nvidia/gemm_perf_model.py:221
↓ 1 callersFunctionexchange_metadata_inter_node_kernel
( in_splits_offsets, trans_in_splits_offsets, # for transpose recv_splits_offsets, out_splits
python/triton_dist/kernels/nvidia/all_to_all_vdev_2d_offset_inter_node.py:178
↓ 1 callersFunctionexchange_split_offset_2d_intra_node
( in_splits_offsets, # (2, nsplits) out_splits_offsets, # (2, nsplits) partial_sum_ptr, # (num_
python/triton_dist/kernels/nvidia/all_to_all_vdev_2d_offset.py:142
↓ 1 callersFunctionexp2_f32
Base-2 exponential (approximate, SFU).
python/little_kernel/language/intrin/cuda_asm.py:257
↓ 1 callersMethodextra_params_to_tuple
(self)
python/triton_dist/mega_triton_kernel/core/task_base.py:218
↓ 1 callersFunctionextract_code_snippet
Extract a code snippet around the specified location. Args: source_lines: List of source code lines lineno: Starting lin
python/little_kernel/core/passes/utils/error_report.py:79
↓ 1 callersMethodextract_nvshmem_functions
()
python/triton_dist/nv_utils.py:477
↓ 1 callersFunctionf_key
()
python/triton_dist/autotuner.py:168
↓ 1 callersFunctionfill_vector
(vec_size, dtype, val, _semantic=None)
python/triton_dist/language/simt_ops.py:235
↓ 1 callersMethodfinalize
(self)
python/triton_dist/kernels/amd/low_latency_all_to_all_v2.py:639
↓ 1 callersMethodfinalize
(self)
python/triton_dist/kernels/nvidia/all_to_all_vdev_2d_offset.py:478
↓ 1 callersMethodfinalize
(self)
python/triton_dist/kernels/nvidia/all_to_all_vdev_2d_offset_inter_node.py:501
↓ 1 callersMethodfinalize
(self)
python/triton_dist/kernels/nvidia/gemm_allreduce.py:61
↓ 1 callersMethodfinalize
(self)
python/triton_dist/kernels/nvidia/sp_ulysess_qkv_gemm_all2all.py:617
↓ 1 callersMethodfinalize
(self)
python/triton_dist/kernels/nvidia/low_latency_all_to_all_v2.py:620
↓ 1 callersMethodfinalize
(self)
python/triton_dist/kernels/nvidia/common_ops.py:245
↓ 1 callersMethodfinalize
(self)
python/triton_dist/kernels/nvidia/sp_ulysess_o_all2all_gemm.py:595
↓ 1 callersMethodfinalize
(self)
tutorials/08-overlapping-gemm-reduce-scatter.py:92
↓ 1 callersFunctionfind_free_gpus
Find GPUs with least memory used.
python/little_kernel/design/test_flashcomm_multi_gpu.py:160
↓ 1 callersMethodfind_producer
(self, cur_tensor: torch.Tensor)
python/triton_dist/mega_triton_kernel/core/graph.py:108
↓ 1 callersFunctionformat_flops
Format FLOPS value for display.
python/little_kernel/benchmark/utils.py:232
↓ 1 callersMethodforward
( ctx, hidden_states: torch.Tensor, selected_experts: torch.Tensor, routing_we
python/triton_dist/function/amd/ep_moe_fused.py:66
↓ 1 callersMethodforward
( self, input: torch.Tensor, dispatch_split_cumsum: torch.Tensor, gather_idx_c
python/triton_dist/test/nvidia/test_ep_moe_inference.py:442
↓ 1 callersMethodforward
( self, input: torch.Tensor, # [local_M, K] weight: torch.Tensor, # [loc
tutorials/09-AMD-overlapping-allgather-gemm.py:366
↓ 1 callersMethodforward
( self, input: torch.Tensor, # [M, local_K] weight: torch.Tensor, # [N,
tutorials/10-AMD-overlapping-gemm-reduce-scatter.py:306
↓ 1 callersMethodforward_pull
(self, symm_buffer: torch.Tensor)
python/triton_dist/layers/nvidia/low_latency_allgather_layer.py:53
↓ 1 callersMethodforward_push_2d_ll_multimem
(self, symm_buffer: torch.Tensor)
python/triton_dist/layers/nvidia/low_latency_allgather_layer.py:182
↓ 1 callersMethodforward_push_3d
(self, symm_buffer: torch.Tensor)
python/triton_dist/layers/nvidia/low_latency_allgather_layer.py:99
↓ 1 callersMethodforward_push_3d_ll
(self, symm_buffer: torch.Tensor)
python/triton_dist/layers/nvidia/low_latency_allgather_layer.py:102
↓ 1 callersMethodforward_push_numa_2d
(self, symm_buffer: torch.Tensor)
python/triton_dist/layers/nvidia/low_latency_allgather_layer.py:123
↓ 1 callersMethodforward_push_numa_2d_ll
(self, symm_buffer: torch.Tensor)
python/triton_dist/layers/nvidia/low_latency_allgather_layer.py:164
↓ 1 callersMethodforward_push_numa_2d_ll_multinode
(self, symm_buffer: torch.Tensor)
python/triton_dist/layers/nvidia/low_latency_allgather_layer.py:144
↓ 1 callersMethodfree
(self)
python/little_kernel/design/test_flashcomm_torchrun.py:126
↓ 1 callersMethodfree_tensor
Free a tensor using the configured free function. Handles both LazyTensor and regular torch.Tensor.
python/triton_dist/utils.py:1449
↓ 1 callersFunctionfunc
()
python/triton_dist/test/nvidia/test_sp_decode_attn.py:254
↓ 1 callersFunctionfused_ag_gemm_intra_node_op
Fused all-gather and GEMM operation in a single kernel
python/triton_dist/kernels/amd/allgather_gemm.py:973
↓ 1 callersFunctionfused_ep_moe_autograd
Same as ``fused_ep_moe`` but routed through the autograd ``Function``.
python/triton_dist/function/amd/ep_moe_fused.py:85
↓ 1 callersFunctionfused_sp_ag_attn_inter_node
( ctx: SPAllGatherAttentionContextInterNode, q_shard: torch.Tensor, # [total_q_shard, q_head, head_di
python/triton_dist/kernels/nvidia/sp_ag_attention_inter_node.py:505
↓ 1 callersFunctionfused_sp_ag_attn_intra_node
( ctx: SPAllGatherAttentionContextIntraNode, q_shard: torch.Tensor, # [total_q_shard, q_head, head_di
python/triton_dist/kernels/nvidia/sp_ag_attention_intra_node.py:433
↓ 1 callersMethodfwd
(self, hidden_states: torch.Tensor, position_ids: torch.Tensor, cos_sin_cache: torch.Tensor, kv_ca
python/triton_dist/models/qwen_moe.py:104
↓ 1 callersMethodfwd
(self, hidden_states: torch.Tensor, position_ids: torch.Tensor, cos_sin_cache: torch.Tensor, kv_ca
python/triton_dist/models/dense.py:101
↓ 1 callersFunctiongemm_allreduce
consume gemm
tutorials/ascend/03-ascend-gemm-allreduce-oneshot.py:165
↓ 1 callersFunctiongemm_allreduce_op
(ctx: GemmARContext, a, b, gemm_config: triton.Config, copy_to_local=True, USE_MULTIMEM_ST=False,
python/triton_dist/kernels/nvidia/gemm_allreduce.py:731
↓ 1 callersFunctiongemm_non_persistent
return C = A @ B
python/triton_dist/kernels/nvidia/allgather_gemm.py:771
↓ 1 callersFunctiongemm_only
(A: torch.Tensor, B: torch.Tensor, ctx: AllGatherGEMMTensorParallelContext, NUM_SMS: int, gemm_c
python/triton_dist/kernels/amd/allgather_gemm.py:1148
↓ 1 callersFunctiongemm_only
GEMM-only operation without All-to-All communication Used for benchmarking GEMM performance separately
python/triton_dist/kernels/nvidia/all_to_all_single_gemm.py:406
↓ 1 callersMethodgemm_only_perf
(self, A: torch.Tensor, weight: torch.Tensor, iters: int = 100, warmup_iters: int = 10,
python/triton_dist/test/amd/test_ag_gemm_intra_node.py:126
↓ 1 callersFunctiongemm_op
(ctx: GemmARContext, a, b, gemm_config: triton.Config, copy_to_local=True, USE_MULTIMEM_ST=False, As=None,
python/triton_dist/kernels/nvidia/gemm_allreduce.py:785
↓ 1 callersFunctiongemm_persistent
return C = A @ B
python/triton_dist/kernels/nvidia/allgather_gemm.py:730
↓ 1 callersFunctiongemm_reduce_scatter
consume gemm
tutorials/ascend/02-ascend-gemm-reduce-scatter.py:176
↓ 1 callersFunctiongemm_rs_intra_node_op
gemm reduce scatter for intra-node return C = reduce_scatter(A, B.T) Args: A (torch.Tensor<float>): local matmul A matrix. shape: [M
python/triton_dist/kernels/amd/gemm_reduce_scatter.py:333
↓ 1 callersFunctiongemm_rs_multi_node_persistent_op
( input, weight, ctx: GEMMReduceScatterTensorParallelContext)
tutorials/08-overlapping-gemm-reduce-scatter.py:367
↓ 1 callersFunctiongemm_rs_op
(A: torch.Tensor, B: torch.Tensor, ctx: GEMMReduceScatterTensorParallelContext, gemm_config: tr
python/triton_dist/kernels/nvidia/gemm_reduce_scatter.py:620
↓ 1 callersFunctiongemm_rs_producer_non_persistent
(A: torch.Tensor, B: torch.Tensor, C: torch.Tensor, barrier: torch.Tensor,
python/triton_dist/kernels/nvidia/gemm_reduce_scatter.py:563
↓ 1 callersFunctiongemm_rs_producer_persistent
(a, b, c, barr
tutorials/08-overlapping-gemm-reduce-scatter.py:289
↓ 1 callersFunctiongen_atomic_add
()
python/triton_dist/tools/gen_amd_libdevice_extra.py:134
↓ 1 callersFunctiongen_atomic_cas
()
python/triton_dist/tools/gen_amd_libdevice_extra.py:149
↓ 1 callersFunctiongen_cmakelists
(workspace: Path, libname: str, with_runtime: bool = False)
python/triton_dist/tools/compile_aot.py:741
↓ 1 callersFunctiongen_fence
()
python/triton_dist/tools/gen_amd_libdevice_extra.py:165
↓ 1 callersFunctiongen_kernel_library
(workspace: Path)
python/triton_dist/tools/compile_aot.py:762
↓ 1 callersFunctiongen_load
()
python/triton_dist/tools/gen_amd_libdevice_extra.py:104
↓ 1 callersFunctiongen_pybind_args_with_full_args
(m)
python/triton_dist/tools/compile_aot.py:351
↓ 1 callersFunctiongen_pybind_signature_with_full_args
(m)
python/triton_dist/tools/compile_aot.py:355
← previousnext →1,401–1,500 of 5,103, ranked by callers