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
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:636
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:419
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: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
(_graph)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:2015
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:324
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
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:392
Function
check_config
(*, config, **_kwargs)
tests/unit/v1/moe/test_autoep_deepep_parity.py:386
Method
check_dataloader_inputs_same_across_ranks
(module, args, kwargs)
deepspeed/runtime/engine.py:997
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_release
(buffer)
tests/unit/v1/zero/test_reflow.py:1662
Method
check_supported
csrc/deepspeed4science/evoformer_attn/kernel_forward.h:495
Method
check_supported
csrc/deepspeed4science/evoformer_attn/kernel_backward.h:1016
Method
checkpoint_event_prologue
(self)
deepspeed/runtime/reflow/reflow_stage3.py:2012
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:1475
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:1478
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:492
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
Function
cleanup
csrc/compile/deepcompile.cpp:86
Method
clear
(self)
deepspeed/compile/util.py:222
Method
clear
Clear stored inputs
deepspeed/compile/input_storage.py:189
Method
clear
< Efficiently disables all accesses guarded by mask
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_atomic.h:203
Function
clear_all_gathered_params
csrc/compile/z3.cpp:596
Method
clear_backward_seen_flag
Clear the backward seen flag and increment micro_step_id if epilogue ran. This override defers the micro_step_id increment from the epilogue
deepspeed/runtime/zero/stage3.py:2636
Method
clear_backward_seen_flag
Clear the backward seen flag and do deferred cleanup. With reentrant gradient checkpointing, the epilogue may run multiple times per
deepspeed/runtime/zero/stage_1_and_2.py:1177
Function
clear_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:397
Function
clear_mask
< Efficiently disables all accesses guarded by mask
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_atomic.h:872
Function
clear_mask
< Efficiently disables all accesses guarded by mask
csrc/deepspeed4science/evoformer_attn/iterators/epilogue_predicated_tile_iterator.h:668
Method
clear_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:604
Method
clear_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1322
Method
clear_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1524
Method
clear_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1731
Method
clear_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1938
Method
clear_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:330
Method
clear_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:581
Method
clear_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1010
Method
clear_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1256
Method
clear_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1464
Method
clear_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1685
Method
clear_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1891
Method
clear_selected_mv
(self)
deepspeed/ops/adam/zenflow_torch_adam.py:317
Function
cli_main
()
deepspeed/env_report.py:183
Function
clip_ranges_to_valid_partition
Clamp a list of (offset, size) ranges to the valid partition, dropping empties.
deepspeed/runtime/reflow/reflow_utils.py:469
Method
clone_full_param
(param)
tests/unit/v1/zero/test_zero.py:185
← previous
next →
8,501–8,600 of 15,468, ranked by callers