MCPcopy Create free account

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

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

↓ 1 callersFunctionrun_invalid_id_regression
Regression: building metadata with an out-of-range expert id must fail early & clearly (both backends), not silently produce a filtered descriptor
python/triton_dist/test/amd/test_ep_a2a_fused_kernel.py:188
↓ 1 callersFunctionrun_latency_bench
Measure single WGMMA instruction latency.
python/little_kernel/benchmark/compute/bench_wgmma.py:276
↓ 1 callersFunctionrun_latency_benchmark
Run pointer-chase latency for different buffer sizes.
python/little_kernel/benchmark/memory/bench_global_memory.py:295
↓ 1 callersFunctionrun_layer_case
Build a dedicated op for one correctness case, run it, compare to the torch reference, and return the cross-rank-agreed pass flag. (Each case has
python/triton_dist/test/amd/test_ep_moe_fused.py:175
↓ 1 callersFunctionrun_local_splits_alias_regression
Regression: a device-metadata desc must own a stable `local_splits` copy. Building a second desc on the same ctx must NOT mutate the first desc's
python/triton_dist/test/amd/test_ep_a2a_fused_kernel.py:160
↓ 1 callersFunctionrun_manual_vs_tma
Compare TMA 1D vs manual shared memory copy.
python/little_kernel/benchmark/sm90/bench_tma.py:369
↓ 1 callersFunctionrun_metadata_parity
Assert the device-side metadata kernels produce a layout byte-identical to the host torch path.
python/triton_dist/test/amd/test_ep_a2a_fused_kernel.py:130
↓ 1 callersFunctionrun_moe_reduce_ar
(x: torch.Tensor, weights: torch.Tensor, chosen_experts: torch.Tensor, expert_weights: t
python/triton_dist/kernels/nvidia/moe_reduce_ar.py:645
↓ 1 callersFunctionrun_moe_reduce_rs
Runs a fused MoE computation with a reduce-scatter collective. This function orchestrates a complex sequence of operations: 1. A grouped
python/triton_dist/kernels/nvidia/moe_reduce_rs.py:872
↓ 1 callersFunctionrun_p2p
()
python/triton_dist/test/amd/test_mori_shmem_bw.py:238
↓ 1 callersFunctionrun_perf
(dtype: torch.dtype, method: AllReduceMethod, warmup=5, iters=10)
python/triton_dist/test/nvidia/test_allreduce.py:150
↓ 1 callersFunctionrun_performance_test
Encapsulates all performance testing logic.
python/triton_dist/test/nvidia/test_tp_e2e.py:148
↓ 1 callersFunctionrun_pipeline_bench
Measure WGMMA pipeline throughput with 4 WGMMAs per group.
python/little_kernel/benchmark/compute/bench_wgmma.py:307
↓ 1 callersFunctionrun_precomputed_meta_bad_idx_regression
Regression: reusing a precomputed (validated) meta with a DIFFERENT, out-of-range topk_indices must still be rejected. dispatch validates the *cur
python/triton_dist/test/amd/test_ep_a2a_fused_kernel.py:251
↓ 1 callersFunctionrun_reduce_in_order
(t: torch.Tensor, acc_dtype: torch.dtype = None)
python/triton_dist/test/nvidia/test_multimem_ld_reduce.py:95
↓ 1 callersFunctionrun_reduce_ring
(t: torch.Tensor, acc_dtype: torch.dtype = None)
python/triton_dist/test/nvidia/test_multimem_ld_reduce.py:99
↓ 1 callersFunctionrun_stress_test
Run stress test with random shapes
python/triton_dist/test/amd/test_gemm_ar_intra_node.py:71
↓ 1 callersFunctionrun_stress_test
Run stress test with random shapes
python/triton_dist/test/amd/test_ag_gemm_intra_node.py:208
↓ 1 callersFunctionrun_stride_benchmark
Run strided access benchmark to quantify coalescing penalty.
python/little_kernel/benchmark/memory/bench_global_memory.py:255
↓ 1 callersFunctionrun_test
Runs the test command and returns the output.
python/triton_dist/benchmark/bench_pp.py:31
↓ 1 callersFunctionrun_test_distributed
()
tutorials/ascend/02-ascend-gemm-reduce-scatter.py:248
↓ 1 callersFunctionrun_test_distributed
()
tutorials/ascend/03-ascend-gemm-allreduce-oneshot.py:259
↓ 1 callersFunctionrun_test_distributed
()
tutorials/ascend/01-ascend-allgather-gemm.py:243
↓ 1 callersFunctionrun_throughput_bench
Measure WGMMA throughput across different SM counts.
python/little_kernel/benchmark/compute/bench_wgmma.py:226
↓ 1 callersFunctionrun_tma_1d_bandwidth
Benchmark TMA 1D bulk copy with various transfer sizes.
python/little_kernel/benchmark/sm90/bench_tma.py:254
↓ 1 callersFunctionrun_tma_2d_bandwidth
Benchmark TMA 2D load with descriptor-based transfers.
python/little_kernel/benchmark/sm90/bench_tma.py:301
↓ 1 callersFunctionrun_tma_latency
Measure single TMA load latency for small transfers.
python/little_kernel/benchmark/sm90/bench_tma.py:427
↓ 1 callersMethodsave_tune_config
(self, key, timings)
python/triton_dist/tune.py:401
↓ 1 callersFunctionscatter_tile_intra_node
( splits_buf, offset_buf, out_split, out_source_offset, rank_in_row: tl.constexpr, loc
python/triton_dist/kernels/nvidia/all_to_all_vdev_2d_offset_inter_node.py:71
↓ 1 callersFunctionsegment_to_stage
(segment, rank, TP_SIZE: tl.constexpr, LOCAL_TP_SIZE: tl.constexpr)
python/triton_dist/kernels/nvidia/threadblock_swizzle_ag_moe_triton.py:46
↓ 1 callersFunctionselect_experts
(pg: torch.distributed.ProcessGroup, num_ranks: int, topk: int, dtype: torch.dtype, router_
python/triton_dist/test/nvidia/test_moe_reduce_ar.py:41
↓ 1 callersFunctionselect_experts
(pg: torch.distributed.ProcessGroup, num_ranks: int, topk: int, dtype: torch.dtype, router_
python/triton_dist/test/nvidia/test_moe_reduce_rs.py:43
↓ 1 callersMethodsend
(self, ts: torch.Tensor, rank: int, dst_rank: int)
python/triton_dist/layers/nvidia/pp_block.py:68
↓ 1 callersMethodsend_prompt
Send a prompt to the server and get the response with timing information
python/triton_dist/mega_triton_kernel/test/models/chat.py:76
↓ 1 callersMethodset_fwd
(self, mode: str = 'torch')
python/triton_dist/models/qwen_moe.py:157
↓ 1 callersMethodset_producer
(self, out_tensor: torch.Tensor, out_idx: int, node: Node)
python/triton_dist/mega_triton_kernel/core/graph.py:113
↓ 1 callersFunctionset_stream_handler_log_level
(level: int)
python/triton_dist/tune.py:89
↓ 1 callersMethodset_variable_type
Set the type of a variable in the current scope. Used by type inference to track inferred types.
python/little_kernel/core/passes/utils/scope_manager.py:285
↓ 1 callersFunctionsetup_distributed_groups
(pp_size: int)
python/triton_dist/test/nvidia/test_pp_block.py:84
↓ 1 callersFunctionsetup_pytorch_extension
Setup CppExtension for PyTorch support
shmem/rocshmem_bind/pyrocshmem/setup.py:107
↓ 1 callersFunctionshfl_sync_bfly
Warp shuffle butterfly: XOR shuffle pattern.
python/little_kernel/language/intrin/cuda_asm.py:212
↓ 1 callersFunctionshfl_sync_down
Warp shuffle down: get value from thread with higher lane ID.
python/little_kernel/language/intrin/cuda_asm.py:204
↓ 1 callersFunctionshfl_sync_up
Warp shuffle up: get value from thread with lower lane ID.
python/little_kernel/language/intrin/cuda_asm.py:196
↓ 1 callersMethodsimulate_input
(self, num_tokens: int, # local tokens )
python/triton_dist/test/nvidia/test_ep_moe_inference.py:336
↓ 1 callersFunctionsin_f32
Sine function (approximate).
python/little_kernel/language/intrin/cuda_asm.py:241
↓ 1 callersFunctionsmid
(_semantic=None)
python/triton_dist/language/extra/hip/language_extra.py:360
↓ 1 callersMethodspecial_method
(self, arg1)
python/little_kernel/tests/unit/test_struct_stub.py:364
↓ 1 callersFunctionsplit_torch_process_group
(pg: torch.distributed.ProcessGroup, num_groups: int)
python/triton_dist/test/nvidia/test_team_split.py:49
↓ 1 callersFunctionsplit_torch_process_group
(pg: torch.distributed.ProcessGroup, num_groups: int)
python/triton_dist/test/nvidia/test_pp.py:52
↓ 1 callersFunctionsplitk_epilogue
(C_ptr, acc, pid_k, pid_m, pid_n, pid_mn, M, N, stride_cm, stride_cn, BLOCK_SIZE_M: tl.constexpr,
python/triton_dist/kernels/amd/gemm.py:405
↓ 1 callersFunctionst
semantic should be one of ["monotonic", "release"] scope should be one of ["workgroup", "agent", "system]
python/triton_dist/language/extra/hip/language_extra.py:262
↓ 1 callersFunctionst_v2_u32
(ptr, val0, val1, _semantic=None)
python/triton_dist/language/extra/cuda/language_extra.py:254
↓ 1 callersFunctionst_vector
( ptr, vec, scope: core.constexpr = core.constexpr(""), semantic: core.constex
python/triton_dist/language/extra/cuda/language_extra.py:648
↓ 1 callersMethodstart_chat
Start the interactive chat interface with timing information
python/triton_dist/mega_triton_kernel/test/models/chat.py:151
↓ 1 callersMethodstatic_method
(arg1, arg2)
python/little_kernel/tests/unit/test_struct_stub.py:310
↓ 1 callersFunctionstore_autotune_data
(filename, func_name, key, timings)
python/triton_dist/tune.py:187
↓ 1 callersFunctionstore_v2
(ptr, val0, val1, suffix: core.constexpr, _semantic=None)
python/triton_dist/kernels/nvidia/memory_ops.py:111
↓ 1 callersFunctionstore_v4_b32_cond
(ptr, val0, val1, val2, val3, mask, _semantic=None)
python/triton_dist/kernels/nvidia/sp_ulysess_o_all2all_gemm.py:91
↓ 1 callersFunctionstraggler
(rank)
python/triton_dist/test/amd/test_ep_ll_a2a.py:95
↓ 1 callersFunctionstraggler
(rank)
python/triton_dist/test/nvidia/test_ep_ll_a2a.py:95
↓ 1 callersFunctionstraggler
(rank)
python/triton_dist/test/nvidia/test_all_to_all_vdev_2d_offset.py:37
↓ 1 callersFunctionstraggler
(rank)
python/triton_dist/test/nvidia/test_ep_a2a.py:417
↓ 1 callersFunctionstraggler
(rank)
python/triton_dist/test/nvidia/test_all_to_all_vdev_2d_offset_inter_node.py:34
↓ 1 callersFunctionstraggler
(rank)
python/triton_dist/test/nvidia/test_gemm_ar.py:99
↓ 1 callersFunctionstress_test
(dtype: torch.dtype, args, method: AllReduceMethod)
python/triton_dist/test/nvidia/test_allreduce.py:97
↓ 1 callersFunctionswiglu_backward
(dC, AB, scale=None, ctx: SwiGLUContext = None, sm_margin=0, use_aot=False)
python/triton_dist/kernels/nvidia/swiglu.py:296
↓ 1 callersFunctionswizzle_2d
(tile_id, num_pid_m, num_pid_n, GROUP_SIZE_M: tl.constexpr)
python/triton_dist/kernels/nvidia/allgather_gemm.py:176
↓ 1 callersFunctionsymm_rocshmem_tensor
tensor.data_ptr() should be the rocshmem_malloc() pointer with no offset
shmem/rocshmem_bind/pyrocshmem/python/pyrocshmem/__init__.py:95
↓ 1 callersMethodsync
Materialize all lazy tensors. This actually allocates the memory for all pending tensors.
python/triton_dist/utils.py:1424
↓ 1 callersMethodsync
Materialize all nvshmem tensors. This actually allocates the nvshmem memory for all pending tensors. Must be called
python/triton_dist/layers/nvidia/ep_a2a_fused_layer.py:274
↓ 1 callersFunctionsync_grid
(_semantic=None)
python/triton_dist/language/extra/hip/language_extra.py:346
↓ 1 callersFunctiontask_dependency_opt
(sm_wq_list)
python/triton_dist/mega_triton_kernel/core/scheduler.py:127
↓ 1 callersMethodtask_scoredboard_start
(self, task_base_info: TaskBaseInfo)
python/triton_dist/mega_triton_kernel/kernels/task_context.py:150
↓ 1 callersFunctiontest
(kernel, M, N, K)
python/little_kernel/benchmark/gemm_sm100/gemm_level1.py:214
↓ 1 callersFunctiontest
(kernel, M, N, K)
python/little_kernel/benchmark/gemm_sm100/gemm_level8.py:351
↓ 1 callersFunctiontest
(kernel, M, N, K)
python/little_kernel/benchmark/gemm_sm100/gemm_level2.py:220
↓ 1 callersFunctiontest
(kernel, M, N, K)
python/little_kernel/benchmark/gemm_sm100/gemm_level7.py:323
↓ 1 callersFunctiontest
(kernel, M, N, K)
python/little_kernel/benchmark/gemm_sm100/gemm_level3.py:226
↓ 1 callersFunctiontest
(kernel, M, N, K)
python/little_kernel/benchmark/gemm_sm100/gemm_level9.py:397
↓ 1 callersFunctiontest
(kernel, M, N, K)
python/little_kernel/benchmark/gemm_sm100/gemm_level4.py:212
↓ 1 callersFunctiontest
(kernel, M, N, K)
python/little_kernel/benchmark/gemm_sm100/gemm_level5.py:243
↓ 1 callersFunctiontest
(kernel, M, N, K)
python/little_kernel/benchmark/gemm_sm100/gemm_level6.py:333
↓ 1 callersFunctiontest
(kernel, M, N, K)
python/little_kernel/benchmark/gemm_sm90/gemm_v8.py:215
↓ 1 callersFunctiontest
(kernel, M, N, K)
python/little_kernel/benchmark/gemm_sm90/gemm_v9.py:243
↓ 1 callersFunctiontest
(kernel, M, N, K)
python/little_kernel/benchmark/gemm_sm90/gemm_v6.py:194
↓ 1 callersFunctiontest
(kernel, M, N, K)
python/little_kernel/benchmark/gemm_sm90/gemm_v7.py:201
↓ 1 callersFunctiontest
(kernel, M, N, K)
python/little_kernel/benchmark/gemm_sm90/gemm_v4.py:152
↓ 1 callersFunctiontest
(kernel, M, N, K)
python/little_kernel/benchmark/gemm_sm90/gemm_v5.py:173
↓ 1 callersFunctiontest
(kernel, M, N, K, label="")
python/little_kernel/benchmark/gemm_sm90/gemm_v3.py:180
↓ 1 callersFunctiontest
(kernel, M, N, K)
python/little_kernel/benchmark/gemm_sm90/gemm_v10.py:251
↓ 1 callersFunctiontest_all_to_all_v_offset
(args)
python/triton_dist/test/nvidia/test_all_to_all_vdev_2d_offset.py:274
↓ 1 callersFunctiontest_all_to_all_v_offset
(args)
python/triton_dist/test/nvidia/test_all_to_all_vdev_2d_offset_inter_node.py:269
↓ 1 callersFunctiontest_atomic_add
(dtype: torch.dtype = torch.int32, semantic="monotonic", scope="agent")
python/triton_dist/test/amd/test_extern_functions.py:110
↓ 1 callersFunctiontest_atomic_add
()
python/triton_dist/test/nvidia/test_language_extra.py:116
↓ 1 callersFunctiontest_atomic_add_main
()
python/triton_dist/test/common/test_language_extra.py:188
↓ 1 callersFunctiontest_atomic_add_per_warp
()
python/triton_dist/test/nvidia/test_language_extra.py:314
↓ 1 callersFunctiontest_atomic_cas
(dtype: torch.dtype = torch.int32, semantic="monotonic", scope="agent")
python/triton_dist/test/amd/test_extern_functions.py:134
↓ 1 callersFunctiontest_atomic_cas_main
()
python/triton_dist/test/common/test_language_extra.py:178
↓ 1 callersFunctiontest_ballot_sync
()
python/triton_dist/test/nvidia/test_language_extra.py:257
↓ 1 callersFunctiontest_barrier_all_intra_node
()
python/triton_dist/test/nvidia/test_common_ops.py:96
← previousnext →2,101–2,200 of 5,103, ranked by callers