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
get_config
csrc/compile/deepcompile.cpp:137
Function
get_config_from_args
(args)
deepspeed/runtime/lr_schedules.py:229
Function
get_data_parallel_rank
Return my rank for the data parallel group.
deepspeed/utils/groups.py:317
Method
get_data_parallel_rank
(self)
tests/unit/v1/moe/test_moe_tp.py:41
Method
get_data_parallel_rank
(self)
tests/unit/v1/autotp/test_autotp_training.py:123
Function
get_data_parallel_world_size
Return world size for the data parallel group.
deepspeed/utils/groups.py:312
Method
get_data_parallel_world_size
(self)
tests/unit/v1/moe/test_moe_tp.py:44
Method
get_data_parallel_world_size
(self)
tests/unit/runtime/test_data_efficiency.py:46
Function
get_dataloader_and_lr_scheduler_for_variable_batch_size_deepspeed
a simplified call to get_dataloader_and_lr_scheduler_for_variable_batch_size for the deepspeed runtime. Needs the seqlens of every sample. It
deepspeed/runtime/data_pipeline/data_sampling/variable_batch_size_and_lr.py:351
Function
get_default_model_info_config
()
deepspeed/autotuning/config.py:97
Method
get_default_quant_dtype
()
op_builder/hpu/fp_quantizer.py:35
Method
get_dep_name_target
Helper method for getting the target name for a dependency from the mapping params. Tries to match exact string first, then l
deepspeed/inference/v2/model_implementations/layer_container_base.py:283
Method
get_desc
(self)
deepspeed/checkpoint/reshape_3d_utils.py:42
Method
get_doc_idx
(self)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:556
Method
get_dp_process_group
Return the communication group with all data-parallel ranks
deepspeed/runtime/zero/partition_parameters.py:2287
Function
get_dtypes
(include_float=True)
tests/unit/ops/transformer/inference/inference_test_utils.py:28
Function
get_dtypes
(include_float=True)
tests/unit/inference/v2/inference_test_utils.py:28
Method
get_embedding_files
(self, tp_index: int)
deepspeed/checkpoint/deepspeed_checkpoint.py:213
Method
get_embedding_layer_id
(self)
deepspeed/checkpoint/deepspeed_checkpoint.py:191
Method
get_embedding_state
(self, tp_index: int)
deepspeed/checkpoint/deepspeed_checkpoint.py:204
Function
get_fd_file_size
csrc/aio/common/deepspeed_aio_utils.cpp:116
Method
get_final_norm_files
(self, tp_index: int)
deepspeed/checkpoint/deepspeed_checkpoint.py:264
Method
get_final_norm_layer_id
(self)
deepspeed/checkpoint/deepspeed_checkpoint.py:194
Method
get_final_norm_state
(self, tp_index: int)
deepspeed/checkpoint/deepspeed_checkpoint.py:259
Function
get_full_hp_grad
(self)
deepspeed/utils/tensor_fragment.py:106
Function
get_full_hp_param
(self, optim_state_key=None)
deepspeed/utils/tensor_fragment.py:87
Function
get_global_rank
(group: Optional[Any] = None, group_rank: int = 0)
deepspeed/comm/comm.py:782
Method
get_grad_name
(self, param_name)
deepspeed/compile/graph_param.py:82
Function
get_grad_zeros
Compute the number of grads with zero values. This is adapted from get_grad_norm Arguments: parameters (Iterable[Tensor] or Tensor):
deepspeed/runtime/utils.py:572
Method
get_grads
(self)
tests/unit/modeling.py:418
Method
get_grads
(self)
tests/unit/modelingpreln.py:460
Method
get_grads_to_reduce
(self, i, partition_id)
deepspeed/runtime/zero/stage3.py:2300
Method
get_grads_to_reduce
(self, i, partition_id)
deepspeed/runtime/zero/stage_1_and_2.py:2394
Method
get_groups_without_padding
(self, groups_with_padding)
deepspeed/runtime/zero/stage3.py:3473
Method
get_hf_tp_plan_with_embedding_rowwise
(model)
tests/unit/v1/autotp/test_tp_plan_real_models.py:238
Method
get_hf_tp_plan_without_embedding_rowwise
(model)
tests/unit/v1/autotp/test_tp_plan_real_models.py:172
Method
get_hidden_heads
return hidden_size and number of heads
deepspeed/module_inject/policy.py:88
Method
get_hidden_heads
(self)
deepspeed/module_inject/containers/distil_bert.py:47
Method
get_hidden_heads
(self)
deepspeed/module_inject/containers/gptneo.py:109
Method
get_hidden_heads
(self)
deepspeed/module_inject/containers/clip.py:41
Method
get_hidden_heads
(self)
deepspeed/module_inject/containers/gpt2.py:38
Method
get_hidden_heads
(self)
deepspeed/module_inject/containers/bert.py:47
Method
get_hidden_heads
(self)
deepspeed/module_inject/containers/bloom.py:120
Method
get_hidden_heads
(self)
deepspeed/module_inject/containers/llama.py:180
Method
get_hidden_heads
(self)
deepspeed/module_inject/containers/megatron_gpt.py:58
Method
get_hidden_heads
(self)
deepspeed/module_inject/containers/gptneox.py:114
Method
get_hidden_heads
(self)
deepspeed/module_inject/containers/internlm.py:146
Method
get_hidden_heads
(self)
deepspeed/module_inject/containers/gptj.py:104
Method
get_hidden_heads
(self)
deepspeed/module_inject/containers/llama2.py:126
Method
get_hp_fragment
(self)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:52
Method
get_intra_op_parallelism
csrc/gds/py_lib/deepspeed_py_gds_handle.cpp:31
Method
get_kv_cache
(self)
deepspeed/ops/transformer/inference/op_binding/workspace.py:135
Method
get_kv_requirements
Given a sequence and the number of new tokens in the sequence, determine the number of new KV blocks needed to support the sequence.
deepspeed/inference/v2/model_implementations/inference_model_base.py:182
Function
get_kvs_addr
rank == 0: create main kvs and return its address rank == else: return an empty address */
csrc/cpu/comm/ccl.cpp:90
Method
get_lamb_coeffs
(self)
deepspeed/ops/lamb/fused_lamb.py:172
Method
get_lane_offset
csrc/deepspeed4science/evoformer_attn/gemm/mma_accum_lambda_iterator.h:65
Method
get_lane_offset
csrc/deepspeed4science/evoformer_attn/gemm/mma_accum_lambda_iterator.h:142
Method
get_lane_offset
csrc/deepspeed4science/evoformer_attn/gemm/mma_accum_lambda_iterator.h:278
Method
get_last_lr
Return last computed learning rate by current scheduler.
deepspeed/runtime/lr_schedules.py:395
Method
get_last_lr
Return last computed learning rate by current scheduler.
deepspeed/runtime/lr_schedules.py:764
Function
get_layer_ckpt_name_for_rank
(base_folder, layer_id, tp_rank)
deepspeed/checkpoint/utils.py:29
Method
get_layer_named_buffers
(module, prefix="")
deepspeed/runtime/engine.py:5517
Method
get_layer_state_dict
(module, prefix="")
deepspeed/runtime/engine.py:5601
Method
get_lean_optimizer_state
(self)
deepspeed/runtime/zero/stage3.py:3452
Function
get_list_param
(param_dict, param_name, param_default_value)
deepspeed/runtime/config_utils.py:197
Function
get_local_rank
Helper function to get local rank after a backend has been set and initialized Args: None Returns: lo
deepspeed/comm/comm.py:768
Function
get_logged_comm_ops
Get list of communication operation types that have been logged. Returns: list: List of operation names that have been logged (e.g.,
deepspeed/comm/comm.py:623
Method
get_lora_matched_pair
Necessary to implement for `HybridEngineContainer`
deepspeed/module_inject/containers/gptneo.py:56
Method
get_lora_matched_pair
(self)
deepspeed/module_inject/containers/opt.py:58
Method
get_lora_matched_pair
Necessary to implement for `HybridEngineContainer`
deepspeed/module_inject/containers/bloom.py:51
Method
get_lora_matched_pair
(self)
deepspeed/module_inject/containers/llama.py:105
Method
get_lora_matched_pair
Necessary to implement for `HybridEngineContainer`
deepspeed/module_inject/containers/gptneox.py:37
Method
get_lora_matched_pair
(self)
deepspeed/module_inject/containers/internlm.py:50
Method
get_lora_matched_pair
(self)
deepspeed/module_inject/containers/gptj.py:45
Method
get_lora_matched_pair
(self)
deepspeed/module_inject/containers/llama2.py:55
Method
get_lr
Return the current learning rate.
deepspeed/runtime/zero/stage3.py:835
Method
get_lr
Return the current learning rate.
deepspeed/runtime/zero/stage_1_and_2.py:3023
Method
get_lr
Return the current learning rate.
deepspeed/runtime/fp16/unfused_optimizer.py:187
Function
get_lr_from_config
(config)
deepspeed/runtime/lr_schedules.py:252
Function
get_mask
Gets the mask
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:409
Function
get_mask
< Sets the mask
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_atomic.h:878
Function
get_mask
< Sets the mask
csrc/deepspeed4science/evoformer_attn/iterators/epilogue_predicated_tile_iterator.h:674
Method
get_mask
Gets the mask
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:616
Method
get_mask
Gets the mask
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1334
Method
get_mask
Gets the mask
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1536
Method
get_mask
Gets the mask
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1743
Method
get_mask
Gets the mask
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_access_iterator_residual_last.h:1950
Method
get_mask
< Sets the mask
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_atomic.h:460
Method
get_mask
Gets the mask
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:345
Method
get_mask
Gets the mask
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:596
Method
get_mask
Gets the mask
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1025
Method
get_mask
Gets the mask
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1271
Method
get_mask
Gets the mask
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1479
Method
get_mask
Gets the mask
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1700
Method
get_mask
Gets the mask
csrc/deepspeed4science/evoformer_attn/iterators/predicated_tile_iterator_residual_last.h:1906
Method
get_mask_sizes
(self, query_length: int, layer_idx: int = 0)
deepspeed/utils/static_cache.py:342
Method
get_max_cache_shape
(self, layer_idx: int = 0)
deepspeed/utils/static_cache.py:328
Method
get_mean
Get the mean of a group of timers.
deepspeed/utils/timer.py:157
Method
get_mlp_params
(self)
deepspeed/module_inject/containers/features/gated_mlp.py:115
Function
get_model_parallel_group
Get the model parallel group the caller rank belongs to.
deepspeed/utils/groups.py:253
← previous
next →
9,301–9,400 of 14,579, ranked by callers