Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ functions
Functions
15,767 in github.com/deepspeedai/DeepSpeed
⨍
Functions
15,767
◇
Types & classes
2,543
↳
Endpoints
107
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:3150
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:755
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)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1407
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:1027
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
(gemm=None)
tests/unit/v1/runtime/test_subchannel_quantization.py:469
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
Function
build_cpu_lion
Reflow's CPU-Lion subclass, built over the client's Lion parameters.
deepspeed/runtime/reflow/engine.py:54
Method
build_engine
(seed)
tests/unit/v1/moe/test_autoep_autotp_sharded_attention.py:639
Method
build_exchange
(**kwargs)
tests/unit/module_inject/test_auto_ep_comm.py:729
Method
build_extension
(self)
accelerator/supa_accelerator.py:273
Method
build_extension
(self)
accelerator/sdaa_accelerator.py:294
Method
build_extension
(self)
accelerator/cpu_accelerator.py:506
Method
build_extension
(self)
accelerator/mlu_accelerator.py:266
Method
build_extension
(self)
accelerator/npu_accelerator.py:335
Method
build_extension
(self)
accelerator/xpu_accelerator.py:503
Method
build_extension
(self)
accelerator/cuda_accelerator.py:433
Method
build_extension
(self)
accelerator/mps_accelerator.py:288
Method
build_extension
(self)
accelerator/abstract_accelerator.py:410
Function
build_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
Method
build_layer
(layer_number)
deepspeed/runtime/domino/transformer.py:443
Method
build_model
(seed)
tests/unit/v1/autotp/test_autotp_training.py:465
Method
build_model
()
tests/unit/v1/autotp/test_autotp_training.py:1396
Function
build_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
Function
build_mpt_atten_bias_tensor
(self, device, dtype,
deepspeed/module_inject/auto_tp_model_utils.py:150
Method
builder
(self)
op_builder/builder.py:817
Method
builder
(self)
op_builder/mps/cpu_adam.py:32
Method
builder
(self)
op_builder/klxpu/builder.py:15
Method
builder
(self)
op_builder/xpu/builder.py:31
Method
builder
(self)
op_builder/sdaa/builder.py:43
Method
builder
(self)
op_builder/hpu/builder.py:20
Method
builder
(self)
op_builder/supa/builder.py:14
Method
builder
(self)
op_builder/mlu/builder.py:18
Function
builtin_registry
(clean_registry)
tests/unit/compile/test_pass_contract.py:41
Method
bwd_hook
(layer_type)
deepspeed/sequence/layer.py:570
Function
bytes_to_string
(b, units=None, precision=DEFAULT_PRECISION)
deepspeed/profiling/flops_profiler/profiler.py:1165
Function
cached_property
(func)
deepspeed/inference/v2/modules/implementations/attention/dense_blocked_attention.py:32
Function
cached_property
(func)
deepspeed/inference/v2/model_implementations/inference_transformer_base.py:44
Function
cached_property
(func)
deepspeed/inference/v2/model_implementations/inference_model_base.py:23
Function
capture
(small_bucket, communication_data_type, log=None, divide=True,
tests/unit/v1/zero/test_zero2_gradient_safety.py:104
Function
capture
()
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:230
Function
capture
(self, child, full_name)
tests/unit/module_inject/test_tp_partition_config_path.py:89
Function
capture_on_all_ranks
(_module, capture)
tests/unit/v1/test_hybrid_engine_rollout_v1.py:1227
Function
capture_route
(_module, _inputs, output, *, _name=name)
tests/unit/v1/moe/test_autoep_deepep_parity.py:324
Function
capture_to_graph
(_graph)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:198
Method
capture_to_graph
(self, graph, pool=None, stream=None)
accelerator/supa_accelerator.py:191
Method
capture_to_graph
(self, graph, pool=None, stream=None)
accelerator/sdaa_accelerator.py:217
Method
capture_to_graph
(self, graph, pool=None, stream=None)
accelerator/cpu_accelerator.py:392
Method
capture_to_graph
(self, graph, pool=None, stream=None)
accelerator/mlu_accelerator.py:189
Method
capture_to_graph
(self, graph, pool=None, stream=None)
accelerator/npu_accelerator.py:259
Method
capture_to_graph
(self, graph, pool=None, stream=None)
accelerator/xpu_accelerator.py:352
← previous
next →
8,601–8,700 of 15,767, ranked by callers