MCPcopy Create free account

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

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

↓ 1 callersFunctiontest_barrier_all_intra_node_atomic_cas_block_i32
()
python/triton_dist/test/nvidia/test_compile_aot.py:190
↓ 1 callersFunctiontest_barrier_all_intra_node_non_atomic
()
python/triton_dist/test/nvidia/test_common_ops.py:73
↓ 1 callersFunctiontest_barrier_on_this_grid
()
python/triton_dist/test/amd/test_common_ops.py:43
↓ 1 callersFunctiontest_barrier_on_this_grid
()
python/triton_dist/test/nvidia/test_common_ops.py:54
↓ 1 callersFunctiontest_bisect_cases
()
python/triton_dist/test/nvidia/test_common_ops.py:170
↓ 1 callersFunctiontest_calc_gather_scatter_index
(ntokens, topk, nexperts, block_size=1)
python/triton_dist/test/nvidia/test_moe_utils.py:57
↓ 1 callersFunctiontest_compute_offset
( num_experts: int = 256, topk: int = 8, num_token: int = 4096, num_sm: int = 4, seed: int
python/little_kernel/design/test_flashcomm_compute.py:111
↓ 1 callersFunctiontest_copy_kernel_p2p_bandwidth
Test copy kernel bandwidth using 2D grid single kernel push-mode AllGather.
python/triton_dist/test/amd/test_bandwidth.py:385
↓ 1 callersFunctiontest_copy_kernel_push_allgather_bandwidth
Test copy kernel bandwidth using 2D grid single kernel push-mode AllGather.
python/triton_dist/test/amd/test_bandwidth.py:205
↓ 1 callersFunctiontest_cp_engine_push_allgather_bandwidth
Test CP Engine bandwidth using multi-stream push-mode AllGather.
python/triton_dist/test/amd/test_bandwidth.py:151
↓ 1 callersFunctiontest_cp_engine_push_p2p_bandwidth
( src_rank: int, dst_rank: int, local_tensor: torch.Tensor, remote_tensors: List[torch.Tensor]
python/triton_dist/test/amd/test_bandwidth.py:294
↓ 1 callersFunctiontest_dispatch_layout
( num_experts: int = 256, topk: int = 8, num_token: int = 4096, num_sm: int = 4, seed: int
python/little_kernel/design/test_flashcomm_compute.py:280
↓ 1 callersFunctiontest_histogram
(ntokens, topk, nexperts)
python/triton_dist/test/nvidia/test_moe_utils.py:49
↓ 1 callersFunctiontest_laneid
(device)
python/triton_dist/test/amd/test_language_extra.py:41
↓ 1 callersFunctiontest_ld_st
()
python/triton_dist/test/nvidia/test_language_extra.py:64
↓ 1 callersFunctiontest_ld_st_main
()
python/triton_dist/test/common/test_language_extra.py:198
↓ 1 callersFunctiontest_ld_st_mixed_bitwidth
()
python/triton_dist/test/common/test_language_extra.py:210
↓ 1 callersFunctiontest_level
Test a single level kernel.
python/little_kernel/benchmark/gemm_sm100/test_all_levels.py:31
↓ 1 callersFunctiontest_load
(dtype: torch.dtype = torch.int32, semantic="monotonic", scope="agent")
python/triton_dist/test/amd/test_extern_functions.py:67
↓ 1 callersFunctiontest_matmul_descriptor_persistent
TMA descriptors require a global memory allocation
python/triton_dist/test/nvidia/test_compile_aot.py:210
↓ 1 callersFunctiontest_may_hang
()
python/triton_dist/test/nvidia/test_language_extra.py:350
↓ 1 callersFunctiontest_mori_shmem_basic
Run all mori shmem basic tests
python/triton_dist/test/amd/test_mori_shmem_api.py:54
↓ 1 callersFunctiontest_mori_shmem_device
()
python/triton_dist/test/amd/test_mori_shmem_api.py:94
↓ 1 callersFunctiontest_multi_gpu_dispatch
( num_ranks: int, num_experts: int = 64, topk: int = 8, num_token: int = 256, hidden_size:
python/little_kernel/design/test_flashcomm_multi_gpu.py:370
↓ 1 callersFunctiontest_nvshmem_barrier_sync_quiet_fence
only test runs, no result checked
python/triton_dist/test/nvidia/test_nvshmem_api.py:469
↓ 1 callersFunctiontest_nvshmem_basic
()
python/triton_dist/test/nvidia/test_nvshmem_api.py:66
↓ 1 callersFunctiontest_nvshmem_broadcast
(N, dtype: torch.dtype = torch.int8)
python/triton_dist/test/nvidia/test_nvshmem_api.py:515
↓ 1 callersFunctiontest_nvshmem_multimem_st
(N)
python/triton_dist/test/nvidia/test_nvshmem_api.py:634
↓ 1 callersFunctiontest_nvshmem_signal
()
python/triton_dist/test/nvidia/test_nvshmem_api.py:301
↓ 1 callersFunctiontest_nvshmemi_putmem_rma
(N, dtype: torch.dtype = torch.int8)
python/triton_dist/test/nvidia/test_nvshmem_api.py:716
↓ 1 callersFunctiontest_nvshmemi_putmem_rma_signal_with_scope
(N, dtype: torch.dtype = torch.int8)
python/triton_dist/test/nvidia/test_nvshmem_api.py:819
↓ 1 callersFunctiontest_nvshmemx_getmem_with_scope
(N, dtype: torch.dtype = torch.int8)
python/triton_dist/test/nvidia/test_nvshmem_api.py:103
↓ 1 callersFunctiontest_nvshmemx_putmem_signal_with_scope
(N, dtype: torch.dtype = torch.int8)
python/triton_dist/test/nvidia/test_nvshmem_api.py:345
↓ 1 callersFunctiontest_nvshmemx_putmem_with_scope
(pg, N, dtype: torch.dtype = torch.int8)
python/triton_dist/test/nvidia/test_nvshmem_init.py:39
↓ 1 callersFunctiontest_nvshmemx_putmem_with_scope
(N, dtype: torch.dtype = torch.int8)
python/triton_dist/test/nvidia/test_nvshmem_api.py:199
↓ 1 callersFunctiontest_perf_ag_gemm_golden
(args, use_triton=False)
python/triton_dist/test/metax/test_ag_gemm_intra_node.py:220
↓ 1 callersFunctiontest_pin_kernel
()
unittest/test_triton_tuple_input.py:130
↓ 1 callersFunctiontest_reduce_scatter_2d_op
(M_per_rank, N, dtype, profile, warmup_iters=30, iters=500, debug=False)
python/triton_dist/test/nvidia/test_reduce_scatter.py:141
↓ 1 callersFunctiontest_reduce_scatter_ring_push_1d_intra_node
(M_per_rank, N, dtype: torch.dtype, method, warmup_iters=30, iters=500,
python/triton_dist/test/nvidia/test_reduce_scatter.py:50
↓ 1 callersFunctiontest_rocshmem_basic
()
python/triton_dist/test/amd/test_rocshmem_api.py:139
↓ 1 callersFunctiontest_rocshmem_device
()
python/triton_dist/test/amd/test_rocshmem_api.py:46
↓ 1 callersFunctiontest_rocshmem_memcpy
()
python/triton_dist/test/amd/test_rocshmem_api.py:172
↓ 1 callersFunctiontest_shfl_down_sync
(device)
python/triton_dist/test/amd/test_language_extra.py:134
↓ 1 callersFunctiontest_shfl_down_sync
()
python/triton_dist/test/nvidia/test_language_extra.py:204
↓ 1 callersFunctiontest_shfl_sync
(device)
python/triton_dist/test/amd/test_language_extra.py:69
↓ 1 callersFunctiontest_shfl_sync
()
python/triton_dist/test/nvidia/test_language_extra.py:149
↓ 1 callersFunctiontest_shfl_up_sync
(device)
python/triton_dist/test/amd/test_language_extra.py:100
↓ 1 callersFunctiontest_shfl_up_sync
()
python/triton_dist/test/nvidia/test_language_extra.py:177
↓ 1 callersFunctiontest_shfl_xor_sync
()
python/triton_dist/test/nvidia/test_language_extra.py:234
↓ 1 callersFunctiontest_simple_kernel
Test a simple vector addition kernel.
python/little_kernel/design/test_runtime.py:52
↓ 1 callersFunctiontest_simt_matmul
()
python/triton_dist/test/common/test_simt.py:155
↓ 1 callersFunctiontest_simt_transpose
()
python/triton_dist/test/common/test_simt.py:57
↓ 1 callersFunctiontest_sreg
()
python/triton_dist/test/nvidia/test_language_extra.py:45
↓ 1 callersFunctiontest_store
(dtype: torch.dtype = torch.int32, semantic="monotonic", scope="agent")
python/triton_dist/test/amd/test_extern_functions.py:89
↓ 1 callersFunctiontest_test_aot_kernel
()
python/triton_dist/test/nvidia/test_compile_aot.py:165
↓ 1 callersFunctiontest_threadblock_swizzle_ag_moe_naive
(nexperts=2, TP_SIZE=4, LOCAL_TP_SIZE=4, BLOCK_SIZE_M=128, verbose=False)
python/triton_dist/kernels/nvidia/threadblock_swizzle_ag_moe_triton.py:385
↓ 1 callersFunctiontest_threadblock_swizzle_ag_moe_random
(nexperts=32, TP_SIZE=8, LOCAL_TP_SIZE=8, BLOCK_SIZE_M=128, verbose=False)
python/triton_dist/kernels/nvidia/threadblock_swizzle_ag_moe_triton.py:394
↓ 1 callersFunctiontest_tid
()
python/triton_dist/test/metax/test_common_ops.py:14
↓ 1 callersFunctiontest_torch_allgather_bandwidth
Test PyTorch AllGather bandwidth as a reference.
python/triton_dist/test/amd/test_bandwidth.py:269
↓ 1 callersFunctiontest_tuple_kernel
()
unittest/test_triton_tuple_input.py:110
↓ 1 callersFunctiontest_warp_prefix
()
python/triton_dist/test/nvidia/test_language_extra.py:285
↓ 1 callersFunctionthreadblock_complex_swizzle_allgather_gemm_triton
(tiled_m, M, rank, WORLD_SIZE, NNODES, BLOCK_SIZE_M)
python/triton_dist/kernels/nvidia/ag_gemm_threadblock_swizzle.py:304
↓ 1 callersFunctionthreadblock_naive_swizzle_allgather_gemm_triton
(tiled_m, M, rank, WORLD_SIZE, NNODES, BLOCK_SIZE_M)
python/triton_dist/kernels/nvidia/ag_gemm_threadblock_swizzle.py:310
↓ 1 callersFunctionthreadblock_swizzle_ag_moe
python/triton_dist/kernels/nvidia/threadblock_swizzle_ag_moe.cc:174
↓ 1 callersFunctionthreadblock_swizzle_ag_moe
(tiled_m, rank, nexperts: int, tp_size: int, block_size_m: int, token_cnts_per_
python/triton_dist/kernels/nvidia/threadblock_swizzle_ag_moe.py:124
↓ 1 callersFunctionthreadblock_swizzle_ag_moe_triton
( rank, N_EXPERTS: int, TP_SIZE: int, LOCAL_TP_SIZE: int, BLOCK_SIZE_M: int, ntokens_b
python/triton_dist/kernels/nvidia/threadblock_swizzle_ag_moe_triton.py:233
↓ 1 callersFunctionthreadblock_swizzle_allgather_gemm_torch
(tiled_m, M, rank, WORLD_SIZE, NNODES, BLOCK_SIZE_M)
python/triton_dist/kernels/nvidia/ag_gemm_threadblock_swizzle.py:190
↓ 1 callersFunctionthreadblock_swizzle_gemm_reduce_scatter
(tiled_m, M, rank, WORLD_SIZE, NNODES, BLOCK_SIZE_M)
python/triton_dist/kernels/nvidia/gemm_rs_threadblock_swizzle.py:182
↓ 1 callersFunctionthreadblock_swizzle_gemm_reduce_scatter_triton
(tiled_m, M, rank, WORLD_SIZE, NNODES, BLOCK_SIZE_M)
python/triton_dist/kernels/nvidia/gemm_rs_threadblock_swizzle.py:157
↓ 1 callersFunctiontile_kernel_dispatch_token_intra_node
( pid, num_pid, counter_ptr, # local int32 [num_experts]: per-global-expert sent counter barr
python/triton_dist/kernels/amd/ep_all2all_fused.py:126
↓ 1 callersFunctiontile_kernel_dispatch_token_intra_node
( pid, num_pid, counter_ptr, barriers_ptr, recv_buf_offset_per_expert, local_splits_bu
python/triton_dist/kernels/nvidia/ep_all2all_fused.py:73
↓ 1 callersFunctiontile_kernel_dispatch_token_intra_node_two_stage
( pid, num_pid, barriers_ptr, token_rank_table_buf, token_indirect_pos_buf, recv_buf_o
python/triton_dist/kernels/nvidia/ep_all2all_fused.py:168
↓ 1 callersFunctiontile_kernel_gather_combine_token_intra_node
Gather each origin token's topk expert outputs from the expert ranks (via ``symm_at`` peer pointers) and write the (weighted) sum. One warp per to
python/triton_dist/kernels/amd/ep_all2all_fused.py:988
↓ 1 callersMethodto_empty
(self)
python/triton_dist/mega_triton_kernel/core/task_base.py:128
↓ 1 callersMethodto_tasks
(self)
python/triton_dist/mega_triton_kernel/core/graph.py:134
↓ 1 callersFunctiontorch_ag_gemm
( pg: torch.distributed.ProcessGroup, A: torch.Tensor, B: torch.Tensor, )
python/triton_dist/benchmark/bench_allgather_gemm.py:56
↓ 1 callersFunctiontorch_ag_gemm
( pg: torch.distributed.ProcessGroup, A: torch.Tensor, B: torch.Tensor, )
python/triton_dist/test/stress/stress_test_ag_gemm.py:37
↓ 1 callersFunctiontorch_ag_gemm
( pg: torch.distributed.ProcessGroup, local_input: torch.Tensor, local_weight: torch.Tensor, a
python/triton_dist/test/metax/test_ag_gemm_inter_node.py:171
↓ 1 callersFunctiontorch_ag_gemm
( pg: torch.distributed.ProcessGroup, local_input: torch.Tensor, local_weight: torch.Tensor, a
tutorials/07-overlapping-allgather-gemm.py:443
↓ 1 callersFunctiontorch_ag_gemm
( input: torch.Tensor, # [local_M, k] weight: torch.Tensor, # [local_N, K] transed_weight: bool,
tutorials/09-AMD-overlapping-allgather-gemm.py:432
↓ 1 callersFunctiontorch_all_reduce
(local_input: torch.Tensor, pg: torch.distributed.ProcessGroup)
python/triton_dist/test/nvidia/test_allreduce.py:78
↓ 1 callersFunctiontorch_all_reduce
(local_input: torch.Tensor, pg: torch.distributed.ProcessGroup)
python/triton_dist/mega_triton_kernel/test/torch_impl_utils.py:117
↓ 1 callersFunctiontorch_allgather_gemm
torch allgather gemm using torch.distributed.all_gather - A_local: local A tensor on this rank - B: B tensor (same across all ranks)
tutorials/ascend/01-ascend-allgather-gemm.py:220
↓ 1 callersFunctiontorch_backward_single
Reference combine: reverse permute → all_to_all back → gather → sum topk.
python/triton_dist/test/amd/test_ep_a2a.py:248
↓ 1 callersFunctiontorch_backward_single
(input, exp_indices, num_experts)
python/triton_dist/test/nvidia/test_ep_a2a.py:302
↓ 1 callersFunctiontorch_forward_comm
(scattered_input, scattered_weight, a2a_splits_cpu, splits_cpu_cur_rank)
python/triton_dist/test/nvidia/test_ep_a2a.py:232
↓ 1 callersFunctiontorch_forward_preprocess
(input, weight, exp_indices, num_experts)
python/triton_dist/test/nvidia/test_ep_a2a.py:202
↓ 1 callersFunctiontorch_forward_single
Reference dispatch: scatter → all_to_all → permute by (expert, rank).
python/triton_dist/test/amd/test_ep_a2a.py:212
↓ 1 callersFunctiontorch_forward_single
(input, weight, exp_indices, num_experts)
python/triton_dist/test/nvidia/test_ep_a2a.py:262
↓ 1 callersMethodtorch_fwd_no_loop
Reference PyTorch forward pass using Tensor Parallelism. This version does not use a loop over experts. But it requires extra FLOPs.
python/triton_dist/layers/nvidia/tp_moe.py:206
↓ 1 callersFunctiontorch_gate_silu_mul_up
(x)
python/triton_dist/mega_triton_kernel/test/torch_impl_utils.py:109
↓ 1 callersFunctiontorch_gemm_a2a
( sp_group: torch.distributed.ProcessGroup, full_input: torch.Tensor, # [seq_len, hidden] weight:
python/triton_dist/test/nvidia/test_ulysses_sp_infer_qkv_proj_a2a.py:81
↓ 1 callersFunctiontorch_gemm_allreduce
Compute golden reference using PyTorch's matmul and all_reduce. Args: A_list: List of A matrices from all ranks (each on their respe
tutorials/ascend/03-ascend-gemm-allreduce-oneshot.py:211
↓ 1 callersFunctiontorch_gemm_ar
( A: torch.Tensor, # [M, local_k] weight: torch.Tensor, # [N, local_K] bias: Optional[torch.Tens
python/triton_dist/test/nvidia/test_gemm_ar.py:54
↓ 1 callersFunctiontorch_gemm_only
( A: torch.Tensor, # [M, K_per_rank] B: torch.Tensor, # [K_per_rank, N] bias: Optional[torch.Ten
python/triton_dist/test/nvidia/test_gemm_rs.py:57
↓ 1 callersFunctiontorch_gemm_reduce_scatter
torch reduce-scatter gemm using torch.distributed.all_gather - A_list: list of A tensors from all ranks (gathered) - B_list: list of B te
tutorials/ascend/02-ascend-gemm-reduce-scatter.py:222
↓ 1 callersFunctiontorch_gemm_rs
return C = reduce_scatter(A @ B.T + bias)
python/triton_dist/test/amd/test_gemm_rs_intra_node.py:39
↓ 1 callersFunctiontorch_gemm_rs
( A: torch.Tensor, # [M, K_per_rank] B: torch.Tensor, # [K_per_rank, N] bias: Optional[torch.Ten
python/triton_dist/test/nvidia/test_gemm_rs.py:41
↓ 1 callersFunctiontorch_gemm_rs
( input: torch.Tensor, # [M, local_k] weight: torch.Tensor, # [N, local_K] bias: Optional[torch.
tutorials/10-AMD-overlapping-gemm-reduce-scatter.py:359
↓ 1 callersFunctiontorch_ll_combine
(EP_GROUP, input, exp_indices, weight, num_experts)
python/triton_dist/test/amd/ep_a2a_utils.py:183
← previousnext →2,201–2,300 of 5,103, ranked by callers