Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ functions
Functions
15,468 in github.com/deepspeedai/DeepSpeed
⨍
Functions
15,468
◇
Types & classes
2,493
↳
Endpoints
106
Method
backward
(ctx, *args)
deepspeed/runtime/zero/parameter_offload.py:517
Method
backward
(phase)
deepspeed/runtime/pipe/schedule.py:397
Method
backward
(ctx, grad_output)
deepspeed/runtime/domino/transformer.py:67
Method
backward
(ctx, grad_output)
deepspeed/runtime/domino/async_linear.py:31
Method
backward
(ctx, *grads)
deepspeed/runtime/sequence_parallel/ulysses_sp.py:857
Method
backward
(ctx, *grads)
deepspeed/runtime/sequence_parallel/ulysses_sp.py:1221
Method
backward
(ctx, *grads)
deepspeed/runtime/sequence_parallel/ulysses_sp.py:1261
Method
backward
(ctx, *grads)
deepspeed/runtime/activation_checkpointing/checkpointing.py:666
Method
backward
: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
Method
backward
(self, loss, retain_graph=False)
deepspeed/runtime/fp16/loss_scaler.py:171
Method
backward
: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
Method
backward
(ctx, grad_full: torch.Tensor)
deepspeed/models/glm_moe_dsa/attention.py:83
Method
backward
(ctx, grad_out)
deepspeed/models/glm_moe_dsa/kernels/sparse_mla.py:25
Method
backward
(ctx, grad_received, grad_recv_weights)
deepspeed/module_inject/auto_ep_comm.py:518
Method
backward
(ctx, grad_combined)
deepspeed/module_inject/auto_ep_comm.py:559
Method
backward
(ctx, grad_out)
deepspeed/module_inject/segment_ki.py:155
Method
backward
(ctx, grad_out)
deepspeed/module_inject/segment_ki.py:224
Method
backward
Backward pass.
deepspeed/module_inject/layers.py:235
Method
backward
(ctx, grad_output)
deepspeed/module_inject/layers.py:254
Method
backward
(ctx: Any, grad_output: torch.Tensor)
deepspeed/module_inject/layers.py:282
Method
backward
Backward pass.
deepspeed/module_inject/layers.py:312
Method
backward
(ctx: Any, grad_output: torch.Tensor)
deepspeed/module_inject/layers.py:365
Method
backward
(ctx, grad_output)
deepspeed/module_inject/auto_ep_layer.py:196
Method
backward
(ctx, grad_out)
deepspeed/module_inject/auto_ep_layer.py:391
Method
backward
(ctx: Any, *grad_output: Tensor)
deepspeed/moe/sharded_moe.py:108
Method
backward
(ctx, grad)
deepspeed/moe/ep_experts.py:299
Method
backward
(ctx, grad_out)
deepspeed/moe/ep_experts.py:733
Method
backward
(ctx, grad_out)
deepspeed/moe/ep_kernels.py:341
Method
backward
(ctx, grad_out)
deepspeed/moe/ep_kernels.py:356
Method
backward
(ctx, grad_output)
deepspeed/moe/ep_tp_dispatch.py:324
Method
backward
(ctx, grad_output)
deepspeed/moe/ep_tp_dispatch.py:417
Method
backward
(ctx, grad_output)
deepspeed/moe/mappings.py:84
Method
backward
(ctx, input_)
deepspeed/moe/mappings.py:101
Method
backward_chunk
(phase, send=True)
deepspeed/runtime/pipe/schedule.py:407
Function
backward_comm_off
(flag=False)
deepspeed/comm/torch.py:130
Method
backward_epilogue
(self, update_hp_grads=True, clear_lp_grads=False, **bwd_kwargs)
deepspeed/runtime/bf16_optimizer.py:508
Method
backward_epilogue
(self)
deepspeed/runtime/zero/stage3.py:3440
Method
backward_hook
(grad)
deepspeed/runtime/utils.py:1395
Method
backward_prologue
(self)
deepspeed/runtime/bf16_optimizer.py:505
Method
backward_prologue
(self)
deepspeed/runtime/zero/stage3.py:3431
Method
backward_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
Method
backward_prologue
(self)
deepspeed/runtime/reflow/reflow_stage3.py:1581
Function
barrier
csrc/cpu/comm/ccl.cpp:318
Method
barrier
(self, group=torch.distributed.GroupMember.WORLD, async_op=False, device_ids=None)
deepspeed/comm/torch.py:591
Function
base_config
()
tests/unit/runtime/test_ds_config_dict.py:43
Function
batch_input
()
tests/unit/pipe/test_pipe_module.py:58
Function
batch_isend_irecv
Launch a list of :class:`P2POp` as one batch and return their requests.
deepspeed/comm/comm.py:433
Method
batch_size
(self)
deepspeed/runtime/rollout/base.py:85
Method
before_piece
(param, start, count)
deepspeed/runtime/zero/stage3.py:3149
Method
bench_loss_and_time
(config)
tests/unit/runtime/zero/test_zero_leaf_module.py:505
Function
bert_sample_tokens
(reserved_length: int, seq_length: int, batch_size: int,
deepspeed/ops/random_ltd/dropping_utils.py:52
Method
bf16_optimizer_states
(self)
tests/unit/v1/ops/muon/test_muon_partial_training.py:398
Function
bias_activation
In-place bias and activation fusion kernel. */
deepspeed/inference/v2/kernels/core_ops/bias_activations/bias_activation.cpp:38
Method
bias_add_bf16
(input, bias)
op_builder/supa/inference.py:139
Method
bias_add_fallback
(cls, input, bias)
deepspeed/ops/transformer/inference/op_binding/bias_add.py:27
Method
bias_add_fp16
(input, bias)
op_builder/supa/inference.py:135
Method
bias_add_fp32
(input, bias)
op_builder/supa/inference.py:143
Function
bias_gelu_back
(g, x)
deepspeed/sequence/fpdt_layer.py:1211
Method
bias_gelu_bf16
(input, bias)
op_builder/supa/inference.py:151
Method
bias_gelu_fallback
(cls, activations, bias)
deepspeed/ops/transformer/inference/op_binding/bias_gelu.py:28
Method
bias_gelu_fp16
(input, bias)
op_builder/supa/inference.py:147
Method
bias_gelu_fp32
(input, bias)
op_builder/supa/inference.py:155
Method
bias_relu_bf16
(input, bias)
op_builder/supa/inference.py:163
Method
bias_relu_fallback
(cls, activations, bias)
deepspeed/ops/transformer/inference/op_binding/bias_relu.py:28
Method
bias_relu_fp16
(input, bias)
op_builder/supa/inference.py:159
Method
bias_relu_fp32
(input, bias)
op_builder/supa/inference.py:167
Method
bias_residual_fallback
(cls, output, residual, bias)
deepspeed/ops/transformer/inference/op_binding/bias_residual.py:25
Method
bias_residual_fp16
(input, residual, bias)
op_builder/supa/inference.py:171
Method
bias_residual_fp32
(input, residual, bias)
op_builder/supa/inference.py:175
Function
blas_4d_matmul
deepspeed/inference/v2/kernels/core_ops/blas_kernels/blas.h:99
Function
blas_linear
deepspeed/inference/v2/kernels/core_ops/blas_kernels/blas.h:31
Function
block
deepspeed/inference/v2/kernels/includes/reduction_utils.h:607
Function
block
csrc/includes/reduction_utils.h:688
Method
blockCopyEvents
Common helper methods for flushReduceBucket implementations
csrc/includes/deepcompile.h:583
Method
bloom
BLOOM-style models (fused QKV with interleaved heads).
deepspeed/module_inject/autotp_config.py:382
Function
broadcast
(tensor, src, group=None, async_op=False, prof=False, log_name='broadcast', debug=get_caller_func())
deepspeed/comm/comm.py:233
Function
broadcast
csrc/cpu/comm/ccl.cpp:203
Method
broadcast
(self, tensor, src, group=None, async_op=False)
deepspeed/comm/torch.py:420
Method
broadcast_and_check
(args, bcast_rank, bcast_group)
deepspeed/runtime/engine.py:999
Function
broadcast_comm_off
(flag=False)
deepspeed/comm/torch.py:113
Function
broadcast_object_list
(object_list, src, group=None, d
deepspeed/comm/comm.py:239
Method
buffer
(phase, counter)
deepspeed/runtime/pipe/schedule.py:367
Method
build
()
tests/unit/v1/ops/muon/test_muon_checkpoint.py:86
Method
build
()
tests/unit/v1/zero/test_offload_states.py:532
Method
build
()
tests/unit/v1/moe/test_autoep_expert_activation.py:1112
Method
build
(self, **kwargs)
tests/unit/module_inject/test_auto_ep_comm.py:146
Function
build_atoms
deepspeed/inference/v2/kernels/ragged_ops/atom_builder/atom_builder.cpp:10
Method
build_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
Method
build_container_map
(self)
deepspeed/inference/v2/model_implementations/mixtral/policy.py:19
Method
build_container_map
(self)
deepspeed/inference/v2/model_implementations/phi/policy.py:19
Method
build_container_map
(self)
deepspeed/inference/v2/model_implementations/exaone4_5/policy.py:23
Method
build_container_map
(self)
deepspeed/inference/v2/model_implementations/mistral/policy.py:19
Method
build_container_map
(self)
deepspeed/inference/v2/model_implementations/exaone4/policy.py:18
Method
build_container_map
(self)
deepspeed/inference/v2/model_implementations/qwen_v2/policy.py:19
Method
build_container_map
(self)
deepspeed/inference/v2/model_implementations/phi3/policy.py:19
Method
build_container_map
(self)
deepspeed/inference/v2/model_implementations/falcon/policy.py:20
Method
build_container_map
(self)
deepspeed/inference/v2/model_implementations/qwen/policy.py:19
Method
build_container_map
(self)
deepspeed/inference/v2/model_implementations/opt/policy.py:19
Method
build_container_map
(self)
deepspeed/inference/v2/model_implementations/qwen_v2_moe/policy.py:19
Method
build_container_map
(self)
deepspeed/inference/v2/model_implementations/llama_v2/policy.py:19
← previous
next →
8,401–8,500 of 15,468, ranked by callers