MCPcopy Create free account

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

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

↓ 1 callersFunctiontorch_ll_combine
(EP_GROUP, input, exp_indices, weight, num_experts)
python/triton_dist/test/nvidia/ep_a2a_utils.py:183
↓ 1 callersFunctiontorch_ll_dispatch
(EP_GROUP, input: torch.Tensor, exp_indices: torch.Tensor, num_experts: int, quant_group_size: int,
python/triton_dist/test/amd/ep_a2a_utils.py:103
↓ 1 callersFunctiontorch_ll_dispatch
(EP_GROUP, input: torch.Tensor, exp_indices: torch.Tensor, num_experts: int, quant_group_size: int,
python/triton_dist/test/nvidia/ep_a2a_utils.py:103
↓ 1 callersFunctiontorch_moe_scatter_group_gemm
(in_features, expert_weights, topk_ids)
python/triton_dist/test/nvidia/test_ag_moe.py:42
↓ 1 callersFunctiontorch_mype
(x0, rank, ncore)
python/triton_dist/test/ascend/test_my_pe.py:16
↓ 1 callersFunctiontorch_num_ranks
(x0, world_size, ncore)
python/triton_dist/test/ascend/test_num_ranks.py:16
↓ 1 callersFunctiontorch_pre_attn_qkv_a2a
(sp_group, q_input, k_input, v_input, bs, seq_len, q_nh, head_dim, gqa, skip_q_a2a,
python/triton_dist/test/nvidia/test_ulysses_sp_dispatch.py:60
↓ 1 callersMethodtorch_recv
(PyTorch) Receive hidden states from the previous PP stage
python/triton_dist/layers/nvidia/pp_block.py:201
↓ 1 callersFunctiontorch_reduce_scatter_only
( A: torch.Tensor, # [M, K_per_rank] B: torch.Tensor, # [K_per_rank, N] tp_group: torch.distribu
python/triton_dist/test/nvidia/test_gemm_rs.py:68
↓ 1 callersFunctiontorch_rs
( input: torch.Tensor, # [M, N] TP_GROUP, )
tutorials/06-inter-node-reduce-scatter.py:436
↓ 1 callersFunctiontorch_rs
( input: torch.Tensor, # [M, N] TP_GROUP, )
tutorials/05-intra-node-reduce-scatter.py:224
↓ 1 callersFunctiontorch_scaled_gemm_ar
(A, weight, scale_a, scale_b, out_dtype, tp_group)
python/triton_dist/test/nvidia/test_gemm_ar.py:68
↓ 1 callersMethodtorch_send
(PyTorch) Send hidden states to the next PP stage
python/triton_dist/layers/nvidia/pp_block.py:196
↓ 1 callersFunctiontorch_stream_max_priority
()
python/triton_dist/utils.py:858
↓ 1 callersFunctiontorch_uuid_to_unique_id
Convert torch UUID to unique ID. torch.cuda.get_device_properties().uuid => 30333235-3434-3765-3339-313439656261 rocm-smi --showuniqueid
python/triton_dist/amd_utils.py:230
↓ 1 callersMethodtrack
(self, ts_start, ts_end, annotation: str)
python/triton_dist/tools/profiler/viewer.py:100
↓ 1 callersFunctiontranspose2d
(arr_2d: List[List[Any]], )
python/triton_dist/kernels/nvidia/threadblock_swizzle_ag_moe_triton.py:219
↓ 1 callersFunctiontransposed_dot
( a_ptrs, b_ptrs, c_ptrs, split_size, N: tl.constexpr, K: tl.constexpr, stride_am:
python/triton_dist/kernels/nvidia/ep_all2all_fused.py:722
↓ 1 callersFunctiontriton_attn
(input_tensors, BATCH, N_CTX, Q_HEAD, KV_HEAD, HEAD_DIM, IS_CAUSAL, qkv_pack)
python/triton_dist/mega_triton_kernel/test/triton_impl_utils.py:313
↓ 1 callersFunctiontriton_dist_ep_op_initialized
(ep_implementation: str = "mega")
python/triton_dist/function/nvidia/common.py:160
↓ 1 callersFunctiontriton_dist_init
(world_group: torch.distributed.ProcessGroup, nnodes: int, sp_size: int, max_batch_size: int,
python/triton_dist/test/nvidia/test_llm_ulysess_gemm_all2all_intra_node.py:45
↓ 1 callersFunctiontriton_dist_init
(world_group: torch.distributed.ProcessGroup, nnodes: int, sp_size: int, max_batch_size: int,
python/triton_dist/test/nvidia/test_llm_ulysess_all2all_gemm_intra_node.py:46
↓ 1 callersFunctiontriton_dist_init
(world_group: torch.distributed.ProcessGroup, nnodes: int, sp_size: int, max_batch_size: int,
python/triton_dist/test/nvidia/test_llm_ulysess_post_attn_all2all_intra_node.py:45
↓ 1 callersFunctiontriton_dist_init
(world_group: torch.distributed.ProcessGroup, nnodes: int, sp_size: int, max_batch_size: int,
python/triton_dist/test/nvidia/test_llm_ulysess_pre_attn_all2all_intra_node.py:48
↓ 1 callersFunctiontriton_dist_key
()
python/triton_dist/utils.py:867
↓ 1 callersMethodtriton_dist_recv
Triton Dist Receive hidden states from the previous PP stage
python/triton_dist/layers/nvidia/pp_block.py:189
↓ 1 callersMethodtriton_dist_send
Triton Dist Send hidden states to the next PP stage
python/triton_dist/layers/nvidia/pp_block.py:184
↓ 1 callersFunctiontriton_packed_version
()
python/triton_dist/utils.py:829
↓ 1 callersFunctiontriton_qkv_pack_qk_norm_rope_split_v
(qkv, kv_lens, q_rms_weight, k_rms_weight, q_rms_eps, k_rms_eps, sin_cache,
python/triton_dist/mega_triton_kernel/test/triton_impl_utils.py:465
↓ 1 callersMethodtune
(self, config_space, autotune_pg, *args, **kwargs)
python/triton_dist/tune.py:443
↓ 1 callersFunctionuint64_wait_until_equals
Wait until uint64 value equals specified value.
python/triton_dist/language/extra/hip/libmori_shmem_device.py:1227
↓ 1 callersFunctionuint64_wait_until_greater_than
Wait until uint64 value is greater than specified value.
python/triton_dist/language/extra/hip/libmori_shmem_device.py:1211
↓ 1 callersFunctionulysses_gemm_a2a_produer_gemm
( ctx: UlyssesSpInferPreAttnContext, input: torch.Tensor, weight: torch.Tensor, input_scale: O
python/triton_dist/kernels/nvidia/ulysses_sp_infer_gemm_a2a.py:292
↓ 1 callersFunctionulysses_sp_infer_gemm_a2a_op
( ctx: UlyssesSpInferPreAttnContext, input: torch.Tensor, # [local_seq, hidden] weight: torch.Ten
python/triton_dist/kernels/nvidia/ulysses_sp_infer_gemm_a2a.py:455
↓ 1 callersFunctionun_op_kind_str
(kind)
python/little_kernel/core/expr.py:277
↓ 1 callersFunctionuniform_split_tokens
Uniformly split tokens across ranks.
python/triton_dist/test/amd/test_ep_moe_fused.py:120
↓ 1 callersFunctionuniform_split_tokens
Uniformly split tokens across ranks
python/triton_dist/test/nvidia/test_ep_moe_fused.py:147
↓ 1 callersFunctionunpack
(src, dst_type)
python/triton_dist/language/extra/language_extra.py:94
↓ 1 callersFunctionunpack_b32_v2
(val)
python/triton_dist/kernels/amd/low_latency_all_to_all_v2.py:55
↓ 1 callersFunctionunpack_b32_v2
(val, _semantic=None)
python/triton_dist/kernels/nvidia/low_latency_all_to_all_v2.py:43
↓ 1 callersFunctionunsafe_barrier_on_this_grid
triton implementation of cooperative_group::thid_grid().sync() WARNING: use with care. better launch triton with launch_cooperative_grid=True to
python/triton_dist/kernels/amd/common_ops.py:59
↓ 1 callersFunctionunsafe_barrier_on_this_grid
triton implementation of cooperative_group::thid_grid().sync() WARNING: use with care. better launch triton with launch_cooperative_grid=True to
python/triton_dist/kernels/nvidia/common_ops.py:61
↓ 1 callersFunctionupdate_triton_config
It's hard to autotune all parameters and record them all, especially when there are so many shapes and devices and dtypes. So we just
python/triton_dist/kernels/nvidia/gemm_reduce_scatter.py:598
↓ 1 callersFunctionuseMORISHMEMLibrary
lib/Conversion/TritonDistributedToLLVM/AMD/DistributedOpToLLVM.cpp:46
↓ 1 callersFunctionuseMXSHMEMLibrary
lib/Conversion/TritonDistributedToLLVM/METAX/DistributedOpToLLVM.cpp:22
↓ 1 callersFunctionuseNVSHMEMLibrary
lib/Conversion/TritonDistributedToLLVM/NVIDIA/DistributedOpToLLVM.cpp:46
↓ 1 callersFunctionvector_add
(x, y, _semantic=None)
python/triton_dist/language/simt_ops.py:82
↓ 1 callersFunctionvector_mul
(x, y, _semantic=None)
python/triton_dist/language/simt_ops.py:92
↓ 1 callersFunctionvector_sub
(x, y, _semantic=None)
python/triton_dist/language/simt_ops.py:87
↓ 1 callersMethodvisit_Constant
Infer type of constants
python/little_kernel/core/passes/utils/type_inference/infer_type.py:118
↓ 1 callersFunctionvisualize_swizzle_pattern
Visualize the swizzle pattern: each element has a fixed color and number, showing before/after swizzle positions side by side.
python/little_kernel/benchmark/memory/bench_tma_2d_layout.py:96
↓ 1 callersFunctionwallclock
strange that wallclock is not in unit of nanosecond, but 10*nanosecond. no doc found for that
python/triton_dist/language/extra/hip/language_extra.py:434
↓ 1 callersFunctionwarn_if_cuda_launch_blocking
()
python/triton_dist/utils.py:935
↓ 1 callersFunctionwarp_reduce_sum
(value: ll.int32)
python/little_kernel/design/flashcomm_compute.py:38
↓ 1 callersFunctionwith_torch_deterministic
(mode: bool, warn_only: bool = True)
python/triton_dist/utils.py:397
↓ 1 callersFunctionwork_queue_list_to_device_tensor
(sm_wq_list)
python/triton_dist/mega_triton_kernel/core/scheduler.py:41
↓ 1 callersMethodwrite_main
Write to main code buffer (functions, classes, statements).
python/little_kernel/codegen/codegen_base.py:120
↓ 1 callersMethodwrite_struct
Write to struct definition buffer.
python/little_kernel/codegen/codegen_base.py:132
↓ 1 callersFunctionzig_zag_scheduler
(num_sms, megakernel_tasks)
python/triton_dist/mega_triton_kernel/core/scheduler.py:110
FunctionCUDAFuncSetAttribute
python/triton_dist/tools/runtime/triton_aot_runtime.cc:171
FunctionCUDAFuncSetCacheConfig
python/triton_dist/tools/runtime/triton_aot_runtime.cc:181
MethodCUDAFunction
python/triton_dist/tools/runtime/triton_aot_runtime.cc:104
MethodCUDAModule
python/triton_dist/tools/runtime/triton_aot_runtime.cc:59
MethodCallOpConversion
lib/Conversion/TritonDistributedToLLVM/AMD/BuiltinFuncToLLVMExt.cpp:25
MethodConvertAMDDistributedToLLVM
lib/Conversion/TritonDistributedToLLVM/AMD/ConvertAMDDistributedToLLVM.cpp:95
MethodConvertBuiltinFuncToLLVMExt
lib/Conversion/TritonDistributedToLLVM/AMD/BuiltinFuncToLLVMExt.cpp:279
MethodConvertMETAXDistributedToLLVM
lib/Conversion/TritonDistributedToLLVM/METAX/ConvertMETAXDistributedToLLVM.cpp:49
MethodConvertTritonDistributedToLLVM
lib/Conversion/TritonDistributedToLLVM/NVIDIA/ConvertTritonDistributedToLLVM.cpp:87
MethodConvertTritonDistributedToTritonGPU
lib/Conversion/TritonDistributedToTritonGPU/TritonDistributedToTritonGPU.cpp:1243
MethodConvertTritonDistributedToTritonGPU
lib/Conversion/TritonDistributedToTritonGPU/METAX/TritonDistributedToTritonGPU.cpp:848
MethodDistributedOpToHIVM
lib/Conversion/TritonDistributedToHIVM/ASCEND/DistributedOpToHIVM.cpp:56
MethodExternCallConversion
lib/Conversion/TritonDistributedToLLVM/AMD/DistributedOpToLLVM.cpp:99
MethodExternCallConversion
lib/Conversion/TritonDistributedToLLVM/METAX/DistributedOpToLLVM.cpp:283
MethodExternCallConversion
lib/Conversion/TritonDistributedToLLVM/NVIDIA/DistributedOpToLLVM.cpp:357
MethodGenericOpToMXSHMEMDevice
lib/Conversion/TritonDistributedToLLVM/METAX/DistributedOpToLLVM.cpp:75
MethodGenericOpToNVSHMEMDevice
lib/Conversion/TritonDistributedToLLVM/NVIDIA/DistributedOpToLLVM.cpp:98
MethodGenericOpToSHMEMDevice
lib/Conversion/TritonDistributedToLLVM/AMD/DistributedOpToLLVM.cpp:57
MethodGetOrLoad
python/triton_dist/tools/runtime/triton_aot_runtime.cc:111
MethodLazyLogger
python/triton_dist/kernels/nvidia/threadblock_swizzle_ag_moe.cc:36
MethodLazyLogger
shmem/rocshmem_bind/pyrocshmem/src/pyrocshmem.cc:37
MethodLazyLogger
shmem/mxshmem_bind/pymxshmem/src/pymxshmem.cc:17
MethodLoad
python/triton_dist/tools/runtime/triton_aot_runtime.cc:106
MethodLoadImpl
python/triton_dist/tools/runtime/triton_aot_runtime.cc:88
MethodLoadImpl
python/triton_dist/tools/runtime/triton_aot_runtime.cc:123
MethodLoadSharedOpPattern
lib/Conversion/TritonDistributedToLLVM/SIMTOpToLLVM.cpp:69
FunctionNVSHMEMModuleInit
python/triton_dist/tools/runtime/triton_aot_runtime.cc:205
MethodNotifyOpConversion
lib/Conversion/TritonDistributedToLLVM/METAX/DistributedOpToLLVM.cpp:240
MethodNotifyOpConversion
lib/Conversion/TritonDistributedToLLVM/NVIDIA/DistributedOpToLLVM.cpp:246
MethodOpInitRegistry
csrc/lib/registry.h:45
FunctionPYBIND11_MODULE
3rdparty/pymaca/csrc/pybind.cc:13
FunctionPYBIND11_MODULE
shmem/rocshmem_bind/pyrocshmem/src/pyrocshmem.cc:86
FunctionPYBIND11_MODULE
shmem/mxshmem_bind/pymxshmem/src/pymxshmem.cc:147
FunctionPYBIND11_MODULE
csrc/lib/op_pybind.cc:29
MethodSIMTExecRegionPattern
lib/Conversion/TritonDistributedToLLVM/SIMTOpToLLVM.cpp:134
MethodSIMTRegionTypeConverter
lib/Conversion/TritonDistributedToTritonGPU/TritonDistributedToTritonGPU.cpp:929
MethodStoreSharedOpPattern
lib/Conversion/TritonDistributedToLLVM/SIMTOpToLLVM.cpp:101
MethodSymmAtOpConversion
lib/Conversion/TritonDistributedToLLVM/METAX/DistributedOpToLLVM.cpp:261
MethodTile
python/triton_dist/kernels/nvidia/threadblock_swizzle_ag_moe.cc:93
MethodTritonLLVMConversionTarget
lib/Conversion/TritonDistributedToLLVM/AMD/ConvertAMDDistributedToLLVM.cpp:70
MethodTritonLLVMConversionTarget
lib/Conversion/TritonDistributedToLLVM/METAX/ConvertMETAXDistributedToLLVM.cpp:33
← previousnext →2,301–2,400 of 5,103, ranked by callers