MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,767 in github.com/deepspeedai/DeepSpeed

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:3150
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:755
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)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1407
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:1027
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
(gemm=None)
tests/unit/v1/runtime/test_subchannel_quantization.py:469
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
Functionbuild_cpu_lion
Reflow's CPU-Lion subclass, built over the client's Lion parameters.
deepspeed/runtime/reflow/engine.py:54
Methodbuild_engine
(seed)
tests/unit/v1/moe/test_autoep_autotp_sharded_attention.py:639
Methodbuild_exchange
(**kwargs)
tests/unit/module_inject/test_auto_ep_comm.py:729
Methodbuild_extension
(self)
accelerator/supa_accelerator.py:273
Methodbuild_extension
(self)
accelerator/sdaa_accelerator.py:294
Methodbuild_extension
(self)
accelerator/cpu_accelerator.py:506
Methodbuild_extension
(self)
accelerator/mlu_accelerator.py:266
Methodbuild_extension
(self)
accelerator/npu_accelerator.py:335
Methodbuild_extension
(self)
accelerator/xpu_accelerator.py:503
Methodbuild_extension
(self)
accelerator/cuda_accelerator.py:433
Methodbuild_extension
(self)
accelerator/mps_accelerator.py:288
Methodbuild_extension
(self)
accelerator/abstract_accelerator.py:410
Functionbuild_hf_engine
Build an InferenceV2 engine for HuggingFace models. This can accept both a HuggingFace model name or a path to an Inference-V2 checkpoint.
deepspeed/inference/v2/engine_factory.py:71
Methodbuild_layer
(layer_number)
deepspeed/runtime/domino/transformer.py:443
Methodbuild_model
(seed)
tests/unit/v1/autotp/test_autotp_training.py:465
Methodbuild_model
()
tests/unit/v1/autotp/test_autotp_training.py:1396
Functionbuild_mpt_alibi_tensor
r""" Link to paper: https://arxiv.org/abs/2108.12409 - Alibi tensor is not causal as the original paper mentions, it relies on a translation i
deepspeed/module_inject/auto_tp_model_utils.py:170
Functionbuild_mpt_atten_bias_tensor
(self, device, dtype,
deepspeed/module_inject/auto_tp_model_utils.py:150
Methodbuilder
(self)
op_builder/builder.py:817
Methodbuilder
(self)
op_builder/mps/cpu_adam.py:32
Methodbuilder
(self)
op_builder/klxpu/builder.py:15
Methodbuilder
(self)
op_builder/xpu/builder.py:31
Methodbuilder
(self)
op_builder/sdaa/builder.py:43
Methodbuilder
(self)
op_builder/hpu/builder.py:20
Methodbuilder
(self)
op_builder/supa/builder.py:14
Methodbuilder
(self)
op_builder/mlu/builder.py:18
Functionbuiltin_registry
(clean_registry)
tests/unit/compile/test_pass_contract.py:41
Methodbwd_hook
(layer_type)
deepspeed/sequence/layer.py:570
Functionbytes_to_string
(b, units=None, precision=DEFAULT_PRECISION)
deepspeed/profiling/flops_profiler/profiler.py:1165
Functioncached_property
(func)
deepspeed/inference/v2/modules/implementations/attention/dense_blocked_attention.py:32
Functioncached_property
(func)
deepspeed/inference/v2/model_implementations/inference_transformer_base.py:44
Functioncached_property
(func)
deepspeed/inference/v2/model_implementations/inference_model_base.py:23
Functioncapture
(small_bucket, communication_data_type, log=None, divide=True,
tests/unit/v1/zero/test_zero2_gradient_safety.py:104
Functioncapture
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:230
Functioncapture
(self, child, full_name)
tests/unit/module_inject/test_tp_partition_config_path.py:89
Functioncapture_on_all_ranks
(_module, capture)
tests/unit/v1/test_hybrid_engine_rollout_v1.py:1227
Functioncapture_route
(_module, _inputs, output, *, _name=name)
tests/unit/v1/moe/test_autoep_deepep_parity.py:324
Functioncapture_to_graph
(_graph)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:198
Methodcapture_to_graph
(self, graph, pool=None, stream=None)
accelerator/supa_accelerator.py:191
Methodcapture_to_graph
(self, graph, pool=None, stream=None)
accelerator/sdaa_accelerator.py:217
Methodcapture_to_graph
(self, graph, pool=None, stream=None)
accelerator/cpu_accelerator.py:392
Methodcapture_to_graph
(self, graph, pool=None, stream=None)
accelerator/mlu_accelerator.py:189
Methodcapture_to_graph
(self, graph, pool=None, stream=None)
accelerator/npu_accelerator.py:259
Methodcapture_to_graph
(self, graph, pool=None, stream=None)
accelerator/xpu_accelerator.py:352
← previousnext →8,601–8,700 of 15,767, ranked by callers