MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,468 in github.com/deepspeedai/DeepSpeed

Method_create_fp16_sub_groups
(self, params_group)
deepspeed/runtime/superoffload/superoffload_stage3.py:63
Method_create_fp32_partitions
(self)
deepspeed/runtime/reflow/reflow_stage3.py:431
Method_create_io_op_desc
csrc/gds/deepspeed_py_gds_handle.cpp:104
Method_create_io_op_desc
csrc/aio/py_lib/deepspeed_py_io_handle.cpp:281
Function_create_model_parallel
Initialize model data parallel groups. Arguments: model_parallel_size_: number of GPUs used to parallelize model. Returns:
deepspeed/utils/groups.py:326
Method_create_offloaded_master
(self, partition, device)
deepspeed/runtime/reflow/reflow_stage3.py:434
Function_create_zero_param_parallel_group
Create parameter partitioning group within ZeRO data parallel groups. Example - ZP + D parallel world_size = 16 zero
deepspeed/utils/groups.py:951
Function_cross_entropy_backward_kernel
(logits_ptr, grad_ptr, target_ptr, log_sum_exp_ptr, row_scale_ptr, n_cols,
deepspeed/runtime/chunked_cross_entropy.py:53
Function_decode_attn_forward
Replacement forward for full-attention layers: run the custom decode_attn kernel at b=1, seq_len=1 instead of SDPA-with-mask (which falls into
deepspeed/module_inject/segment_ki.py:840
Function_deepep_available
()
tests/unit/v1/moe/test_autoep_deepep_parity.py:50
Function_default_command
(argv: Sequence[str], *, timeout: float | None = None)
ci/torch_latest.py:870
Function_dim_zero_all_to_all_backward
(ctx: Any, grad: Tensor)
deepspeed/sequence/layer.py:348
Function_dim_zero_all_to_all_backward_setup
(ctx: Any, inputs: Tuple[Any, ...], output: Tensor)
deepspeed/sequence/layer.py:344
Function_dim_zero_all_to_all_fake
(input: Tensor, group_name: str)
deepspeed/sequence/layer.py:340
Method_disable_class
(cls)
deepspeed/runtime/zero/partition_parameters.py:615
Method_disable_class_apply
(cls)
deepspeed/runtime/zero/partition_parameters.py:517
Function_disable_dynamo_if_unsupported
(**kwargs)
deepspeed/ops/adam/zenflow_torch_adam.py:32
Method_discard
(self, key)
deepspeed/utils/debug.py:41
Method_dist_destroy
(self)
tests/unit/common.py:369
Method_dist_run
(self, local_rank, num_procs, master_port, init_method, skip_msg="")
tests/unit/common.py:311
Function_distributed_default_training
(rank, rendezvous)
tests/unit/v1/zero/test_zero2_gradient_safety.py:769
Function_dropout_flops_compute
(input, p=0.5, training=True, inplace=False)
deepspeed/profiling/flops_profiler/profiler.py:765
Function_dual_weight_glu_forward
Replacement forward: reads gate_proj.weight and up_proj.weight directly (zero copies). b=1 uses the fused dual-weight GEMV kernel; b>1 falls
deepspeed/module_inject/segment_ki.py:247
Method_dump_params
(self, tag, sub_module, params, step_id=None)
deepspeed/runtime/zero/partitioned_param_coordinator.py:309
Method_dump_state
(self)
deepspeed/io/base_file_writer.py:38
Function_einops_einsum_flops_compute
Count flops for the einops.einsum operation.
deepspeed/profiling/flops_profiler/profiler.py:807
Function_einsum_flops_compute
Count flops for the einsum operation.
deepspeed/profiling/flops_profiler/profiler.py:785
Function_elu_flops_compute
(input: Tensor, alpha: float = 1.0, inplace: bool = False)
deepspeed/profiling/flops_profiler/profiler.py:537
Function_embedding_flops_compute
( input, weight, padding_idx=None, max_norm=None, norm_type=2.0, scale_grad_by_freq=Fa
deepspeed/profiling/flops_profiler/profiler.py:753
Method_enable_class
(cls)
deepspeed/runtime/zero/partition_parameters.py:571
Method_enable_class_apply
(cls)
deepspeed/runtime/zero/partition_parameters.py:512
Method_end_forward
(self, _module, _args, _output)
deepspeed/runtime/rollout/hybrid_engine_rollout.py:67
Method_enforce_cpu_offload
()
deepspeed/runtime/zero/stage_1_and_2.py:333
Method_enforce_optimizer_offload
()
deepspeed/runtime/zero/stage3.py:315
Function_entropy_backward_kernel
(x_ptr, max_ptr, lse_ptr, entropy_ptr, grad_out_ptr, grad_ptr, vocab, x_inner, x_outer,
deepspeed/ops/triton_ops/vocab_parallel_softmax.py:196
Function_entropy_stats_kernel
(x_ptr, out_ptr, num_rows, vocab, x_inner, x_outer, x_row, BLOCK: tl.constexpr)
deepspeed/ops/triton_ops/vocab_parallel_softmax.py:162
Method_epilogue_ran_this_backward
(self)
deepspeed/runtime/base_optimizer.py:315
Method_exec_backward_pass
(self, buffer_id, phase)
deepspeed/runtime/pipe/dualpipev.py:214
Method_exec_backward_pass
(self, buffer_id)
deepspeed/runtime/pipe/engine.py:791
Method_exec_commit_p2p
(self)
deepspeed/runtime/pipe/dualpipev.py:179
Method_exec_forward_pass
(self, buffer_id, phase)
deepspeed/runtime/pipe/dualpipev.py:195
Method_exec_forward_pass
(self, buffer_id)
deepspeed/runtime/pipe/engine.py:698
Method_exec_load_micro_batch
(self, buffer_id)
deepspeed/runtime/pipe/dualpipev.py:190
Method_exec_load_micro_batch
(self, buffer_id)
deepspeed/runtime/pipe/engine.py:886
Method_exec_optimizer_step
(self, lr_kwargs=None)
deepspeed/runtime/pipe/engine.py:1212
Method_exec_recv_activations
(self, buffer_id, phase)
deepspeed/runtime/pipe/dualpipev.py:246
Method_exec_recv_activations
(self, buffer_id)
deepspeed/runtime/pipe/engine.py:1107
Method_exec_recv_grads
(self, buffer_id, phase)
deepspeed/runtime/pipe/dualpipev.py:267
Method_exec_recv_grads
(self, buffer_id)
deepspeed/runtime/pipe/engine.py:1150
Method_exec_reduce_grads
(self)
deepspeed/runtime/pipe/engine.py:287
Method_exec_reduce_tied_grads
(self)
deepspeed/runtime/pipe/engine.py:269
Method_exec_send_activations
(self, buffer_id, phase)
deepspeed/runtime/pipe/dualpipev.py:236
Method_exec_send_activations
(self, buffer_id)
deepspeed/runtime/pipe/engine.py:1015
Method_exec_send_grads
(self, buffer_id, phase)
deepspeed/runtime/pipe/dualpipev.py:260
Method_exec_send_grads
(self, buffer_id)
deepspeed/runtime/pipe/engine.py:1051
Method_expand_resources
(resource_list, new_size)
deepspeed/runtime/model_checkpointing/data_parallel_writer_factory.py:108
Function_expert_weight_parity_mvp_tp2_ep4_z0
(rank, world_size, _tmp)
tests/unit/v1/moe/test_autoep_autotp_grad_parity.py:625
Function_expert_weight_parity_tp4_ep4_z0
(rank, world_size, _tmp)
tests/unit/v1/moe/test_autoep_autotp_grad_parity.py:629
Function_expert_weight_parity_tp4_ep4_z2
(rank, world_size, _tmp)
tests/unit/v1/moe/test_autoep_autotp_grad_parity.py:633
Method_fail
(*args, **kwargs)
tests/unit/v1/moe/test_autoep_expert_activation.py:313
Function_fake_all_gather
(tensor_list, tensor, group=None)
deepspeed/sequence/test_autosp.py:101
Function_fallback_allgather_key
(task: AllgatherTask)
deepspeed/compile/list_schedule.py:499
Function_fill_indices_kernel
( tokens_per_expert_group_ptr, start_index_values_ptr, write_offsets_ptr, outp
deepspeed/moe/ep_kernels.py:68
Method_filter_helper
(x)
deepspeed/runtime/pipe/topology.py:184
Function_flash_packed_kernel
( QKV, mask, ADD_MASK: tl.constexpr, IS_CAUSAL: tl.constexpr, sm_scale, Out, strid
deepspeed/ops/transformer/inference/triton/attention.py:225
Function_flat_and_matrix_shards
()
tests/unit/checkpoint/test_affine_transfer_plan.py:451
Function_for_loop_grouped_mm
Per-expert loop: out_e = x_e @ w_e^T, w in [E, N, K].
tests/benchmarks/group_gemm_bench.py:37
Method_forward_attention
(self, layer_idx: int, qkv: torch.Tensor, kv_cache: torch.Tensor, ragged_batch_info
deepspeed/inference/v2/model_implementations/exaone4_5/model.py:169
Function_fp16_matmul_prune_config
(configs, named_args, skip_autotune=SKIP_AUTOTUNE, **kwargs)
deepspeed/ops/transformer/inference/triton/triton_matmul_kernel.py:37
Function_fp_matmul
( A, B, C, M, N, K, bias, stride_am, stride_ak, stride_bk, stride_
deepspeed/ops/transformer/inference/triton/triton_matmul_kernel.py:120
Method_free_bounce_buffer
csrc/aio/py_lib/deepspeed_cpu_op.cpp:109
Function_free_path_allgather_key
(task: AllgatherTask)
deepspeed/compile/list_schedule.py:495
Method_freeze_partition_sizes
Resolve the tensor parallel split of this layer once, while the layer is built. The split depends on this model's kv-head/grain metadata (``s
deepspeed/module_inject/layers.py:584
Method_freeze_partition_sizes
Resolve the sub-parameter layout once, while the layer is built. Subclasses describe their split by setting ``_subparam_layout_spec`` before
deepspeed/module_inject/layers.py:1349
Function_fresh_compile_cache
()
tests/unit/v1/ops/muon/test_muon_scale_compile.py:36
Function_full_vocab_causal_loss
(logits, labels, **kwargs)
tests/unit/v1/autotp/test_autotp_training.py:166
Function_fused_adamw
( params: List[Tensor], grads: List[Tensor], exp_avgs: List[Tensor], exp_avg_s
deepspeed/ops/adam/zenflow_torch_adam.py:968
Function_fused_gdn_forward
GDN block forward with the four input projections fused into one GEMM. Mirrors the native flow (transformers Qwen3_5GatedDeltaNet.forward) while
deepspeed/module_inject/segment_ki.py:297
Function_fused_norm_layer_forward
Replacement forward for decoder layers at b=1, seq_len=1: the post-attention residual-add + RMSNorm pair runs through the fused_add_norm kerne
deepspeed/module_inject/segment_ki.py:1093
Function_fused_restore_available
()
tests/unit/v1/moe/test_autoep_autotp_dispatch.py:240
Method_fwd
(self, input)
deepspeed/runtime/utils.py:1172
Method_fwd_bias_add
(self, input)
deepspeed/runtime/utils.py:1175
Function_fwd_kernel
( Q, K, V, sm_scale, Out, stride_qz, stride_qh, stride_qm, stride_qk,
deepspeed/ops/transformer/inference/triton_ops.py:16
Function_gather_from_tp_region_backward
(ctx, grad)
deepspeed/compile/custom_ops/tp_collectives.py:109
Function_gather_from_tp_region_setup
(ctx, inputs, output)
deepspeed/compile/custom_ops/tp_collectives.py:104
Function_gather_rows_kernel
( src_ptr, index_ptr, out_ptr, num_out_rows, num_src_rows, hid
deepspeed/moe/ep_kernels.py:256
Function_geglu_tanh
(gate: torch.Tensor, up: torch.Tensor, alpha: float, limit: float)
deepspeed/moe/ep_experts.py:131
Function_gelu_flops_compute
(input, **kwargs)
deepspeed/profiling/flops_profiler/profiler.py:553
Function_get_broadcast_src_rank
()
deepspeed/utils/groups.py:813
Function_get_data_parallel_group_ranks
Get the ranks of data parallel group the caller rank belongs to.
deepspeed/utils/groups.py:802
Function_get_expert_broadcast_src_rank
(group_name)
deepspeed/utils/groups.py:818
Function_get_expert_data_parallel_group_dict
Get the expert data parallel group dict.
deepspeed/utils/groups.py:737
Function_get_expert_data_parallel_group_ranks
Get the ranks of the expert data parallel group the caller rank belongs to.
deepspeed/utils/groups.py:723
Function_get_expert_data_parallel_group_table
Get the ranks of every expert data parallel group named ``group_name``, in creation order.
deepspeed/utils/groups.py:730
Function_get_expert_data_parallel_rank
Return my rank for the expert data parallel group.
deepspeed/utils/groups.py:850
Function_get_expert_data_parallel_world_size
Return world size for the expert data parallel group.
deepspeed/utils/groups.py:829
Function_get_expert_model_parallel_world_size
()
deepspeed/utils/groups.py:946
Function_get_expert_parallel_group_dict
Get the expert parallel group dict.
deepspeed/utils/groups.py:711
Function_get_expert_parallel_group_ranks
Get the ranks of the expert parallel group the caller rank belongs to.
deepspeed/utils/groups.py:704
Function_get_expert_parallel_rank
Return my rank for the expert parallel group.
deepspeed/utils/groups.py:835
← previousnext →7,701–7,800 of 15,468, ranked by callers