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
are_all_related_partitions_reduced
(params_id)
deepspeed/runtime/zero/stage3.py:2406
Method
are_all_related_partitions_reduced
(params_id)
deepspeed/runtime/zero/stage_1_and_2.py:2394
Function
arm_capture
(module, args, kwargs)
deepspeed/sequence/linear_cross_entropy.py:425
Method
assert_nothing_retained
()
tests/unit/runtime/pipe/test_pipe.py:346
Function
assert_supported
Reject unsupported configurations before collectives begin.
deepspeed/ops/triton_ops/autoep_fused_token_ops.py:230
Method
associated_class
()
deepspeed/inference/v2/modules/interfaces/embedding_base.py:84
Method
associated_class
()
deepspeed/inference/v2/modules/interfaces/pre_norm_base.py:72
Method
associated_class
()
deepspeed/inference/v2/modules/interfaces/attention_base.py:96
Method
associated_class
()
deepspeed/inference/v2/modules/interfaces/post_norm_base.py:68
Method
associated_class
()
deepspeed/inference/v2/modules/interfaces/linear_base.py:71
Method
associated_class
()
deepspeed/inference/v2/modules/interfaces/moe_base.py:90
Method
associated_class
()
deepspeed/inference/v2/modules/interfaces/unembed_base.py:60
Method
async_inplace_copy_grad_to_fp32_buffer_from_gpu
(self, param)
deepspeed/runtime/zenflow/zenflow_stage_1_and_2.py:678
Function
async_split_layer
(monkeypatch)
tests/unit/v1/moe/test_autoep_unit.py:1852
Method
atomic_store
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_atomic.h:24
Method
atomic_store
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_atomic.h:52
Method
attention
Returns attention qkv and dense parameters weight: (3*hidden, hidden) and (hidden, hidden) bias: (3*hidden) and (hidden)
deepspeed/module_inject/policy.py:79
Method
attention
(self, enable_training=False)
deepspeed/module_inject/containers/distil_bert.py:53
Method
attention
(self, enable_training=False)
deepspeed/module_inject/containers/gptneo.py:123
Method
attention
(self, client_module)
deepspeed/module_inject/containers/unet.py:35
Method
attention
(self, enable_training=False)
deepspeed/module_inject/containers/clip.py:47
Method
attention
(self, enable_training=False)
deepspeed/module_inject/containers/opt.py:133
Method
attention
(self, enable_training=False)
deepspeed/module_inject/containers/gpt2.py:44
Method
attention
(self, enable_training=False)
deepspeed/module_inject/containers/bert.py:57
Method
attention
(self, enable_training=False)
deepspeed/module_inject/containers/bloom.py:126
Method
attention
(self, enable_training=False)
deepspeed/module_inject/containers/llama.py:193
Method
attention
(self, enable_training=False)
deepspeed/module_inject/containers/megatron_gpt.py:70
Method
attention
(self, enable_training=False)
deepspeed/module_inject/containers/gptneox.py:125
Method
attention
(self, enable_training=False)
deepspeed/module_inject/containers/internlm.py:152
Method
attention
(self, enable_training=False)
deepspeed/module_inject/containers/gptj.py:110
Method
attention
(self, enable_training=False)
deepspeed/module_inject/containers/llama2.py:133
Function
attention_bwd
csrc/deepspeed4science/evoformer_attn/attention.cpp:40
Method
attention_kernel
csrc/deepspeed4science/evoformer_attn/kernel_forward.h:512
Method
attention_kernel
csrc/deepspeed4science/evoformer_attn/kernel_backward.h:1058
Function
attention_kernel_backward_batched_impl
csrc/deepspeed4science/evoformer_attn/kernel_backward.h:1956
Function
attention_kernel_batched_impl
csrc/deepspeed4science/evoformer_attn/kernel_forward.h:977
Function
attention_unfused
csrc/transformer/inference/csrc/pt_binding.cpp:177
Method
attr_1
(self)
tests/unit/inference/v2/model_implementations/parameters/test_parameter_list.py:90
Method
attr_2
(self)
tests/unit/inference/v2/model_implementations/parameters/test_parameter_list.py:94
Method
autoep_expert_writer
()
deepspeed/runtime/engine.py:5270
Function
autoep_topology_baseline_ws4_ep2
(request)
tests/unit/v1/moe/test_autoep_checkpoint.py:893
Method
autotuning_metric
(self)
deepspeed/runtime/engine.py:1596
Method
aux_attrs
Dictionary of auxiliary attributes.
deepspeed/inference/v2/inference_parameter.py:85
Method
available_memory
(self)
tests/unit/v1/compile/test_selective_gather.py:24
Method
available_memory
(self, device_index=None)
accelerator/supa_accelerator.py:155
Method
available_memory
(self, device_index=None)
accelerator/sdaa_accelerator.py:176
Method
available_memory
(self, device_index=None)
accelerator/cpu_accelerator.py:339
Method
available_memory
(self, device_index=None)
accelerator/mlu_accelerator.py:146
Method
available_memory
(self, device_index=None)
accelerator/npu_accelerator.py:180
Method
available_memory
(self, device_index=None)
accelerator/xpu_accelerator.py:309
Method
available_memory
(self, device_index=None)
accelerator/cuda_accelerator.py:196
Method
available_memory
(self, device_index=None)
accelerator/mps_accelerator.py:160
Method
available_memory
(self, device_index=None)
accelerator/abstract_accelerator.py:165
Method
average_tensor
(self, tensor: torch.Tensor, communication_data_type: torch.dtype)
deepspeed/runtime/zenflow/zenflow_stage_1_and_2.py:446
Function
backend
(_gm, _inputs)
tests/unit/compile/test_zero3_grad_dtype.py:129
Function
backend
(gm, example_inputs)
tests/unit/compile/test_tp_compile.py:806
Method
backend_exists
(self)
tests/unit/launcher/test_user_args.py:17
Method
backend_exists
Return whether the corresponding backend exists
deepspeed/launcher/multinode_runner.py:30
Method
backend_exists
(self)
deepspeed/launcher/multinode_runner.py:70
Method
backend_exists
(self)
deepspeed/launcher/multinode_runner.py:139
Method
backend_exists
(self)
deepspeed/launcher/multinode_runner.py:200
Method
backend_exists
(self)
deepspeed/launcher/multinode_runner.py:272
Method
backend_exists
(self)
deepspeed/launcher/multinode_runner.py:450
Function
backend_fn
(gm: GraphModule, real_inputs)
deepspeed/compile/init_tp.py:58
Function
backend_fn
(gm: GraphModule, real_inputs)
deepspeed/compile/backend.py:323
Function
backend_fn
(gm: GraphModule, real_inputs)
deepspeed/compile/init_sp.py:19
Method
backward
(ctx, grad_output)
tests/unit/v1/zero/test_zero_activation_checkpoint_lifecycle.py:50
Method
backward
(ctx, a_gradients: torch.Tensor, g_gradients: torch.Tensor)
deepspeed/ops/random_ltd/dropping_utils.py:94
Method
backward
(ctx, out_gradients: torch.Tensor)
deepspeed/ops/random_ltd/dropping_utils.py:122
Method
backward
(ctx, grad_output)
deepspeed/ops/deepspeed4science/evoformer_attn.py:76
Method
backward
(ctx, grad_output)
deepspeed/ops/transformer/transformer.py:243
Method
backward
(ctx, grad_output)
deepspeed/ops/transformer/inference/moe_inference.py:127
Method
backward
(ctx, grad_output, grad_output1, grad_output2, grad_output3)
deepspeed/ops/transformer/inference/diffusers_attention.py:94
Method
backward
(ctx, grad_out)
deepspeed/ops/triton_ops/group_gemm_triton.py:430
Method
backward
(ctx, grad_out: torch.Tensor)
deepspeed/ops/triton_ops/swiglu_triton.py:97
Method
backward
(ctx, grad_out: torch.Tensor)
deepspeed/ops/triton_ops/swiglu_triton.py:183
Method
backward
(ctx, grad_out: torch.Tensor)
deepspeed/ops/triton_ops/swiglu_triton.py:389
Method
backward
(ctx, grad_out: torch.Tensor)
deepspeed/ops/triton_ops/swiglu_triton.py:440
Method
backward
(ctx, grad_out)
deepspeed/ops/triton_ops/fused_rms_norm.py:302
Method
backward
(ctx, grad_output)
deepspeed/ops/triton_ops/autoep_fused_token_ops.py:318
Method
backward
(ctx, grad_output)
deepspeed/ops/triton_ops/autoep_fused_token_ops.py:410
Method
backward
(ctx, grad_q, grad_k)
deepspeed/ops/triton_ops/fused_rotary_pos_emb.py:226
Method
backward
(ctx, grad_output)
deepspeed/sequence/fpdt_layer.py:348
Method
backward
(ctx, grad_output)
deepspeed/sequence/fpdt_layer.py:839
Method
backward
(ctx, grad_output, grad_bias)
deepspeed/sequence/fpdt_layer.py:1252
Method
backward
(ctx, grad_output)
deepspeed/sequence/fpdt_layer.py:1345
Method
backward
(ctx, grad_output)
deepspeed/sequence/cross_entropy.py:95
Method
backward
(ctx, grad_output)
deepspeed/sequence/cross_entropy.py:122
Method
backward
(ctx, grad_loss)
deepspeed/sequence/linear_cross_entropy.py:168
Method
backward
(ctx: Any, *grad_output: Tensor)
deepspeed/sequence/layer.py:463
Method
backward
(ctx, grad_output)
deepspeed/sequence/vocab_parallel_ops.py:236
Method
backward
(ctx, grad_output)
deepspeed/sequence/vocab_parallel_ops.py:284
Method
backward
(ctx, grad_output)
deepspeed/sequence/vocab_parallel_ops.py:342
Method
backward
(ctx, grad_output)
deepspeed/sequence/vocab_parallel_ops.py:440
Method
backward
(ctx, grad_loss)
deepspeed/runtime/chunked_cross_entropy.py:138
Method
backward
(ctx, grad_loss)
deepspeed/runtime/chunked_cross_entropy.py:181
Method
backward
r"""Execute backward pass on the loss Arguments: loss: Torch tensor on which to execute backward propagation retain_gr
deepspeed/runtime/engine.py:3542
Method
backward
(self, loss, **kwargs)
deepspeed/runtime/base_optimizer.py:465
Method
backward
(ctx, grad_output)
deepspeed/runtime/zero/linear.py:120
Method
backward
(ctx, *args)
deepspeed/runtime/zero/parameter_offload.py:484
← previous
next →
8,301–8,400 of 15,468, ranked by callers