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
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)
deepspeed/utils/static_cache.py:133
Method
get_mask_sizes
(self, query_length: int, layer_idx: int = 0)
deepspeed/utils/static_cache.py:476
Method
get_max_cache_shape
(self)
deepspeed/utils/static_cache.py:159
Method
get_max_cache_shape
(self, layer_idx: int = 0)
deepspeed/utils/static_cache.py:462
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
Method
get_model_parallel_group
(self)
tests/unit/v1/moe/test_moe_tp.py:50
Method
get_model_parallel_group
(self)
tests/unit/v1/autotp/test_autotp_training.py:133
Method
get_model_parallel_group
(self)
tests/unit/runtime/test_data_efficiency.py:52
Function
get_model_parallel_rank
()
deepspeed/utils/groups.py:300
Method
get_model_parallel_rank
(self)
tests/unit/v1/moe/test_autoep_checkpoint.py:469
Method
get_model_parallel_rank
(self)
tests/unit/v1/autotp/test_autotp_training.py:118
Method
get_model_parallel_rank
(self)
tests/unit/runtime/test_data_efficiency.py:37
Function
get_model_parallel_world_size
()
deepspeed/utils/groups.py:282
Method
get_model_parallel_world_size
(self)
tests/unit/v1/moe/test_moe_tp.py:38
Method
get_model_parallel_world_size
(self)
tests/unit/v1/moe/test_autoep_unit.py:490
Method
get_model_parallel_world_size
(self)
tests/unit/v1/autotp/test_autotp_training.py:121
Method
get_model_parallel_world_size
(self)
tests/unit/runtime/test_data_efficiency.py:40
Function
get_model_state_file
(checkpoint_dir, zero_stage)
deepspeed/utils/zero_to_fp32.py:90
Method
get_models
(hidden_dim)
tests/unit/v1/moe/test_moe.py:580
Method
get_modules
(self, big_node, input)
tests/unit/modeling.py:421
Method
get_modules
(self, big_node, input)
tests/unit/modelingpreln.py:463
Method
get_name
(self)
tests/unit/v1/compile/test_list_schedule.py:555
Function
get_norm_with_moe_layers_fast
(all_groups_norm, group)
deepspeed/runtime/utils.py:201
Method
get_num_sub_params
Get the number of sub-parameters.
deepspeed/module_inject/autotp_config.py:202
Method
get_num_threads
csrc/includes/reflow_cpu_lion.h:123
Function
get_offload_activation_stats
()
deepspeed/compile/passes/offload_activation.py:86
Function
get_offload_op_stats
()
deepspeed/compile/passes/offload_adam_states.py:233
Method
get_offloaded_value
(self, name: str)
deepspeed/compile/util.py:216
Method
get_offset
(self)
deepspeed/io/double_io_buffer.py:43
Method
get_offset
(self)
deepspeed/io/single_io_buffer.py:27
Method
get_op_builder
(self, class_name)
accelerator/supa_accelerator.py:267
Method
get_op_builder
(self, class_name)
accelerator/cuda_accelerator.py:412
Method
get_op_builder
(self, class_name)
accelerator/abstract_accelerator.py:400
Method
get_optim_state_keys
(self)
tests/unit/checkpoint/test_autotp_uc_checkpoint.py:56
Function
get_optimizer_gradient_clipping
(param_dict)
deepspeed/runtime/config.py:302
Method
get_param_comm_dtype
(self, param)
deepspeed/runtime/base_optimizer.py:424
Method
get_param_count_and_ep
Return the number of parameters in the layer, whether the layer is an MoE layer, and its expert parallelism size if so
deepspeed/profiling/flops_profiler/profiler.py:170
Method
get_partition_info
(self, tensor_list, partition_size, partition_id)
deepspeed/runtime/zero/stage3.py:2576
Method
get_partition_rank
subclass can overload to specify different relative rank in parameter partition group
deepspeed/runtime/zero/partition_parameters.py:2278
Method
get_pipeline_parallel_rank
(self)
deepspeed/runtime/pipe/engine.py:524
Method
get_plateau_mbs
(self, tuning_space_name)
deepspeed/autotuning/autotuner.py:641
Method
get_pp_transformer_map
(self, pp_index: int)
deepspeed/checkpoint/deepspeed_checkpoint.py:255
Method
get_q_k_v
(self)
deepspeed/module_inject/containers/gptneo.py:115
Method
get_quant_range
(q_bits=None)
op_builder/hpu/fp_quantizer.py:39
Method
get_random_ltd_layer_num
(self)
deepspeed/runtime/data_pipeline/data_routing/scheduler.py:74
Function
get_rank
csrc/cpu/comm/ccl.cpp:104
Method
get_reducible_portion
(key)
deepspeed/runtime/zero/stage3.py:2460
Method
get_reducible_portion
(key)
deepspeed/runtime/zero/stage_1_and_2.py:2414
Function
get_registry
()
deepspeed/compile/custom_ops/sp_dp_registry.py:22
Method
get_remaining_block_capacity
Get the remaining capacity of the last block already allocated.
deepspeed/inference/v2/engine_v2.py:233
Method
get_remaining_block_capacity
(self, sequence: DSSequenceDescriptor)
deepspeed/inference/v2/model_implementations/inference_transformer_base.py:433
Method
get_remaining_block_capacity
(self, sequence: DSSequenceDescriptor)
deepspeed/inference/v2/model_implementations/inference_model_base.py:203
Method
get_rng_state
(self, device_index=None)
accelerator/supa_accelerator.py:79
Method
get_rng_state
(self, device_index=None)
accelerator/sdaa_accelerator.py:99
Method
get_rng_state
(self, device_index=None)
accelerator/cpu_accelerator.py:242
Method
get_rng_state
(self, device_index=None)
accelerator/mlu_accelerator.py:69
Method
get_rng_state
(self, device_index=None)
accelerator/npu_accelerator.py:103
Method
get_rng_state
(self, device_index=None)
accelerator/xpu_accelerator.py:234
Method
get_rng_state
(self, device_index=None)
accelerator/cuda_accelerator.py:104
Method
get_rng_state
(self, device_index=None)
accelerator/mps_accelerator.py:78
Method
get_rng_state
(self, device_index=None)
accelerator/abstract_accelerator.py:73
Method
get_sbh
(self, hidden_stats)
deepspeed/runtime/data_pipeline/data_routing/basic_layer.py:63
Function
get_scales
csrc/fp_quantizer/fp_quantize.cpp:122
Method
get_scales
(self)
deepspeed/ops/fp_quantizer/quantize.py:118
Function
get_sequence_data_parallel_rank
Return my rank for the sequence data parallel group.
deepspeed/runtime/sequence_parallel/parallel_state_sp.py:96
Function
get_sequence_data_parallel_world_size
Return world size for the sequence parallel group.
deepspeed/runtime/sequence_parallel/parallel_state_sp.py:86
Function
get_sequence_parallel_rank
Return my rank for the sequence parallel group.
deepspeed/runtime/sequence_parallel/parallel_state_sp.py:91
Function
get_sequence_parallel_world_size
Return world size for the sequence parallel group.
deepspeed/runtime/sequence_parallel/parallel_state_sp.py:81
Method
get_src_world_size
(self)
deepspeed/checkpoint/zero_checkpoint.py:32
Method
get_state_dict_ep2
convert state_dict from EP=1 to EP=2
tests/unit/v1/moe/test_moe.py:560
Function
get_sub_kvs_addr
csrc/cpu/comm/ccl.cpp:128
Method
get_sub_param_sizes
Get sub-parameter sizes if using unequal sub-params.
deepspeed/module_inject/autotp_config.py:196
Method
get_swap_path
(self, offset)
deepspeed/runtime/swap_tensor/utils.py:92
Method
get_swap_paths
(self)
deepspeed/runtime/swap_tensor/optimizer_utils.py:90
Method
get_swap_tensor
(self, offset)
deepspeed/runtime/swap_tensor/utils.py:86
Function
get_tensor_bytes
(item)
deepspeed/runtime/utils.py:1132
Function
get_tensor_model_parallel_src_rank
Calculate the global rank corresponding to the first local rank in the tensor model parallel group.
deepspeed/utils/groups.py:304
Method
get_tensor_parallel_rank
(self)
deepspeed/runtime/engine.py:1534
Method
get_text_config
(self, **_kwargs)
tests/unit/runtime/rollout/test_hybrid_engine_rollout.py:483
Method
get_timers
(self)
deepspeed/utils/timer.py:127
← previous
next →
9,801–9,900 of 15,468, ranked by callers