MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,468 in github.com/deepspeedai/DeepSpeed

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