MCPcopy Create free account

hub / github.com/deepspeedai/DeepSpeed / functions

Functions14,579 in github.com/deepspeedai/DeepSpeed

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:387
Methodbroadcast_and_check
(args, bcast_rank, bcast_group)
deepspeed/runtime/engine.py:973
Functionbroadcast_comm_off
(flag=False)
deepspeed/comm/torch.py:113
Functionbroadcast_object_list
(object_list, src, group=None, d
deepspeed/comm/comm.py:239
Functionbsh_decoder_gather
(reserved_length, hidden_states, mask)
deepspeed/runtime/data_pipeline/data_routing/utils.py:9
Functionbsh_decoder_scatter
(hidden_states, part_hidden_states, rand_list)
deepspeed/runtime/data_pipeline/data_routing/utils.py:24
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:451
Methodbuild
()
tests/unit/v1/moe/test_autoep_expert_activation.py:600
Methodbuild
(self, **kwargs)
tests/unit/module_inject/test_auto_ep_comm.py:141
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
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:711
Methodbuild_extension
(self)
accelerator/supa_accelerator.py:273
Methodbuild_extension
(self)
accelerator/sdaa_accelerator.py:294
Methodbuild_extension
(self)
accelerator/cpu_accelerator.py:502
Methodbuild_extension
(self)
accelerator/mlu_accelerator.py:266
Methodbuild_extension
(self)
accelerator/npu_accelerator.py:335
Methodbuild_extension
(self)
accelerator/xpu_accelerator.py:489
Methodbuild_extension
(self)
accelerator/cuda_accelerator.py:412
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:464
Methodbuild_model
()
tests/unit/v1/autotp/test_autotp_training.py:1301
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:849
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/cpu/builder.py:19
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:533
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
(_graph)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:1827
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:274
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:342
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:391
Functioncheck_config
(*, config, **_kwargs)
tests/unit/v1/moe/test_autoep_deepep_parity.py:328
Methodcheck_dataloader_inputs_same_across_ranks
(module, args, kwargs)
deepspeed/runtime/engine.py:971
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_supported
csrc/deepspeed4science/evoformer_attn/kernel_forward.h:495
Methodcheck_supported
csrc/deepspeed4science/evoformer_attn/kernel_backward.h:1016
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:1422
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:1425
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:479
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
← previousnext →8,101–8,200 of 14,579, ranked by callers