MCPcopy Create free account

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

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

Function_nvshmem_fcollect
(dst, src, nbytes, scope: tl.constexpr)
python/triton_dist/test/nvidia/test_nvshmem_api.py:569
Function_nvshmem_multimem_st_b32
(symm_ptr, nbytes)
python/triton_dist/test/nvidia/test_nvshmem_api.py:664
Function_nvshmem_multimem_st_p_b32
(symm_ptr, val)
python/triton_dist/test/nvidia/test_nvshmem_api.py:680
Function_nvshmem_multimem_st_v2
(symm_ptr, nbytes)
python/triton_dist/test/nvidia/test_nvshmem_api.py:651
Function_nvshmem_multimem_st_v4
TODO(houqi.1993) it's expected that multimem.st.v3.fp32 is supported. but actually no. ptxas won't compile: https://docs.nvidia.com/cuda/para
python/triton_dist/test/nvidia/test_nvshmem_api.py:637
Function_nvshmemi_putmem_rma_kernel
( ptr, elems_per_rank, scope: tl.constexpr, nbi: tl.constexpr, ELEM_SI
python/triton_dist/test/nvidia/test_nvshmem_api.py:719
Function_nvshmemi_putmem_rma_signal_kernel
(ptr, signal, bytes_per_rank, scope: tl.constexpr, nbi: tl.constexpr)
python/triton_dist/test/nvidia/test_nvshmem_api.py:822
Function_nvshmemx_getmem
(ptr, bytes_per_rank, scope: tl.constexpr, nbi: tl.constexpr)
python/triton_dist/test/nvidia/test_nvshmem_api.py:106
Function_nvshmemx_putmem
( ptr, elems_per_rank, scope: tl.constexpr, nbi: tl.constexpr, ELEM_SI
python/triton_dist/test/nvidia/test_nvshmem_init.py:42
Function_nvshmemx_putmem
( ptr, elems_per_rank, scope: tl.constexpr, nbi: tl.constexpr, ELEM_SI
python/triton_dist/test/nvidia/test_nvshmem_api.py:202
Function_nvshmemx_putmem_signal
(ptr, signal, bytes_per_rank, scope: tl.constexpr, nbi: tl.constexpr)
python/triton_dist/test/nvidia/test_nvshmem_api.py:348
Function_parse_col
(col_name)
python/triton_dist/tools/tune/find_topk.py:154
Function_permute_and_copy
(src, dst)
python/triton_dist/kernels/nvidia/ulysses_sp_dispatch.py:627
Function_pingpong
(t, iters)
python/triton_dist/test/nvidia/test_nvshmem_api.py:304
Function_pointer_type_hash
(self)
python/triton_dist/language/extra/cuda/libnvshmem_device.py:34
Method_process_chunk
Convert chunk to JSON and strip enclosing brackets
python/triton_dist/profiler_utils.py:146
Function_producer_kernel
Producer: write data and notify consumer
python/triton_dist/test/ascend/test_wait_notify.py:17
Function_qkv_pack_attn_fwd
( qkv_ptr, out_ptr, sm_scale, # Z, H_Q, H_KV, N_CTX, # dtype: tl.constexpr,
python/triton_dist/mega_triton_kernel/test/triton_impl_utils.py:164
Function_quant_kernel
(out, out_scale, t, m, N: tl.constexpr, FP8_GSIZE: tl.constexpr = 128, BM: tl.constexpr = 16)
python/triton_dist/test/amd/ep_a2a_utils.py:31
Function_quant_kernel
(out, out_scale, t, m, N: tl.constexpr, FP8_GSIZE: tl.constexpr = 128, BM: tl.constexpr = 16)
python/triton_dist/test/nvidia/ep_a2a_utils.py:31
Function_quant_kernel
(out, out_scale, t, m, N: tl.constexpr
tutorials/04-deepseek-infer-all2all.py:336
Method_recursive_visit_attribute
(node)
python/little_kernel/core/passes/constfold.py:411
Function_recv_ll_and_multimem_st_block
split src/dest outside of _recv_ll. this function is designed for a threadblock num_ints: of the pre-LL-packed num_ints.
python/triton_dist/kernels/nvidia/low_latency_allgather.py:570
Function_rocshmem_basic
(comm_buf, ctx, mype, npes)
python/triton_dist/test/amd/test_rocshmem_api.py:142
Function_rocshmem_device
(comm_buf, ctx, ptr)
python/triton_dist/test/amd/test_rocshmem_api.py:49
Function_rocshmem_get_put_symm_at
(local_ptr, ctx)
python/triton_dist/test/amd/test_rocshmem_api.py:71
Function_rocshmem_put
(ptr, ctx)
python/triton_dist/test/amd/test_rocshmem_api.py:61
Function_run
()
python/triton_dist/mega_triton_kernel/test/ops/test_flash_attn.py:70
Function_run_all_gather_nccl
()
tutorials/03a-inter-node-allgather.py:131
Function_run_all_gather_nccl
()
tutorials/03-inter-node-allgather.py:216
Function_set_cos_sin_cache
Precomputes cosine and sine cache for rotary position embeddings.
python/triton_dist/layers/nvidia/tp_attn.py:71
Function_set_signal_hip
(signal_tensor: torch.Tensor, val: int, stream: Optional[torch.cuda.Stream] = None)
python/triton_dist/kernels/amd/common_ops.py:212
Function_set_signal_maca
(ptr: int, signal: int, stream: torch.cuda.Stream, require_i64=False)
python/triton_dist/kernels/metax/common_ops.py:61
Function_shmemx_get_my_pe
(ptr)
python/triton_dist/test/ascend/test_my_pe.py:24
Function_shmemx_get_num_ranks
(ptr)
python/triton_dist/test/ascend/test_num_ranks.py:24
Function_shmemx_symm_at
Test symm_at by reading data from remote rank
python/triton_dist/test/ascend/test_symm_at.py:18
Function_str_to_gpu_shfl_mode
(mode_str)
python/triton_dist/language/extra/hip/language_extra.py:463
Function_swiglu_backward_kernel
( dC_ptr, dC_row_stride, A_ptr, A_row_stride, B_ptr, B_row_stride, scale_ptr,
python/triton_dist/kernels/nvidia/swiglu.py:135
Function_swiglu_backward_kernel_persistent
( dC_ptr, dC_row_stride, A_ptr, A_row_stride, B_ptr, B_row_stride, scale_ptr,
python/triton_dist/kernels/nvidia/swiglu.py:183
Function_swiglu_forward_kernel
( A_ptr, A_row_stride, B_ptr, B_row_stride, C_ptr, C_row_stride, scale_ptr, n_
python/triton_dist/kernels/nvidia/swiglu.py:62
Function_swiglu_forward_kernel_persistent
( A_ptr, A_row_stride, B_ptr, B_row_stride, C_ptr, C_row_stride, scale_ptr, n_
python/triton_dist/kernels/nvidia/swiglu.py:94
Function_threadblock_complex_swizzle_run
( output, tiled_m, M, rank, WORLD_SIZE: tl.constexpr, NNODES:
python/triton_dist/kernels/nvidia/ag_gemm_threadblock_swizzle.py:278
Function_threadblock_naive_swizzle_run
(output, tiled_m, M, rank, WORLD_SIZE: tl.constexpr, NNODES: tl.constexpr,
python/triton_dist/kernels/nvidia/ag_gemm_threadblock_swizzle.py:295
Function_threadblock_swizzle_run
( output, tiled_m, M, rank, WORLD_SIZE: tl.constexpr, NNODES:
python/triton_dist/kernels/nvidia/gemm_rs_threadblock_swizzle.py:161
Function_triton_ag_func
()
python/triton_dist/benchmark/bench_allgather_gemm.py:106
Function_triton_gemm_func
()
python/triton_dist/benchmark/bench_allgather_gemm.py:146
Method_unflatten_ir
(self, handles: List[ir.value], cursor: int)
python/triton_dist/language/simt_ops.py:58
Function_wait_eq_hip
(signal_tensor: torch.Tensor, val: int, stream: Optional[torch.cuda.Stream] = None)
python/triton_dist/kernels/amd/common_ops.py:189
Function_wait_eq_maca
(ptr: int, signal: int, stream: torch.cuda.Stream, require_i64=False)
python/triton_dist/kernels/metax/common_ops.py:43
Function_wgmma_alloc_init_accum_eval_arg_type
(ctx, acc, num_elems, dtype)
python/little_kernel/language/intrin/wgmma.py:163
Function_worker_wrapper
Common entry point for each worker process. Exits normally on success; on failure, pushes the exception into error_queue.
python/triton_dist/test/ascend/conftest.py:9
Functionadd_f32
32-bit float add.
python/little_kernel/language/intrin/cuda_asm.py:336
Functionadd_kernel
(x_ptr, # *Pointer* to first input vector. y_ptr, # *Pointer* to second input vector.
python/triton_dist/tools/compile_aot.py:118
Functionadd_task_compute
( task_base_info: TaskBaseInfo, scoreboard: Scoreboard, BLOCK_SIZE: tl.constexpr, )
python/triton_dist/mega_triton_kernel/kernels/elementwise.py:31
Functionadd_u32
32-bit unsigned add.
python/little_kernel/language/intrin/cuda_asm.py:328
Functionag_gemm_config_space
()
python/triton_dist/kernels/nvidia/allgather_gemm.py:558
Functionalign_memory
Align memory to the given byte alignment.
python/little_kernel/language/intrin/memory.py:131
Functionalign_power_of_2
Align a up to the given byte alignment (power-of-2 only). REQUIRES b is a power of 2 (e.g. 2, 4, 8, 16, 32). The implementation uses (a + b -
python/little_kernel/language/intrin/arith.py:56
Functionall_gather_kernel
( ag_ptr, n_elements, BLOCK_SIZE: tl.constexpr, )
python/triton_dist/test/nvidia/test_all_gather.py:39
Functionall_gather_push_1d
(ctx: AllGatherContext, symm_buffer: torch.Tensor)
tutorials/03a-inter-node-allgather.py:101
Functionall_gather_push_1d
(ctx: AllGatherContext, symm_buffer: torch.Tensor)
tutorials/03-inter-node-allgather.py:98
Functionall_gather_push_1d_kernel
(symm_ptr, bytes_per_rank, symm_flag, WORLD_SIZE: tl.constexpr, rank, signal_val
tutorials/03a-inter-node-allgather.py:63
Functionall_gather_push_1d_kernel
(symm_ptr, bytes_per_rank, symm_flag, WORLD_SIZE: tl.constexpr, rank, signal_val
tutorials/03-inter-node-allgather.py:62
Functionall_gather_push_2d
(ctx: AllGatherContext, symm_buffer: torch.Tensor)
tutorials/03-inter-node-allgather.py:180
Functionall_gather_push_2d_kernel
( buffer_ptr, bytes_per_token, symm_flag, # [world_size * batch_size] cu_seqlens_k, NNODE
python/triton_dist/kernels/nvidia/sp_ag_attention_inter_node.py:116
Functionall_gather_push_2d_kernel
( symm_ptr, bytes_per_rank, symm_flag, NNODES: tl.constexpr, WORLD_SIZE: tl.constexpr,
tutorials/03-inter-node-allgather.py:112
Functionall_to_all_kernel
( data_src, data_dst, splits_src, splits_dst, signal, splits_cumsum, scale_src,
python/triton_dist/kernels/amd/low_latency_all_to_all.py:36
Functionall_to_all_kernel
( data_src, data_dst, splits_src, splits_dst, signal, splits_cumsum, scale_src,
python/triton_dist/kernels/nvidia/low_latency_all_to_all.py:36
Functionall_to_all_kernel
All-to-All kernel for the Dispatch and Combine phases. - send_tensor: The tokens to be sent. - data/scale/splits_src/dst: The source and
tutorials/04-deepseek-infer-all2all.py:94
Functionall_to_all_single_2d_kernel
( data_src_ptr, data_dst_ptr, input_split_ptr, output_split_ptr, rank: int, WORLD_SIZE
python/triton_dist/kernels/nvidia/all_to_all_single_2d.py:43
Functionall_to_all_v_2d_inter_node_kernel
( profiler_buf, in_splits_offsets, # (2, nsplits), symmetric trans_in_splits_offsets, # (2, nspl
python/triton_dist/kernels/nvidia/all_to_all_vdev_2d_offset_inter_node.py:307
Functionall_to_all_v_2d_kernel
( profiler_buf, in_splits_offsets, # (2, nsplits), symmetric out_splits_offsets, # (2, nsplits),
python/triton_dist/kernels/nvidia/all_to_all_vdev_2d_offset.py:199
Functionall_to_all_v_2d_kernel_v2
( profiler_buf, input, output, input_splits, # (nsplits,), local output_splits, # (nspli
python/triton_dist/kernels/nvidia/all_to_all_vdev_2d_offset.py:291
Functionall_to_all_vdev_2d
(ctx: AllToAllContext, input: torch.Tensor = None, output: torch.Tensor = None, in_spli
python/triton_dist/kernels/nvidia/all_to_all_vdev_2d_offset.py:714
Functionall_to_all_vdev_2d
(ctx: AllToAllContext, input: torch.Tensor = None, output: torch.Tensor = None, in_spli
python/triton_dist/kernels/nvidia/all_to_all_vdev_2d_offset_inter_node.py:695
Functionall_to_all_vdev_2d_offset
(ctx: AllToAllContext, input: torch.Tensor = None, output: torch.Tensor = None,
python/triton_dist/kernels/nvidia/all_to_all_vdev_2d_offset.py:733
Functionall_to_all_vdev_2d_offset
(ctx: AllToAllContext, input: torch.Tensor = None, output: torch.Tensor = None,
python/triton_dist/kernels/nvidia/all_to_all_vdev_2d_offset_inter_node.py:714
Functionallgather_chunked_pull_fused_packed_kernel
( ctx, symm_ptr, # (M, N), M = M_per_rank * num_ranks local_ptr, # (M_per_rank, N) M_per_ran
python/triton_dist/kernels/amd/allgather.py:483
Functionallgather_ipc_kernel
( symm_ptr_ptr, local_ptr, N_per_rank, rank, num_ranks: tl.constexpr, BLOCK_SIZE: tl.c
python/triton_dist/kernels/amd/allgather.py:597
Functionallgather_kernel
( ctx, symm_ptr, local_ptr, N_per_rank, rank, num_ranks: tl.constexpr, group_barri
python/triton_dist/kernels/amd/allgather.py:67
Functionallgather_no_barrier_kernel
( ctx, symm_ptr, local_ptr, N_per_rank, rank, num_ranks: tl.constexpr, BLOCK_SIZE:
python/triton_dist/kernels/amd/allgather.py:41
Functionallgather_no_fuse
(full_symm: torch.Tensor, shard: torch.Tensor, barrier: torch.Tensor)
python/triton_dist/kernels/amd/allgather.py:625
Functionallgather_opt_kernel
compared to allagther_kernel, this use less CTAs to achieve to the same level
python/triton_dist/kernels/amd/allgather.py:525
Functionallgather_strided_chunked_kernel
with the local_ptr
python/triton_dist/kernels/amd/allgather.py:99
Functionallgather_strided_chunked_pull_ctx_wrapper_kernel
( ctx, symm_ptr, # (M, N), M = M_per_rank * num_ranks M_per_rank, N, stride_m, stride
python/triton_dist/kernels/amd/allgather.py:402
Functionallgather_strided_chunked_pull_fused_kernel
( ctx, symm_ptr, # (M, N), M = M_per_rank * num_ranks local_ptr, # (M_per_rank, N) M_per_ran
python/triton_dist/kernels/amd/allgather.py:438
Functionalloc_dynamic_shared_memory
Allocate dynamic shared memory with the given size in bytes.
python/little_kernel/language/intrin/memory.py:44
Functionalloc_dynamic_shared_memory_eval_arg_type
(ctx, size_bytes, align_bytes, name)
python/little_kernel/language/intrin/memory.py:38
Functionalloc_fn
(size: int, alignment: int, stream: Optional[int])
python/triton_dist/function/nvidia/common.py:278
Functionalloc_fn
(size: int, alignment: int, stream)
python/triton_dist/test/amd/test_tp_mlp.py:142
Functionalloc_fn
(size: int, alignment: int, stream: Optional[int])
python/triton_dist/test/nvidia/test_distributed_wait.py:442
Functionalloc_fn
(size: int, alignment: int, stream: Optional[int])
python/triton_dist/test/nvidia/perf_ring_reduce_tma.py:176
Functionalloc_fn
(size: int, alignment: int, stream)
python/triton_dist/test/nvidia/test_tp_moe.py:128
Functionalloc_fn
(size: int, alignment: int, stream)
python/triton_dist/test/nvidia/test_tp_mlp.py:161
Functionalloc_fn
(size: int, alignment: int, stream: Optional[int])
python/triton_dist/test/nvidia/test_allreduce.py:221
Functionalloc_fn
(size: int, alignment: int, stream: Optional[int])
python/triton_dist/test/nvidia/test_compile_aot.py:227
Functionalloc_fn
(size: int, alignment: int, stream: Optional[int])
python/triton_dist/test/metax/test_distributed_wait.py:419
Functionalloc_fn
(size, alignment, stream)
python/triton_dist/mega_triton_kernel/test/ops/test_mlp_layer.py:82
Functionalloc_fn
(size, alignment, stream)
python/triton_dist/mega_triton_kernel/test/models/bench_qwen3.py:88
Functionalloc_fn
(size, alignment, stream)
python/triton_dist/mega_triton_kernel/test/models/test_qwen3.py:89
← previousnext →2,901–3,000 of 5,103, ranked by callers