MCPcopy Create free account

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

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

Functiondispatch_kernel_v2
send_tensor: [num_tokens, HIDDEN] input tokens send_scale: [num_tokens, NUM_GROUPS] scale topk_idx: [num_tokens, TOPK] topk indices
python/triton_dist/kernels/amd/low_latency_all_to_all_v2.py:172
Functiondispatch_kernel_v2
send_tensor: [num_tokens, HIDDEN] input tokens send_scale: [num_tokens, NUM_GROUPS] scale topk_idx: [num_tokens, TOPK] topk indices
python/triton_dist/kernels/nvidia/low_latency_all_to_all_v2.py:156
Methoddispatch_postprocess
Not in use; reserved for future path (the forward path resets these counters/barriers in-kernel).
python/triton_dist/layers/amd/ep_a2a_fused_layer.py:178
Functiondispatch_worker
(rank, gpu_id)
python/little_kernel/design/test_flashcomm_multi_gpu.py:572
Methoddist_triton_AR_fwd
triton_dist AR forward pass for attention with Tensor Parallelism. Activations related to head dimensions are sharded. Final output i
python/triton_dist/layers/nvidia/tp_attn.py:251
Methoddist_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/nvidia/tp_mlp.py:241
Methoddist_triton_fwd
triton_dist forward pass. Input x is batch-sharded. Output is also batch-sharded. x: input tensor, shape [batch_size_per_rank
python/triton_dist/layers/amd/tp_attn.py:272
Methoddist_triton_fwd
triton_dist forward pass. Input x is batch-sharded. Output is also batch-sharded. x: input tensor, shape [batch_size_per_rank
python/triton_dist/layers/nvidia/tp_attn.py:213
Methoddist_triton_fwd
triton_dist forward pass for TP. This version uses ag_gemm and gemm_rs. x: input tensor, shape [batch_size, seq_len, hidden_s
python/triton_dist/layers/nvidia/tp_mlp.py:144
Methoddist_triton_fwd
(self, hidden_states: torch.Tensor)
python/triton_dist/layers/nvidia/ep_moe.py:231
Methoddist_triton_fwd
triton_dist forward pass for TP. This version uses ag_gemm and gemm_rs. x: input tensor, shape [batch_size, seq_len, hidden_s
python/triton_dist/layers/nvidia/tp_moe.py:237
Methoddist_triton_gemm_ar_fwd
(self, x, position_ids, cos_sin_cache, kv_cache, layer_idx: int)
python/triton_dist/layers/nvidia/tp_attn.py:294
Methoddist_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/nvidia/tp_mlp.py:264
Functiondouble_p
Put single double value. Args: dest: Symmetric address on target PE value: Double value to write pe: Target PE number
python/triton_dist/language/extra/hip/libmori_shmem_device.py:642
Methoddump_combine_trace
(self)
python/triton_dist/layers/nvidia/ep_ll_a2a_layer.py:179
Methoddump_dispatch_trace
(self)
python/triton_dist/layers/nvidia/ep_ll_a2a_layer.py:168
Methoddump_profiler_trace
(self, info: str = None)
python/triton_dist/kernels/nvidia/all_to_all_vdev_2d_offset_inter_node.py:552
Functionelect_one
Elect a single thread in the warp. Returns 1 for elected, 0 for others.
python/little_kernel/language/intrin/umma.py:55
Functionelect_one_sync
Elect one thread in the warp.
python/little_kernel/language/intrin/simt.py:168
Functionelementwise_config_factory
(**kwargs)
python/triton_dist/mega_triton_kernel/tasks/elementwise.py:50
Functionempty
Create an empty tensor with the given shape, dtype, and scope.
python/little_kernel/language/intrin/memory.py:141
Functionempty_pass
Empty pass that does nothing.
python/little_kernel/core/passes/pass_registry.py:34
Methodep_barrier_all
(self)
python/triton_dist/layers/amd/ep_a2a_fused_layer.py:150
Functioneval_return_type_ldca
Evaluate return type for __ldca function.
python/little_kernel/language/intrin/memory.py:210
Functioneval_return_type_ldcg
Evaluate return type for __ldcg function.
python/little_kernel/language/intrin/memory.py:189
Functionextern_elementwise
Dispatch an elementwise function to a library :param lib_name: the name of the library :param lib_path: the path of the libra
python/triton_dist/language/core.py:122
Methodextra_params_to_tuple
(self)
python/triton_dist/mega_triton_kernel/tasks/prefetch.py:43
Methodextra_params_to_tuple
(self)
python/triton_dist/mega_triton_kernel/tasks/flash_decode.py:51
Methodextra_params_to_tuple
(self)
python/triton_dist/mega_triton_kernel/tasks/flash_decode.py:60
Methodextra_params_to_tuple
(self)
python/triton_dist/mega_triton_kernel/tasks/flash_attn.py:51
Methodextra_params_to_tuple
(self)
python/triton_dist/mega_triton_kernel/tasks/barrier.py:43
Methodextra_params_to_tuple
(self)
python/triton_dist/mega_triton_kernel/tasks/norm.py:56
Methodextra_params_to_tuple
(self)
python/triton_dist/mega_triton_kernel/tasks/norm.py:65
Methodextra_params_to_tuple
(self)
python/triton_dist/mega_triton_kernel/tasks/norm.py:74
Functionextract
(input: tlc.tensor, indices: List, _semantic)
python/triton_dist/language/simt_ops.py:261
Functionfast_allgather
( symm_buffer: torch.Tensor, ctx: FastAllGatherContext = None, rank=None, node=None, num_r
python/triton_dist/kernels/nvidia/low_latency_allgather.py:968
Functionfast_allgather_pull
(ctx: FastAllGatherContext, symm_buffer: torch.Tensor)
python/triton_dist/kernels/nvidia/low_latency_allgather.py:819
Functionfast_allgather_push_2d
(ctx: FastAllGatherContext, symm_buffer: torch.Tensor)
python/triton_dist/kernels/nvidia/low_latency_allgather.py:832
Functionfast_allgather_push_2d_ll
(ctx: FastAllGatherContext, symm_buffer: torch.Tensor)
python/triton_dist/kernels/nvidia/low_latency_allgather.py:865
Functionfast_allgather_push_2d_ll_multimem
(ctx: FastAllGatherContext, symm_buffer: torch.Tensor)
python/triton_dist/kernels/nvidia/low_latency_allgather.py:884
Functionfast_allgather_push_3d
(ctx: FastAllGatherContext, symm_buffer: torch.Tensor)
python/triton_dist/kernels/nvidia/low_latency_allgather.py:847
Functionfast_allgather_push_numa_2d
(ctx: FastAllGatherContext, symm_buffer: torch.Tensor)
python/triton_dist/kernels/nvidia/low_latency_allgather.py:902
Functionfast_allgather_push_numa_2d_ll
(ctx: FastAllGatherContext, symm_buffer: torch.Tensor)
python/triton_dist/kernels/nvidia/low_latency_allgather.py:919
Functionfast_allgather_push_numa_2d_ll_multinode
(ctx: FastAllGatherContext, symm_buffer: torch.Tensor)
python/triton_dist/kernels/nvidia/low_latency_allgather.py:938
Functionfc1_task_compute
(task_base_info: TaskBaseInfo, scoreboard: Scoreboard, BLOCK_SIZE_M: tl.constexpr, BLOCK_
python/triton_dist/mega_triton_kernel/kernels/mlp_fc1.py:32
Functionfcollect
(team, dest, source, nelems, _semantic=None)
python/triton_dist/language/extra/libshmem_device.py:398
Functionfcollect
(team, dest, source, nelems, _semantic=None)
python/triton_dist/language/extra/cuda/libnvshmem_device.py:739
Functionfcollect_block
(team, dest, source, nelems, _semantic=None)
python/triton_dist/language/extra/libshmem_device.py:408
Functionfcollect_block
(team, dest, source, nelems, _semantic=None)
python/triton_dist/language/extra/cuda/libnvshmem_device.py:813
Functionfcollect_warp
(team, dest, source, nelems, _semantic=None)
python/triton_dist/language/extra/libshmem_device.py:403
Functionfcollect_warp
(team, dest, source, nelems, _semantic=None)
python/triton_dist/language/extra/cuda/libnvshmem_device.py:776
Functionfcollectmem
(team, dest, source, nelems, _semantic=None)
python/triton_dist/language/extra/libshmem_device.py:383
Functionfcollectmem_block
(team, dest, source, nelems, _semantic=None)
python/triton_dist/language/extra/libshmem_device.py:393
Functionfcollectmem_warp
(team, dest, source, nelems, _semantic=None)
python/triton_dist/language/extra/libshmem_device.py:388
Functionfence
(_semantic=None)
python/triton_dist/language/extra/libshmem_device.py:176
Functionfence
Fence operation for thread scope.
python/triton_dist/language/extra/hip/libmori_shmem_device.py:156
Functionfence
(_semantic=None)
python/triton_dist/language/extra/hip/librocshmem_device.py:433
Functionfence
(semantic="monotonic", scope="agent", _semantic=None)
python/triton_dist/language/extra/hip/language_extra.py:449
Functionfence
(_semantic=None)
python/triton_dist/language/extra/maca/libmxshmem_device.py:76
Functionfence
( semantic: core.constexpr = core.constexpr("sc"), scope: core.constexpr = core.constexpr("gpu"), _sem
python/triton_dist/language/extra/cuda/language_extra.py:974
Functionfence
(_semantic=None)
python/triton_dist/language/extra/cuda/libnvshmem_device.py:368
Functionfence_async_shared
Async proxy fence on shared memory (fence.proxy.async.shared::cta).
python/little_kernel/language/intrin/barrier.py:290
Functionfence_pe
Fence operation for thread scope to specific PE.
python/triton_dist/language/extra/hip/libmori_shmem_device.py:169
Functionfence_pe_qp
Fence operation for thread scope to specific PE and QP. Args: pe: Target PE number qp_id: Queue Pair ID
python/triton_dist/language/extra/hip/libmori_shmem_device.py:182
Functionfence_proxy_async
Generic async proxy fence (fence.proxy.async, without shared::cta qualifier). Required after manual shared memory writes before WGMMA consumption.
python/little_kernel/language/intrin/barrier.py:274
Functionfence_smem_barrier_init
Fence for mbarrier initialization.
python/little_kernel/language/intrin/barrier.py:162
Functionfill_1d_persistent_kernel
( dst_ptr, value, M, stride_m, BLOCK_SIZE_M: tl.constexpr, )
python/triton_dist/kernels/nvidia/memory_ops.py:502
Functionfill_2d_persistent_kernel
( dst_ptr, value, M, N, stride_m, stride_n, BLOCK_SIZE_M: tl.constexpr, BLOCK_
python/triton_dist/kernels/nvidia/memory_ops.py:521
Functionfill_3d_persistent_kernel
( dst_ptr, value, B, M, N, stride_b, stride_m, stride_n, BLOCK_SIZE_M: tl.
python/triton_dist/kernels/nvidia/memory_ops.py:550
Methodfinalize
(self)
python/triton_dist/layers/amd/ep_ll_a2a_layer.py:89
Methodfinalize
(self)
python/triton_dist/layers/amd/ep_a2a_layer.py:179
Methodfinalize
(self)
python/triton_dist/layers/amd/ep_a2a_layer.py:269
Methodfinalize
(self)
python/triton_dist/layers/nvidia/ulysses_sp_a2a_layer.py:46
Methodfinalize
(self)
python/triton_dist/layers/nvidia/gemm_allreduce_layer.py:103
Methodfinalize
(self)
python/triton_dist/layers/nvidia/ep_ll_a2a_layer.py:89
Methodfinalize
(self)
python/triton_dist/layers/nvidia/tp_attn.py:156
Methodfinalize
(self)
python/triton_dist/layers/nvidia/tp_mlp.py:118
Methodfinalize
(self)
python/triton_dist/layers/nvidia/low_latency_allgather_layer.py:45
Methodfinalize
(self)
python/triton_dist/layers/nvidia/ep_moe.py:139
Methodfinalize
(self)
python/triton_dist/layers/nvidia/tp_moe.py:166
Methodfinalize
(self)
python/triton_dist/layers/nvidia/ep_a2a_fused_layer.py:294
Methodfinalize
(self)
python/triton_dist/layers/nvidia/ep_a2a_layer.py:187
Methodfinalize
(self)
python/triton_dist/layers/nvidia/ep_a2a_layer.py:283
Methodfinalize
(self)
python/triton_dist/kernels/amd/low_latency_all_to_all.py:183
Methodfinalize
(self)
python/triton_dist/kernels/amd/low_latency_all_to_all_v2.py:549
Methodfinalize
(self)
python/triton_dist/kernels/amd/low_latency_all_to_all_v2.py:579
Methodfinalize
(self)
python/triton_dist/kernels/amd/low_latency_all_to_all_v2.py:605
Methodfinalize
(self)
python/triton_dist/kernels/amd/ep_all2all_fused.py:458
Methodfinalize
(self)
python/triton_dist/kernels/nvidia/allgather_group_gemm.py:307
Methodfinalize
(self)
python/triton_dist/kernels/nvidia/allgather_gemm.py:505
Methodfinalize
(self)
python/triton_dist/kernels/nvidia/low_latency_all_to_all.py:166
Methodfinalize
(self)
python/triton_dist/kernels/nvidia/moe_reduce_ar.py:310
Methodfinalize
(self)
python/triton_dist/kernels/nvidia/all_to_all_single_2d.py:139
Methodfinalize
(self)
python/triton_dist/kernels/nvidia/gemm_allreduce.py:95
Methodfinalize
(self)
python/triton_dist/kernels/nvidia/moe_reduce_rs.py:83
Methodfinalize
(self)
python/triton_dist/kernels/nvidia/all_to_all_single_gemm.py:220
Methodfinalize
(self)
python/triton_dist/kernels/nvidia/low_latency_allgather.py:792
Methodfinalize
(self)
python/triton_dist/kernels/nvidia/low_latency_all_to_all_v2.py:530
Methodfinalize
(self)
python/triton_dist/kernels/nvidia/low_latency_all_to_all_v2.py:560
Methodfinalize
(self)
python/triton_dist/kernels/nvidia/low_latency_all_to_all_v2.py:586
← previousnext →3,401–3,500 of 5,103, ranked by callers