Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ functions
Functions
14,579 in github.com/deepspeedai/DeepSpeed
⨍
Functions
14,579
◇
Types & classes
2,353
↳
Endpoints
92
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:387
Method
broadcast_and_check
(args, bcast_rank, bcast_group)
deepspeed/runtime/engine.py:973
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
Function
bsh_decoder_gather
(reserved_length, hidden_states, mask)
deepspeed/runtime/data_pipeline/data_routing/utils.py:9
Function
bsh_decoder_scatter
(hidden_states, part_hidden_states, rand_list)
deepspeed/runtime/data_pipeline/data_routing/utils.py:24
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:451
Method
build
()
tests/unit/v1/moe/test_autoep_expert_activation.py:600
Method
build
(self, **kwargs)
tests/unit/module_inject/test_auto_ep_comm.py:141
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
Method
build_engine
(seed)
tests/unit/v1/moe/test_autoep_autotp_sharded_attention.py:636
Method
build_exchange
(**kwargs)
tests/unit/module_inject/test_auto_ep_comm.py:711
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:502
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:489
Method
build_extension
(self)
accelerator/cuda_accelerator.py:412
Method
build_extension
(self)
accelerator/mps_accelerator.py:288
Method
build_extension
(self)
accelerator/abstract_accelerator.py:404
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:464
Method
build_model
()
tests/unit/v1/autotp/test_autotp_training.py:1301
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:849
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/cpu/builder.py:19
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:533
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
(_graph)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1827
Function
capture
(self, child, full_name)
tests/unit/module_inject/test_tp_partition_config_path.py:89
Function
capture_route
(_module, _inputs, output, *, _name=name)
tests/unit/v1/moe/test_autoep_deepep_parity.py:274
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:342
Method
capture_to_graph
(self, graph, pool=None, stream=None)
accelerator/cuda_accelerator.py:300
Method
capture_to_graph
(self, graph, pool=None, stream=None)
accelerator/mps_accelerator.py:203
Method
capture_to_graph
(self, graph, pool=None, stream=None)
accelerator/abstract_accelerator.py:236
Method
captured_positions
(self)
deepspeed/runtime/hybrid_engine_graph.py:64
Function
cast_to_byte_tensor
csrc/utils/tensor_cast.cpp:8
Function
cast_to_half
(x)
tests/unit/alexnet_model.py:81
Method
causal_mask
(batch_idx, head_idx, q_idx, kv_idx)
deepspeed/runtime/sequence_parallel/ulysses_sp.py:330
Function
cb
()
deepspeed/runtime/activation_checkpointing/checkpointing.py:112
Method
chatglm
ChatGLM-style models (GLM-style fused QKV).
deepspeed/module_inject/autotp_config.py:406
Function
check
csrc/includes/gemm_test.h:25
Method
check_clip_grads
Check if gradients need to be clipped based on the global norm.
deepspeed/runtime/superoffload/superoffload_stage3.py:391
Function
check_config
(*, config, **_kwargs)
tests/unit/v1/moe/test_autoep_deepep_parity.py:328
Method
check_dataloader_inputs_same_across_ranks
(module, args, kwargs)
deepspeed/runtime/engine.py:971
Method
check_enabled
(self)
deepspeed/monitor/config.py:141
Function
check_environment
(pytestconfig)
tests/conftest.py:55
Method
check_equal
(logits, cap, sparse_truth, res)
tests/unit/v1/moe/test_moe.py:441
Method
check_key_exist
(partial_key, sd)
deepspeed/runtime/state_dict_factory.py:408
Method
check_meta_tensor_support
(self)
deepspeed/module_inject/containers/base.py:133
Method
check_supported
csrc/deepspeed4science/evoformer_attn/kernel_forward.h:495
Method
check_supported
csrc/deepspeed4science/evoformer_attn/kernel_backward.h:1016
Function
checkpoint_pack
used to record the activation order in the `weak_holder_list` the activation order in holder list is consistent between the first forward and
deepspeed/runtime/activation_checkpointing/checkpointing.py:860
Method
checkpoint_serialization_enabled
(self)
deepspeed/runtime/engine.py:1422
Function
checkpoint_tag
(mp_size, pp_size, mp_resize, pp_resize)
tests/unit/v1/autotp/test_configurable_parallel_pp.py:124
Function
checkpoint_unpack
retrieve the activations from recompute
deepspeed/runtime/activation_checkpointing/checkpointing.py:876
Method
checkpoint_writer_enabled
(self)
deepspeed/runtime/engine.py:1425
Function
chunk
csrc/includes/dequantization_utils.h:68
Method
ckpt_prefix
Build a prefix for all checkpoint files written by this module.
deepspeed/runtime/pipe/module.py:567
Method
class_tmpdir
(self, tmpdir_factory)
tests/unit/common.py:479
Function
clean_registry
()
tests/unit/compile/test_pass_contract.py:30
Method
clean_test_env
(self)
tests/model/BingBertSquad/BingBertSquad_test_common.py:43
Method
clean_test_env
(self)
tests/model/Megatron_GPT2/test_common.py:49
← previous
next →
8,101–8,200 of 14,579, ranked by callers