MCPcopy Create free account

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

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

↓ 1 callersFunctiongen_store
()
python/triton_dist/tools/gen_amd_libdevice_extra.py:119
↓ 1 callersMethodgenerate_code
(self, tasks: List['TaskBase'], codegen_options: CodeGenOptions)
python/triton_dist/mega_triton_kernel/core/code_generator.py:243
↓ 1 callersFunctiongenerate_conflict_file
Generate a Git-style conflict file from two input files.
scripts/diff_to_conflict.py:48
↓ 1 callersFunctiongenerate_cuda_code
Generate CUDA code using the unified codegen.
python/little_kernel/design/sm90_bf16_gemm.py:236
↓ 1 callersFunctiongenerate_cuda_code
Generate CUDA code for inspection.
python/little_kernel/benchmark/gemm_sm90/gemm_v1.py:157
↓ 1 callersFunctiongenerate_enum_cpp_definition
Generate C++ enum class definition from Python Enum class. Args: enum_name: Name of the enum (e.g., 'GemmType') enum_cla
python/little_kernel/codegen/registries/enum_registry.py:101
↓ 1 callersMethodgenerate_for_each_task
(self, condition: CodeGenKey, code: str, is_first_branch=True)
python/triton_dist/mega_triton_kernel/core/code_generator.py:206
↓ 1 callersMethodgenerate_for_each_task_type
(self, key_and_tasks_list, is_first_branch=True)
python/triton_dist/mega_triton_kernel/core/code_generator.py:212
↓ 1 callersFunctiongenerate_matrices_for_rank
Generate consistent A and B matrices for a given rank using a seed. Args: rank: Rank ID M, N, K: Matrix dimensions d
tutorials/ascend/03-ascend-gemm-allreduce-oneshot.py:238
↓ 1 callersFunctiongenerate_ntokens_per_rank_per_expert_random_with_many_zeros
(nexperts_per_rank, nexperts, TP_SIZE, zero_rate=0.3)
python/triton_dist/kernels/nvidia/threadblock_swizzle_ag_moe_triton.py:333
↓ 1 callersFunctiongenerate_random_counts_per_rank_per_expert
python/triton_dist/kernels/nvidia/threadblock_swizzle_ag_moe.cc:240
↓ 1 callersFunctiongenerate_random_counts_with_zeros_per_rank_per_expert
python/triton_dist/kernels/nvidia/threadblock_swizzle_ag_moe.cc:256
↓ 1 callersFunctiongenerate_random_exp_indices
(token_num, total_num_experts, topk, drop_ratio=0.0)
python/triton_dist/test/amd/test_ep_ll_a2a.py:49
↓ 1 callersFunctiongenerate_random_exp_indices
(token_num, total_num_experts, topk)
python/triton_dist/test/amd/test_all_to_all.py:131
↓ 1 callersFunctiongenerate_random_exp_indices
(token_num, total_num_experts, topk)
python/triton_dist/test/amd/test_ep_a2a.py:148
↓ 1 callersFunctiongenerate_random_exp_indices
(token_num, total_num_experts, topk, drop_ratio=0.0)
python/triton_dist/test/nvidia/test_ep_ll_a2a.py:49
↓ 1 callersFunctiongenerate_random_exp_indices
(token_num: int, total_num_experts: int, topk: int)
python/triton_dist/test/nvidia/test_ep_moe_inference.py:72
↓ 1 callersFunctiongenerate_random_exp_indices
(token_num, total_num_experts, topk)
python/triton_dist/test/nvidia/test_all_to_all.py:129
↓ 1 callersFunctiongenerate_random_exp_indices
(token_num, total_num_experts, topk, drop_ratio=0.0)
python/triton_dist/test/nvidia/test_ep_a2a.py:57
↓ 1 callersFunctiongenerate_random_exp_indices
(token_num, total_num_experts, topk)
tutorials/04-deepseek-infer-all2all.py:431
↓ 1 callersFunctiongenerate_size_configs
Generate tensor configs for a fixed list of M values with K=4096.
python/triton_dist/test/amd/test_bandwidth.py:460
↓ 1 callersMethodgenerate_sub_cu
(user_ptx)
python/triton_dist/nv_utils.py:504
↓ 1 callersFunctiongenerate_token_cnts_per_rank_per_expert_random
(nexperts_per_rank, nexperts, TP_SIZE)
python/triton_dist/kernels/nvidia/threadblock_swizzle_ag_moe.py:190
↓ 1 callersFunctiongenerate_token_cnts_per_rank_per_expert_random_with_many_zeros
(nexperts_per_rank, nexperts, TP_SIZE, zero_rate=0.3)
python/triton_dist/kernels/nvidia/threadblock_swizzle_ag_moe.py:194
↓ 1 callersFunctiongeneric_special_struct_definition_codegen
Generic code generator for special struct definitions. Generates C++ struct definition by automatically converting the Python class to C
python/little_kernel/codegen/special_struct/generic_codegen.py:429
↓ 1 callersFunctionget_ag_splits_and_recv_offset_for_dispatch
(send_reqs_for_nodes, send_reqs_recv_bufs, exp_indices, topk_indices_buf,
python/triton_dist/kernels/nvidia/ep_a2a.py:765
↓ 1 callersFunctionget_ag_splits_and_recv_offset_for_dispatch
( num_tokens, send_reqs_for_nodes, send_reqs_recv_bufs, topk_indices_buf, expert_indices_s
python/triton_dist/kernels/nvidia/ep_all2all_fused.py:1924
↓ 1 callersMethodget_aot_nvshmem_cubin
(capability)
python/triton_dist/nv_utils.py:466
↓ 1 callersFunctionget_args
()
python/triton_dist/test/nvidia/test_sp_decode_attn.py:51
↓ 1 callersFunctionget_args
()
python/triton_dist/test/nvidia/test_decode_attn.py:51
↓ 1 callersFunctionget_args
()
python/triton_dist/test/nvidia/test_distributed_wait.py:48
↓ 1 callersFunctionget_args
()
python/triton_dist/test/nvidia/test_utils.py:46
↓ 1 callersFunctionget_args
()
python/triton_dist/test/nvidia/test_ag_gemm.py:50
↓ 1 callersFunctionget_args
()
python/triton_dist/test/metax/test_distributed_wait.py:25
↓ 1 callersFunctionget_args
()
python/triton_dist/test/metax/test_ag_gemm_intra_node.py:30
↓ 1 callersFunctionget_args
()
python/little_kernel/benchmark/memory/bench_tma_2d_layout.py:38
↓ 1 callersFunctionget_auto_all_reduce_method
(num_ranks, num_local_ranks)
python/triton_dist/kernels/allreduce.py:75
↓ 1 callersFunctionget_auto_allreduce_method
Automatically selects the best all-reduce method based on the input size and hardware capabilities. The selection logic prefers multimem-bas
python/triton_dist/kernels/nvidia/allreduce.py:1102
↓ 1 callersMethodget_bin_op_handler
Get handler for a binary operator.
python/little_kernel/core/passes/utils/registries/operator_registry.py:71
↓ 1 callersMethodget_bool_op
Get C++ operator string for boolean operator.
python/little_kernel/codegen/registries/operator_codegen.py:92
↓ 1 callersMethodget_bool_op_handler
Get handler for a boolean operator.
python/little_kernel/core/passes/utils/registries/operator_registry.py:79
↓ 1 callersFunctionget_build_type
()
python/setup.py:222
↓ 1 callersMethodget_builder
(self, task_cls: Type['TaskBase'])
python/triton_dist/mega_triton_kernel/core/registry.py:60
↓ 1 callersFunctionget_chunk_fwd_o_info
(H: int, K: int, V: int, USE_G: bool)
python/triton_dist/kernels/nvidia/gdn.py:746
↓ 1 callersFunctionget_chunk_gated_delta_rule_fwd_kernel_h_blockdim64_info
( H: int, K: int, V: int, USE_G: bool, USE_INITIAL_STATE: bool, STORE_FINAL_STATE: boo
python/triton_dist/kernels/nvidia/gdn.py:419
↓ 1 callersFunctionget_chunk_kkt_inv_ut_fused_kernel_info
(H: int, K: int, V: int, USE_G: bool)
python/triton_dist/kernels/nvidia/gdn.py:91
↓ 1 callersMethodget_code
Combine headers, structs, and main code into final CUDA output with extern "C" wrapper.
python/little_kernel/codegen/codegen_cuda.py:157
↓ 1 callersMethodget_codegen
(self, task_cls: Type['TaskBase'])
python/triton_dist/mega_triton_kernel/core/registry.py:75
↓ 1 callersMethodget_codegen_key
(cls, layer_id: int, task_id: int)
python/triton_dist/mega_triton_kernel/core/task_base.py:185
↓ 1 callersMethodget_comm_buf
(self, comm_buf_idx: int)
python/triton_dist/kernels/nvidia/sp_ulysess_qkv_gemm_all2all.py:662
↓ 1 callersMethodget_comm_nbytes
(self, q: torch.Tensor, k: torch.Tensor, v: torch.Tensor, skip_q_a2a=False)
python/triton_dist/layers/nvidia/ulysses_sp_a2a_layer.py:49
↓ 1 callersFunctionget_compute_config
()
python/triton_dist/kernels/nvidia/sp_ag_attention_intra_node.py:429
↓ 1 callersFunctionget_compute_config
()
python/triton_dist/kernels/nvidia/sp_ag_attention_inter_node.py:501
↓ 1 callersFunctionget_config_space_a100
()
python/triton_dist/kernels/nvidia/gemm.py:103
↓ 1 callersFunctionget_config_space_default
()
python/triton_dist/kernels/nvidia/gemm.py:130
↓ 1 callersFunctionget_config_space_hopper_default
(persistent: bool = False)
python/triton_dist/kernels/nvidia/gemm.py:184
↓ 1 callersFunctionget_config_space_nt_h800
(persistent=False)
python/triton_dist/kernels/nvidia/gemm.py:206
↓ 1 callersFunctionget_configs_io_bound
()
python/triton_dist/kernels/nvidia/gemm.py:65
↓ 1 callersFunctionget_cpu_info_linux
()
python/triton_dist/utils.py:501
↓ 1 callersFunctionget_cu_count
(device_id: int)
python/triton_dist/kernels/amd/perf_model.py:44
↓ 1 callersFunctionget_cuda_arch
Auto-detect CUDA architecture from current GPU.
python/little_kernel/runtime/compiler.py:42
↓ 1 callersFunctionget_cuda_autotune_config
()
python/triton_dist/test/amd/test_matmul_amd.py:142
↓ 1 callersFunctionget_cuda_extra_args
()
python/triton_dist/tune.py:210
↓ 1 callersFunctionget_current_gpu_clock_rate_in_khz
(device_id: int | None = None)
python/triton_dist/nv_utils.py:326
↓ 1 callersFunctionget_default_profile_context
()
python/triton_dist/kernels/nvidia/threadblock_swizzle_ag_moe_triton.py:374
↓ 1 callersFunctionget_device_property
(device)
python/triton_dist/kernels/nvidia/gemm_perf_model.py:40
↓ 1 callersFunctionget_dram_gbps_by_device_name
(device_id: int)
python/triton_dist/kernels/amd/perf_model.py:88
↓ 1 callersFunctionget_dtype_size
Get the size in bytes for a given dtype.
python/triton_dist/utils.py:1055
↓ 1 callersFunctionget_dtype_size
Calculate the size (in bytes) of a single element for the given LLType. Supports scalar types, structs, and other composite types.
python/little_kernel/core/type_system.py:619
↓ 1 callersFunctionget_entry_points
()
python/setup.py:1176
↓ 1 callersFunctionget_exit_cleanup
(ccinfo: triton.compiler.CompiledKernel)
python/triton_dist/tools/compile/compile.py:188
↓ 1 callersFunctionget_export_trace_on
()
python/triton_dist/tools/profiler/context.py:45
↓ 1 callersMethodget_extra_params_ptr
(self, num_io_tensors)
python/triton_dist/mega_triton_kernel/kernels/task_context.py:85
↓ 1 callersFunctionget_full_tflops_approx
(dtype: torch.dtype, device: Optional[torch.device] = None)
python/triton_dist/kernels/nvidia/gemm_perf_model.py:122
↓ 1 callersMethodget_function
Get kernel function from module. Args: module: CUDA module handle kernel_name: Name of the kernel function to
python/little_kernel/runtime/cuda_runtime.py:437
↓ 1 callersMethodget_gemm_out_buf
(self, A: torch.Tensor, B: torch.Tensor)
python/triton_dist/kernels/amd/gemm_allreduce.py:50
↓ 1 callersMethodget_gemm_out_buf
(self, input)
tutorials/08-overlapping-gemm-reduce-scatter.py:87
↓ 1 callersFunctionget_git_branch
()
python/setup.py:1195
↓ 1 callersFunctionget_git_commit_hash
(length=8)
python/setup.py:1187
↓ 1 callersFunctionget_git_tracked_files
()
scripts/check_license.py:167
↓ 1 callersFunctionget_git_version_suffix
()
python/setup.py:1203
↓ 1 callersFunctionget_global_scratch_def
(ccinfo: triton.compiler.CompiledKernel)
python/triton_dist/tools/compile/compile.py:180
↓ 1 callersFunctionget_golden_results
(inp_splits: torch.Tensor, inp: torch.Tensor, world_size: int, ne: int, align: int, ran
python/triton_dist/test/nvidia/test_all_to_all_vdev_2d_offset_inter_node.py:41
↓ 1 callersFunctionget_gpu_frequency
()
python/little_kernel/benchmark/memory/bench_l1_cache.py:101
↓ 1 callersFunctionget_gpu_frequency
()
python/little_kernel/benchmark/memory/bench_l2_cache.py:101
↓ 1 callersFunctionget_gpu_frequency
()
python/little_kernel/benchmark/memory/bench_shared_memory.py:113
↓ 1 callersMethodget_gpu_numa_node
(gpu_index=0)
python/triton_dist/kernels/metax/utils.py:26
↓ 1 callersFunctionget_hardware_info
(with_nic)
python/triton_dist/tune.py:255
↓ 1 callersFunctionget_hip_autotune_config
()
python/triton_dist/test/amd/test_matmul_amd.py:180
↓ 1 callersFunctionget_hip_autotune_config
()
python/triton_dist/kernels/amd/gemm_reduce_scatter.py:42
↓ 1 callersMethodget_input_comm_buf
(self, tensor, comm_buf_idx)
python/triton_dist/kernels/nvidia/sp_ulysess_qkv_gemm_all2all.py:681
↓ 1 callersMethodget_input_dep_desc
(self, input_idx)
python/triton_dist/mega_triton_kernel/core/task_base.py:194
↓ 1 callersMethodget_jit_nvshmem_cubin
(user_ptx: str, capability: int, metadata)
python/triton_dist/nv_utils.py:525
↓ 1 callersFunctionget_json_package_info
()
python/setup.py:274
↓ 1 callersMethodget_kv_len
(self)
python/triton_dist/models/kv_cache.py:65
↓ 1 callersMethodget_layer_kv_cache
(self, layer_idx: int)
python/triton_dist/mega_triton_kernel/models/paged_kv_cache.py:57
↓ 1 callersFunctionget_llvm_package_info
()
python/setup.py:288
↓ 1 callersFunctionget_loop_modifier_codegen
Get the global loop modifier codegen instance.
python/little_kernel/codegen/registries/loop_modifier_codegen.py:111
↓ 1 callersFunctionget_matched_autotune_files
(M: IntFilter, N: IntFilter, K: IntFilter, dtype, func, verbose)
python/triton_dist/tools/tune/tune_gemm.py:218
↓ 1 callersFunctionget_matmul_function
()
python/triton_dist/tools/tune/tune_gemm.py:40
← previousnext →1,501–1,600 of 5,103, ranked by callers