MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,468 in github.com/deepspeedai/DeepSpeed

Methodbackward
(ctx, *args)
deepspeed/runtime/zero/parameter_offload.py:517
Methodbackward
(phase)
deepspeed/runtime/pipe/schedule.py:397
Methodbackward
(ctx, grad_output)
deepspeed/runtime/domino/transformer.py:67
Methodbackward
(ctx, grad_output)
deepspeed/runtime/domino/async_linear.py:31
Methodbackward
(ctx, *grads)
deepspeed/runtime/sequence_parallel/ulysses_sp.py:857
Methodbackward
(ctx, *grads)
deepspeed/runtime/sequence_parallel/ulysses_sp.py:1221
Methodbackward
(ctx, *grads)
deepspeed/runtime/sequence_parallel/ulysses_sp.py:1261
Methodbackward
(ctx, *grads)
deepspeed/runtime/activation_checkpointing/checkpointing.py:666
Methodbackward
:attr:`backward` performs the following steps: 1. fp32_loss = loss.float() 2. scaled_loss = fp32_loss*loss_scale 3.
deepspeed/runtime/fp16/fused_optimizer.py:389
Methodbackward
(self, loss, retain_graph=False)
deepspeed/runtime/fp16/loss_scaler.py:171
Methodbackward
:attr:`backward` performs the following steps: 1. fp32_loss = loss.float() 2. scaled_loss = fp32_loss*loss_scale 3.
deepspeed/runtime/fp16/unfused_optimizer.py:260
Methodbackward
(ctx, grad_full: torch.Tensor)
deepspeed/models/glm_moe_dsa/attention.py:83
Methodbackward
(ctx, grad_out)
deepspeed/models/glm_moe_dsa/kernels/sparse_mla.py:25
Methodbackward
(ctx, grad_received, grad_recv_weights)
deepspeed/module_inject/auto_ep_comm.py:518
Methodbackward
(ctx, grad_combined)
deepspeed/module_inject/auto_ep_comm.py:559
Methodbackward
(ctx, grad_out)
deepspeed/module_inject/segment_ki.py:155
Methodbackward
(ctx, grad_out)
deepspeed/module_inject/segment_ki.py:224
Methodbackward
Backward pass.
deepspeed/module_inject/layers.py:235
Methodbackward
(ctx, grad_output)
deepspeed/module_inject/layers.py:254
Methodbackward
(ctx: Any, grad_output: torch.Tensor)
deepspeed/module_inject/layers.py:282
Methodbackward
Backward pass.
deepspeed/module_inject/layers.py:312
Methodbackward
(ctx: Any, grad_output: torch.Tensor)
deepspeed/module_inject/layers.py:365
Methodbackward
(ctx, grad_output)
deepspeed/module_inject/auto_ep_layer.py:196
Methodbackward
(ctx, grad_out)
deepspeed/module_inject/auto_ep_layer.py:391
Methodbackward
(ctx: Any, *grad_output: Tensor)
deepspeed/moe/sharded_moe.py:108
Methodbackward
(ctx, grad)
deepspeed/moe/ep_experts.py:299
Methodbackward
(ctx, grad_out)
deepspeed/moe/ep_experts.py:733
Methodbackward
(ctx, grad_out)
deepspeed/moe/ep_kernels.py:341
Methodbackward
(ctx, grad_out)
deepspeed/moe/ep_kernels.py:356
Methodbackward
(ctx, grad_output)
deepspeed/moe/ep_tp_dispatch.py:324
Methodbackward
(ctx, grad_output)
deepspeed/moe/ep_tp_dispatch.py:417
Methodbackward
(ctx, grad_output)
deepspeed/moe/mappings.py:84
Methodbackward
(ctx, input_)
deepspeed/moe/mappings.py:101
Methodbackward_chunk
(phase, send=True)
deepspeed/runtime/pipe/schedule.py:407
Functionbackward_comm_off
(flag=False)
deepspeed/comm/torch.py:130
Methodbackward_epilogue
(self, update_hp_grads=True, clear_lp_grads=False, **bwd_kwargs)
deepspeed/runtime/bf16_optimizer.py:508
Methodbackward_epilogue
(self)
deepspeed/runtime/zero/stage3.py:3440
Methodbackward_hook
(grad)
deepspeed/runtime/utils.py:1395
Methodbackward_prologue
(self)
deepspeed/runtime/bf16_optimizer.py:505
Methodbackward_prologue
(self)
deepspeed/runtime/zero/stage3.py:3431
Methodbackward_prologue
Prepare ZenFlow's per-microbatch state before the backward pass. Called by the engine at the start of each backward. Advances the mic
deepspeed/runtime/zenflow/zenflow_stage_1_and_2.py:571
Methodbackward_prologue
(self)
deepspeed/runtime/reflow/reflow_stage3.py:1581
Functionbarrier
csrc/cpu/comm/ccl.cpp:318
Methodbarrier
(self, group=torch.distributed.GroupMember.WORLD, async_op=False, device_ids=None)
deepspeed/comm/torch.py:591
Functionbase_config
()
tests/unit/runtime/test_ds_config_dict.py:43
Functionbatch_input
()
tests/unit/pipe/test_pipe_module.py:58
Functionbatch_isend_irecv
Launch a list of :class:`P2POp` as one batch and return their requests.
deepspeed/comm/comm.py:433
Methodbatch_size
(self)
deepspeed/runtime/rollout/base.py:85
Methodbefore_piece
(param, start, count)
deepspeed/runtime/zero/stage3.py:3149
Methodbench_loss_and_time
(config)
tests/unit/runtime/zero/test_zero_leaf_module.py:505
Functionbert_sample_tokens
(reserved_length: int, seq_length: int, batch_size: int,
deepspeed/ops/random_ltd/dropping_utils.py:52
Methodbf16_optimizer_states
(self)
tests/unit/v1/ops/muon/test_muon_partial_training.py:398
Functionbias_activation
In-place bias and activation fusion kernel. */
deepspeed/inference/v2/kernels/core_ops/bias_activations/bias_activation.cpp:38
Methodbias_add_bf16
(input, bias)
op_builder/supa/inference.py:139
Methodbias_add_fallback
(cls, input, bias)
deepspeed/ops/transformer/inference/op_binding/bias_add.py:27
Methodbias_add_fp16
(input, bias)
op_builder/supa/inference.py:135
Methodbias_add_fp32
(input, bias)
op_builder/supa/inference.py:143
Functionbias_gelu_back
(g, x)
deepspeed/sequence/fpdt_layer.py:1211
Methodbias_gelu_bf16
(input, bias)
op_builder/supa/inference.py:151
Methodbias_gelu_fallback
(cls, activations, bias)
deepspeed/ops/transformer/inference/op_binding/bias_gelu.py:28
Methodbias_gelu_fp16
(input, bias)
op_builder/supa/inference.py:147
Methodbias_gelu_fp32
(input, bias)
op_builder/supa/inference.py:155
Methodbias_relu_bf16
(input, bias)
op_builder/supa/inference.py:163
Methodbias_relu_fallback
(cls, activations, bias)
deepspeed/ops/transformer/inference/op_binding/bias_relu.py:28
Methodbias_relu_fp16
(input, bias)
op_builder/supa/inference.py:159
Methodbias_relu_fp32
(input, bias)
op_builder/supa/inference.py:167
Methodbias_residual_fallback
(cls, output, residual, bias)
deepspeed/ops/transformer/inference/op_binding/bias_residual.py:25
Methodbias_residual_fp16
(input, residual, bias)
op_builder/supa/inference.py:171
Methodbias_residual_fp32
(input, residual, bias)
op_builder/supa/inference.py:175
Functionblas_4d_matmul
deepspeed/inference/v2/kernels/core_ops/blas_kernels/blas.h:99
Functionblas_linear
deepspeed/inference/v2/kernels/core_ops/blas_kernels/blas.h:31
Functionblock
deepspeed/inference/v2/kernels/includes/reduction_utils.h:607
Functionblock
csrc/includes/reduction_utils.h:688
MethodblockCopyEvents
Common helper methods for flushReduceBucket implementations
csrc/includes/deepcompile.h:583
Methodbloom
BLOOM-style models (fused QKV with interleaved heads).
deepspeed/module_inject/autotp_config.py:382
Functionbroadcast
(tensor, src, group=None, async_op=False, prof=False, log_name='broadcast', debug=get_caller_func())
deepspeed/comm/comm.py:233
Functionbroadcast
csrc/cpu/comm/ccl.cpp:203
Methodbroadcast
(self, tensor, src, group=None, async_op=False)
deepspeed/comm/torch.py:420
Methodbroadcast_and_check
(args, bcast_rank, bcast_group)
deepspeed/runtime/engine.py:999
Functionbroadcast_comm_off
(flag=False)
deepspeed/comm/torch.py:113
Functionbroadcast_object_list
(object_list, src, group=None, d
deepspeed/comm/comm.py:239
Methodbuffer
(phase, counter)
deepspeed/runtime/pipe/schedule.py:367
Methodbuild
()
tests/unit/v1/ops/muon/test_muon_checkpoint.py:86
Methodbuild
()
tests/unit/v1/zero/test_offload_states.py:532
Methodbuild
()
tests/unit/v1/moe/test_autoep_expert_activation.py:1112
Methodbuild
(self, **kwargs)
tests/unit/module_inject/test_auto_ep_comm.py:146
Functionbuild_atoms
deepspeed/inference/v2/kernels/ragged_ops/atom_builder/atom_builder.cpp:10
Methodbuild_atoms
Build the atoms for the attention kernel. Args: ragged_batch (RaggedBatchWrapper): The input ids and associated ragged b
deepspeed/inference/v2/modules/implementations/attention/dense_blocked_attention.py:139
Methodbuild_container_map
(self)
deepspeed/inference/v2/model_implementations/mixtral/policy.py:19
Methodbuild_container_map
(self)
deepspeed/inference/v2/model_implementations/phi/policy.py:19
Methodbuild_container_map
(self)
deepspeed/inference/v2/model_implementations/exaone4_5/policy.py:23
Methodbuild_container_map
(self)
deepspeed/inference/v2/model_implementations/mistral/policy.py:19
Methodbuild_container_map
(self)
deepspeed/inference/v2/model_implementations/exaone4/policy.py:18
Methodbuild_container_map
(self)
deepspeed/inference/v2/model_implementations/qwen_v2/policy.py:19
Methodbuild_container_map
(self)
deepspeed/inference/v2/model_implementations/phi3/policy.py:19
Methodbuild_container_map
(self)
deepspeed/inference/v2/model_implementations/falcon/policy.py:20
Methodbuild_container_map
(self)
deepspeed/inference/v2/model_implementations/qwen/policy.py:19
Methodbuild_container_map
(self)
deepspeed/inference/v2/model_implementations/opt/policy.py:19
Methodbuild_container_map
(self)
deepspeed/inference/v2/model_implementations/qwen_v2_moe/policy.py:19
Methodbuild_container_map
(self)
deepspeed/inference/v2/model_implementations/llama_v2/policy.py:19
← previousnext →8,401–8,500 of 15,468, ranked by callers