MCPcopy Create free account

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

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

Functionmbarrier_arrive_and_expect_tx
Arrive and expect transaction bytes on a mbarrier.
python/little_kernel/language/intrin/barrier.py:194
Functionmbarrier_arrive_cluster
Arrive at a barrier on a remote CTA in the cluster.
python/little_kernel/language/intrin/umma.py:310
Functionmbarrier_arrive_expect_tx_cluster
Cluster-scoped arrive_expect_tx: signals a barrier in target_cta's shared memory.
python/little_kernel/language/intrin/umma.py:290
Functionmbarrier_arrive_remote
Arrive on mbarrier at a remote CTA in cluster.
python/little_kernel/language/intrin/barrier.py:234
Functionmbarrier_wait
Wait on a mbarrier parity.
python/little_kernel/language/intrin/barrier.py:216
Methodmega_dispatch_group_gemm
( self, # dispatch token input: torch.Tensor, exp_indices: torch.Tensor,
python/triton_dist/layers/nvidia/ep_a2a_fused_layer.py:551
Methodmega_group_gemm_combine
( self, # group gemm gemm_input_data, gemm_weight, gemm_expert_ids,
python/triton_dist/layers/nvidia/ep_a2a_fused_layer.py:763
Functionmega_kernel_dispatch_token_moe_grouped_gemm
( task_counter_ptr, # global int32 [1], zero init # dispatch params recv_buf_offset_per_expert,
python/triton_dist/kernels/amd/ep_all2all_fused.py:316
Functionmega_kernel_dispatch_token_moe_grouped_gemm
( task_counter_ptr, # dispatch token params recv_buf_offset_per_expert, local_splits_buf,
python/triton_dist/kernels/nvidia/ep_all2all_fused.py:839
Functionmega_kernel_moe_grouped_gemm_combine_token
Serial-mode combine mega kernel: phase 1: every CTA strides over the grouped-GEMM(2) tiles, writing the down-proj output into th
python/triton_dist/kernels/amd/ep_all2all_fused.py:1042
Functionmega_kernel_moe_grouped_gemm_combine_token
( task_counter_ptr, # grouped gemm params a_ptr, b_ptr, c_ptr, expert_ids_ptr, sp
python/triton_dist/kernels/nvidia/ep_all2all_fused.py:1020
Functionmega_kernel_moe_grouped_gemm_combine_token_transposed_grouped_gemm
( task_counter_ptr, # grouped gemm params a_ptr, b_ptr, c_ptr, expert_ids_ptr, sp
python/triton_dist/kernels/nvidia/ep_all2all_fused.py:1288
Functionmemcpy_async
(src: torch.Tensor, dst: torch.Tensor, num_workgroups: int, block_size: int, num_warps: int)
python/triton_dist/kernels/amd/memcpy.py:44
Methodmethod
(self, arg1, arg2)
python/little_kernel/tests/unit/test_struct_stub.py:107
Functionmethod_to_intrin
Convert method-style calls to intrin function calls. Args: tree: AST module to transform ctx: Context dictionary (will b
python/little_kernel/core/passes/method_to_intrin.py:115
Functionmin_val
CUDA min function.
python/little_kernel/language/intrin/arith.py:79
Functionmlp_fc1_config_factory
(**kwargs)
python/triton_dist/mega_triton_kernel/tasks/linear.py:83
Functionmlp_fc2_config_factory
(**kwargs)
python/triton_dist/mega_triton_kernel/tasks/linear.py:94
Methodmodule
(self)
python/little_kernel/runtime/kernel.py:117
Functionmoe_gather_ar_grouped_gemm_kernel
( A_ptr, B_ptr, C_ptr, A_scale_ptr, gather_index_ptr, expert_index_ptr, M_ptr,
python/triton_dist/kernels/nvidia/moe_reduce_ar.py:323
Functionmoe_gather_ar_grouped_gemm_persistent_kernel
( A_ptr, B_ptr, C_ptr, A_scale_ptr, gather_index_ptr, expert_index_ptr, M_ptr,
python/triton_dist/kernels/nvidia/moe_reduce_ar.py:405
Functionmoe_gather_rs_grouped_gemm_kernel
( A_ptr, B_ptr, C_ptr, A_scale_ptr, gather_index_ptr, expert_index_ptr, M_ptr,
python/triton_dist/kernels/nvidia/moe_reduce_rs.py:168
Functionmoe_gather_rs_grouped_gemm_persistent_kernel
( A_ptr, B_ptr, C_ptr, A_scale_ptr, gather_index_ptr, expert_index_ptr, M_ptr,
python/triton_dist/kernels/nvidia/moe_reduce_rs.py:250
Functionmoe_grouped_gemm_2weights
( input_data, weight1, weight2, expert_ids, split_size, split_size_cum, tile_num,
python/triton_dist/kernels/nvidia/group_gemm.py:826
Functionmoe_grouped_gemm_kernel
( a_ptr, b_ptr, c_ptr, sorted_token_ids_ptr, expert_ids_ptr, tiled_m_ptr, ntiles_p
python/triton_dist/kernels/nvidia/allgather_group_gemm.py:613
Functionmoe_grouped_gemm_kernel
( A_ptr, B_ptr, C_ptr, A_scale_ptr, gather_index_ptr, expert_index_ptr, M_ptr,
python/triton_dist/kernels/nvidia/moe_reduce_ar.py:60
Functionmoe_grouped_gemm_kernel
( A_ptr, B_ptr, C_ptr, A_scale_ptr, gather_index_ptr, expert_index_ptr, M_ptr,
python/triton_dist/kernels/nvidia/moe_reduce_rs.py:331
Functionmoe_grouped_gemm_kernel_nk_const
( a_ptr, b_ptr, c_ptr, expert_ids_ptr, split_size_ptr, split_size_cum_ptr, tile_nu
python/triton_dist/kernels/nvidia/group_gemm.py:251
Functionmoe_grouped_gemm_persistent_kernel
( a_ptr, b_ptr, c_ptr, sorted_token_ids_ptr, expert_ids_ptr, tiled_m_ptr, ntiles_p
python/triton_dist/kernels/nvidia/allgather_group_gemm.py:766
Functionmoe_grouped_gemm_persistent_kernel
( A_ptr, B_ptr, C_ptr, A_scale_ptr, gather_index_ptr, expert_index_ptr, M_ptr,
python/triton_dist/kernels/nvidia/moe_reduce_ar.py:130
Functionmoe_grouped_gemm_persistent_kernel
( A_ptr, B_ptr, C_ptr, A_scale_ptr, gather_index_ptr, expert_index_ptr, M_ptr,
python/triton_dist/kernels/nvidia/moe_reduce_rs.py:401
Functionmoe_grouped_gemm_persistent_kernel_slow
( a_ptr, b_ptr, c_ptr, sorted_token_ids_ptr, expert_ids_ptr, tiled_m_ptr, ntiles_p
python/triton_dist/kernels/nvidia/allgather_group_gemm.py:677
Functionmoe_grouped_gemm_persistent_tma_kernel
( a_ptr, b_ptr, c_ptr, sorted_token_ids_ptr, expert_ids_ptr, tiled_m_ptr, ntiles_p
python/triton_dist/kernels/nvidia/allgather_group_gemm.py:836
Functionmoe_grouped_two_weights_split_K_gemm_kernel_nk_const
( a_ptr, b1_ptr, b2_ptr, c_ptr, expert_ids_ptr, split_size_ptr, split_size_cum_ptr
python/triton_dist/kernels/nvidia/group_gemm.py:402
Functionmoe_grouped_two_weights_split_N_gemm_kernel_nk_const
( a_ptr, b1_ptr, b2_ptr, c_ptr, expert_ids_ptr, split_size_ptr, split_size_cum_ptr
python/triton_dist/kernels/nvidia/group_gemm.py:318
Functionmoe_groupgemm_kernel
( A, B, C, scatter_idx, expert_idx, M, N, K, E, num_valid_tokens,
python/triton_dist/test/nvidia/test_ep_moe_inference.py:132
Functionmori_putmem_p2p_kernel
MoRI SHMEM P2P kernel using putmem_nbi (thread-level) Each thread independently transfers a chunk of data Memory layout: - src_t
python/triton_dist/test/amd/test_mori_shmem_bw.py:105
Functionmul_f32
32-bit float mul.
python/little_kernel/language/intrin/cuda_asm.py:344
Functionmul_hi_u32
Multiply high 32 bits: (a * b) >> 32.
python/little_kernel/language/intrin/cuda_asm.py:138
Functionmul_lo_u32
Multiply low 32 bits: (a * b) & 0xFFFFFFFF.
python/little_kernel/language/intrin/cuda_asm.py:130
Functionmultimem_ld_reduce_p_v4
(ptr, mask, _semantic=None)
python/triton_dist/language/extra/cuda/language_extra.py:401
Functionmxshmem_device_producer_all_gather_2d_put_block_kernel
( ag_buffer_ptr, signal_buffer_ptr, elem_per_rank, size_per_elem, signal_target, rank,
python/triton_dist/kernels/metax/allgather_gemm.py:241
Functionmxshmem_device_producer_p2p_put_block_kernel
( ag_buffer_ptr, signal_buffer_ptr, size_per_elem, signal_target, rank, local_world_si
python/triton_dist/kernels/metax/allgather_gemm.py:303
Functionmy_pe
Both NVSHMEM and ROCSHMEM
python/triton_dist/language/extra/libshmem_device.py:57
Functionmy_pe
(_semantic=None)
python/triton_dist/language/extra/hip/libmori_shmem_device.py:44
Functionmy_pe
(_semantic=None)
python/triton_dist/language/extra/hip/librocshmem_device.py:65
Functionmy_pe
(_semantic=None)
python/triton_dist/language/extra/maca/libmxshmem_device.py:48
Functionmy_pe
(_semantic=None)
python/triton_dist/language/extra/ascend/libaclshmem_device.py:13
Functionmy_pe
(_semantic=None)
python/triton_dist/language/extra/cuda/libnvshmem_device.py:102
Functionmy_pe
()
python/little_kernel/language/intrin/nvshmem.py:37
Functionn_pes
Both NVSHMEM and ROCSHMEM
python/triton_dist/language/extra/libshmem_device.py:63
Functionn_pes
(_semantic=None)
python/triton_dist/language/extra/hip/libmori_shmem_device.py:80
Functionn_pes
(_semantic=None)
python/triton_dist/language/extra/hip/librocshmem_device.py:77
Functionn_pes
(_semantic=None)
python/triton_dist/language/extra/maca/libmxshmem_device.py:62
Functionn_pes
(_semantic=None)
python/triton_dist/language/extra/ascend/libaclshmem_device.py:27
Functionn_pes
(_semantic=None)
python/triton_dist/language/extra/cuda/libnvshmem_device.py:116
Functionn_pes
()
python/little_kernel/language/intrin/nvshmem.py:46
Functionnamed_barrier_arrive
Named barrier arrive (without wait).
python/little_kernel/language/intrin/barrier.py:325
Functionnamed_barrier_sync
Named barrier synchronization.
python/little_kernel/language/intrin/barrier.py:310
Functionnanosleep
Sleep for approximately ns nanoseconds.
python/little_kernel/language/intrin/time_utils.py:76
Methodnbytes
Total size in bytes.
python/triton_dist/utils.py:1089
Methodnbytes
Get the size in bytes (available before materialization).
python/triton_dist/utils.py:1135
Functionnotify
(ptr, rank, signal=1, sig_op="set", comm_scope="inter_node", _semantic=None)
python/triton_dist/language/distributed_ops.py:103
Functionntid
(axis: core.constexpr, _semantic=None)
python/triton_dist/language/extra/cuda/language_extra.py:525
Methodnum_experts_per_rank
(self)
python/triton_dist/layers/amd/ep_a2a_layer.py:89
Methodnum_experts_per_rank
(self)
python/triton_dist/layers/nvidia/ep_a2a_layer.py:78
Functionnum_ranks
(axis=-1, _semantic=None)
python/triton_dist/language/distributed_ops.py:90
Methodnum_rs_sms
(self)
python/triton_dist/kernels/nvidia/reduce_scatter.py:130
Methodnum_rs_sms
(self)
tutorials/06-inter-node-reduce-scatter.py:158
Functionnum_threads
(_semantic=None)
python/triton_dist/language/extra/language_extra.py:109
Methodnumel
Total number of elements.
python/triton_dist/utils.py:1081
Functionnvshmem_device_producer_all_gather_2d_put_block_kernel
( ag_buffer_ptr, signal_buffer_ptr, elem_per_rank, size_per_elem, signal_target, rank,
python/triton_dist/kernels/nvidia/allgather.py:295
Functionnvshmem_device_producer_all_gather_2d_put_block_kernel
( remote_tensor_ptr, signal_buffer_ptr, elem_per_rank, size_per_elem, signal_target, l
tutorials/02-intra-node-allgather.py:108
Functionnvshmem_device_producer_p2p_put_block_kernel
( ag_buffer_ptr, signal_buffer_ptr, elem_per_rank, size_per_elem, signal_target, rank,
python/triton_dist/kernels/nvidia/allgather.py:357
Functionnvshmem_device_producer_p2p_put_block_kernel
( ag_buffer_ptr, # *Pointer* to allgather output vector. The rank-th index has been loaded with local ten
tutorials/07-overlapping-allgather-gemm.py:270
FunctionoutputWarning
python/src/ir.cc:100
Methodp2p_buf
(self)
python/triton_dist/kernels/nvidia/reduce_scatter.py:126
Functionp2p_copy_kernel
( src_ptr, src_pe, data_size_byte, )
python/triton_dist/kernels/nvidia/p2p.py:66
Functionp2p_copy_remote_to_local_kernel
( src_ptr, src_pe, dst_ptr, data_size_byte, NUM_SMS: tl.constexpr, BLOCK_SIZE: tl.cons
python/triton_dist/kernels/nvidia/p2p.py:119
Functionp2p_put_kernel
( src_ptr, dst_ptr, dst_pe, data_size_byte, signal_ptr, signal_value, )
python/triton_dist/kernels/nvidia/p2p.py:89
Functionp2p_set_signal
( signal_ptr, remote_pe, signal_value, num_barriers=1, )
python/triton_dist/kernels/nvidia/p2p.py:33
Functionp2p_wait_signal
( signal_ptr, remote_pe, signal_value, num_barriers=1, )
python/triton_dist/kernels/nvidia/p2p.py:47
Functionpack
(src: vector, dst_type, _semantic=None)
python/triton_dist/language/extra/cuda/language_extra.py:1004
Functionpack_b32_v2
(val0, val1, _semantic=None)
python/triton_dist/language/extra/cuda/language_extra.py:991
Functionpack_b32_v2_amd
(low, high)
python/triton_dist/kernels/common_ops.py:32
Functionpack_b32_v2_nv
(low, high, _semantic=None)
python/triton_dist/kernels/common_ops.py:37
Functionpack_bf16
Pack two FP32 values (as uint32 bit patterns) into one uint32 of two BF16.
python/little_kernel/language/intrin/umma.py:390
FunctionparseCommaSeparatedValues
Function to parse a comma-separated string into a vector of C-style strings
python/src/ir.cc:84
Functionpathlib_wrapper
(func)
shmem/rocshmem_bind/pyrocshmem/setup.py:45
Functionperf_8k_decode
(args)
python/triton_dist/test/nvidia/test_decode_attn.py:296
Functionperf_8k_decode_aot
(args)
python/triton_dist/test/nvidia/test_decode_attn.py:354
Functionperf_8k_decode_persistent
(args)
python/triton_dist/test/nvidia/test_decode_attn.py:415
Functionperf_8k_decode_persistent_aot
(args)
python/triton_dist/test/nvidia/test_decode_attn.py:473
Functionperf_ag_gemm
(args)
python/triton_dist/test/nvidia/test_ag_gemm.py:129
Functionperf_decode
(args)
python/triton_dist/test/nvidia/test_sp_decode_attn.py:205
Functionperf_torch
( input: torch.Tensor, input_splits_cpu: torch.Tensor, output_splits_cpu: torch.Tensor, )
python/triton_dist/test/nvidia/test_all_to_all_single_2d.py:77
Functionperf_torch
(args, input, weight, exp_indices)
python/triton_dist/test/nvidia/test_ep_a2a.py:356
Functionpersistent_gemm_kernel
( A, B, C, M, N, K, stride_am, stride_ak, stride_bk, stride_bn, st
python/triton_dist/test/amd/test_matmul_amd.py:555
Functionpersistent_gemm_notify
(a, b, bias, out, barrier, gemm_config: triton.Config)
python/triton_dist/kernels/nvidia/sp_ulysess_qkv_gemm_all2all.py:153
Functionpipeline_advance
Advance pipeline by 1 step. Returns new index. Updates phase via side effect.
python/little_kernel/design/flashcomm_dispatch.py:76
← previousnext →4,001–4,100 of 5,103, ranked by callers