MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions15,468 in github.com/deepspeedai/DeepSpeed

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:636
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:419
Methodbuild_extension
(self)
accelerator/mps_accelerator.py:288
Methodbuild_extension
(self)
accelerator/abstract_accelerator.py:404
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
(_graph)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:2015
Functioncapture
(self, child, full_name)
tests/unit/module_inject/test_tp_partition_config_path.py:89
Functioncapture_route
(_module, _inputs, output, *, _name=name)
tests/unit/v1/moe/test_autoep_deepep_parity.py:324
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
Methodcapture_to_graph
(self, graph, pool=None, stream=None)
accelerator/cuda_accelerator.py:300
Methodcapture_to_graph
(self, graph, pool=None, stream=None)
accelerator/mps_accelerator.py:203
Methodcapture_to_graph
(self, graph, pool=None, stream=None)
accelerator/abstract_accelerator.py:236
Methodcaptured_positions
(self)
deepspeed/runtime/hybrid_engine_graph.py:64
Functioncast_to_byte_tensor
csrc/utils/tensor_cast.cpp:8
Functioncast_to_half
(x)
tests/unit/alexnet_model.py:81
Methodcausal_mask
(batch_idx, head_idx, q_idx, kv_idx)
deepspeed/runtime/sequence_parallel/ulysses_sp.py:330
Functioncb
()
deepspeed/runtime/activation_checkpointing/checkpointing.py:112
Methodchatglm
ChatGLM-style models (GLM-style fused QKV).
deepspeed/module_inject/autotp_config.py:406
Functioncheck
csrc/includes/gemm_test.h:25
Methodcheck_clip_grads
Check if gradients need to be clipped based on the global norm.
deepspeed/runtime/superoffload/superoffload_stage3.py:392
Functioncheck_config
(*, config, **_kwargs)
tests/unit/v1/moe/test_autoep_deepep_parity.py:386
Methodcheck_dataloader_inputs_same_across_ranks
(module, args, kwargs)
deepspeed/runtime/engine.py:997
Methodcheck_enabled
(self)
deepspeed/monitor/config.py:141
Functioncheck_environment
(pytestconfig)
tests/conftest.py:55
Methodcheck_equal
(logits, cap, sparse_truth, res)
tests/unit/v1/moe/test_moe.py:441
Methodcheck_key_exist
(partial_key, sd)
deepspeed/runtime/state_dict_factory.py:408
Methodcheck_meta_tensor_support
(self)
deepspeed/module_inject/containers/base.py:133
Methodcheck_release
(buffer)
tests/unit/v1/zero/test_reflow.py:1662
Methodcheck_supported
csrc/deepspeed4science/evoformer_attn/kernel_forward.h:495
Methodcheck_supported
csrc/deepspeed4science/evoformer_attn/kernel_backward.h:1016
Methodcheckpoint_event_prologue
(self)
deepspeed/runtime/reflow/reflow_stage3.py:2012
Functioncheckpoint_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
Methodcheckpoint_serialization_enabled
(self)
deepspeed/runtime/engine.py:1475
Functioncheckpoint_tag
(mp_size, pp_size, mp_resize, pp_resize)
tests/unit/v1/autotp/test_configurable_parallel_pp.py:124
Functioncheckpoint_unpack
retrieve the activations from recompute
deepspeed/runtime/activation_checkpointing/checkpointing.py:876
Methodcheckpoint_writer_enabled
(self)
deepspeed/runtime/engine.py:1478
Functionchunk
csrc/includes/dequantization_utils.h:68
Methodckpt_prefix
Build a prefix for all checkpoint files written by this module.
deepspeed/runtime/pipe/module.py:567
Methodclass_tmpdir
(self, tmpdir_factory)
tests/unit/common.py:492
Functionclean_registry
()
tests/unit/compile/test_pass_contract.py:30
Methodclean_test_env
(self)
tests/model/BingBertSquad/BingBertSquad_test_common.py:43
Methodclean_test_env
(self)
tests/model/Megatron_GPT2/test_common.py:49
Functioncleanup
csrc/compile/deepcompile.cpp:86
Methodclear
(self)
deepspeed/compile/util.py:222
Methodclear
Clear stored inputs
deepspeed/compile/input_storage.py:189
Methodclear
< Efficiently disables all accesses guarded by mask
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_atomic.h:203
Functionclear_all_gathered_params
csrc/compile/z3.cpp:596
Methodclear_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
Methodclear_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
Functionclear_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:397
Functionclear_mask
< Efficiently disables all accesses guarded by mask
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_atomic.h:872
Functionclear_mask
< Efficiently disables all accesses guarded by mask
csrc/deepspeed4science/evoformer_attn/iterators/epilogue_predicated_tile_iterator.h:668
Methodclear_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:604
Methodclear_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1322
Methodclear_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1524
Methodclear_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1731
Methodclear_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1938
Methodclear_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:330
Methodclear_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:581
Methodclear_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1010
Methodclear_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1256
Methodclear_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1464
Methodclear_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1685
Methodclear_mask
Clears the predicate set efficiently
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1891
Methodclear_selected_mv
(self)
deepspeed/ops/adam/zenflow_torch_adam.py:317
Functioncli_main
()
deepspeed/env_report.py:183
Functionclip_ranges_to_valid_partition
Clamp a list of (offset, size) ranges to the valid partition, dropping empties.
deepspeed/runtime/reflow/reflow_utils.py:469
Methodclone_full_param
(param)
tests/unit/v1/zero/test_zero.py:185
← previousnext →8,501–8,600 of 15,468, ranked by callers