Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AIS-SNU/Smart-Infinity
/ functions
Functions
4,989 in github.com/AIS-SNU/Smart-Infinity
⨍
Functions
4,989
◇
Types & classes
624
Method
get_block_size
deepspeed/ops/csrc/aio/py_lib/deepspeed_py_aio_handle.cpp:47
Method
get_bsh
(self, hidden_stats)
deepspeed/runtime/data_pipeline/data_routing/basic_layer.py:60
Method
get_checkpoint_info
(self, info_key=CHECKPOINT_INFO_KEY)
deepspeed/checkpoint/deepspeed_checkpoint.py:154
Method
get_cmd
Return the command to execute on node
deepspeed/launcher/multinode_runner.py:33
Method
get_cmd
(self, environment, active_resources)
deepspeed/launcher/multinode_runner.py:66
Method
get_cmd
(self, environment, active_resources)
deepspeed/launcher/multinode_runner.py:130
Method
get_cmd
(self, environment, active_resources)
deepspeed/launcher/multinode_runner.py:183
Method
get_cmd
(self, environment, active_resources)
deepspeed/launcher/multinode_runner.py:254
Method
get_cmd
(self, environment, active_resources)
deepspeed/launcher/multinode_runner.py:414
Method
get_compute_tensor
(self, offset)
deepspeed/runtime/swap_tensor/utils.py:89
Method
get_compute_tensors
(self)
deepspeed/runtime/swap_tensor/utils.py:136
Function
get_config_from_args
(args)
deepspeed/runtime/lr_schedules.py:199
Method
get_data
Return the data currently in use.
DeepSpeedExample/megatron/memory.py:110
Function
get_data_parallel_group_gloo
Get the data parallel group-gloo the caller rank belongs to.
DeepSpeedExample/megatron/core/parallel_state.py:380
Function
get_data_parallel_src_rank
Calculate the global rank corresponding to the first local rank in the data parallel group.
DeepSpeedExample/megatron/core/parallel_state.py:666
Function
get_data_parallel_world_size
Return world size for the data parallel group.
DeepSpeedExample/megatron/core/parallel_state.py:704
Function
get_data_parallel_world_size
Return world size for the data parallel group.
DeepSpeedExample/megatron/mpu/initialize.py:147
Function
get_default_model_info_config
()
deepspeed/autotuning/config.py:97
Method
get_desc
(self)
deepspeed/checkpoint/reshape_3d_utils.py:39
Method
get_doc_idx
(self)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:556
Method
get_embedding_files
(self, tp_index: int)
deepspeed/checkpoint/deepspeed_checkpoint.py:140
Function
get_embedding_group
Get the embedding group the caller rank belongs to.
DeepSpeedExample/megatron/core/parallel_state.py:387
Method
get_embedding_layer_id
(self)
deepspeed/checkpoint/deepspeed_checkpoint.py:121
Method
get_embedding_state
(self, tp_index: int)
deepspeed/checkpoint/deepspeed_checkpoint.py:134
Function
get_file_extension
(path, dot=True, lower=True)
DeepSpeedExample/megatron/deprecated_data_utils/file_utils.py:250
Method
get_final_norm_files
(self, tp_index: int)
deepspeed/checkpoint/deepspeed_checkpoint.py:191
Method
get_final_norm_layer_id
(self)
deepspeed/checkpoint/deepspeed_checkpoint.py:124
Method
get_final_norm_state
(self, tp_index: int)
deepspeed/checkpoint/deepspeed_checkpoint.py:186
Method
get_flat_partition
(self, tensor_list, first_offset, partition_size, return_tensor_list=False)
deepspeed/runtime/zero/stage3.py:1592
Function
get_forward_backward_func
Retrieves the appropriate forward_backward function given the configuration of parallel_state. Returns a function that will perform all of th
DeepSpeedExample/megatron/core/pipeline_parallel/schedules.py:24
Method
get_fp32_grad_partitions
get fp32 gradient partition dictionary accessed as grad_dict[parameter_group_index][parameter_index]
deepspeed/runtime/zero/stage3.py:2132
Function
get_full_hp_grad
(self)
deepspeed/utils/tensor_fragment.py:63
Function
get_full_hp_param
(self, optim_state_key=None)
deepspeed/utils/tensor_fragment.py:48
Method
get_global_grad_norm
Return the 2-norm of all gradients. If there is model parallelism, the norm will be global. The computed norm will be cached and reuse
deepspeed/runtime/engine.py:437
Function
get_global_rank
(group=None, group_rank=0)
deepspeed/comm/comm.py:553
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:432
Method
get_grads_to_reduce
(self, i, partition_id)
deepspeed/runtime/zero/stage3.py:1358
Method
get_grads_to_reduce
(self, i, partition_id)
deepspeed/runtime/zero/stage_1_and_2.py:1280
Method
get_groups_without_padding
(self, groups_with_padding)
deepspeed/runtime/zero/stage3.py:2277
Method
get_hidden_heads
return hidden_size and number of heads
deepspeed/module_inject/policy.py:87
Method
get_hidden_heads
(self)
deepspeed/module_inject/containers/distil_bert.py:46
Method
get_hidden_heads
(self)
deepspeed/module_inject/containers/gptneo.py:89
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:46
Method
get_hidden_heads
(self)
deepspeed/module_inject/containers/bloom.py:99
Method
get_hidden_heads
(self)
deepspeed/module_inject/containers/llama.py:118
Method
get_hidden_heads
(self)
deepspeed/module_inject/containers/megatron_gpt.py:57
Method
get_hidden_heads
(self)
deepspeed/module_inject/containers/gptneox.py:106
Method
get_hidden_heads
(self)
deepspeed/module_inject/containers/gptj.py:98
Method
get_iteration
(self)
deepspeed/checkpoint/deepspeed_checkpoint.py:127
Function
get_kvs_addr
rank == 0: create main kvs and return its address rank == else: return an empty address */
deepspeed/ops/csrc/cpu/comm/ccl.cpp:50
Method
get_lamb_coeffs
(self)
deepspeed/ops/lamb/fused_lamb.py:172
Method
get_lamb_coeffs
(self)
deepspeed/runtime/fp16/onebit/lamb.py:444
Method
get_last_lr
Return last computed learning rate by current scheduler.
deepspeed/runtime/lr_schedules.py:337
Method
get_last_lr
Return last computed learning rate by current scheduler.
deepspeed/runtime/lr_schedules.py:594
Method
get_last_lr
Return last computed learning rate by current scheduler.
deepspeed/runtime/lr_schedules.py:678
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:3125
Method
get_layer_state_dict
(module, prefix="")
deepspeed/runtime/engine.py:3208
Method
get_lean_optimizer_state
(self)
deepspeed/runtime/zero/stage3.py:2256
Function
get_linear_layer
Simple linear layer with weight initialization.
DeepSpeedExample/megatron/core/transformer/utils.py:16
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:539
Method
get_lr
Return the current learning rate.
deepspeed/runtime/zero/stage3.py:445
Method
get_lr
Return the current learning rate.
deepspeed/runtime/zero/stage_1_and_2.py:1598
Method
get_lr
Return the current learning rate.
deepspeed/runtime/fp16/unfused_optimizer.py:185
Function
get_lr_from_config
(config)
deepspeed/runtime/lr_schedules.py:220
Function
get_mem_buff
Get the memory buffer.
DeepSpeedExample/megatron/memory.py:32
Method
get_mlp_params
(self)
deepspeed/module_inject/containers/features/gated_mlp.py:108
Function
get_model_ckpt_name_for_rank
(base_folder, mp_rank_str)
deepspeed/checkpoint/utils.py:11
Function
get_model_parallel_group
Get the model parallel group the caller rank belongs to.
DeepSpeedExample/megatron/core/parallel_state.py:342
Function
get_model_parallel_rank
()
DeepSpeedExample/megatron/core/parallel_state.py:476
Function
get_model_parallel_world_size
()
DeepSpeedExample/megatron/core/parallel_state.py:444
Function
get_model_profile
Returns the total floating-point operations, MACs, and parameters of a model. Example: .. code-block:: python model = torchvision.m
deepspeed/profiling/flops_profiler/profiler.py:1115
Function
get_model_state_file
(checkpoint_dir, zero_stage)
deepspeed/utils/zero_to_fp32.py:61
Function
get_mp_merge_args
Provide extra arguments required for merging.
DeepSpeedExample/tools/merge_mp_partitions.py:175
Method
get_next_buffer
(self)
DeepSpeedExample/megatron/memory.py:140
Method
get_null_block
Get empty block and title - used in REALM pretraining
DeepSpeedExample/megatron/data/ict_dataset.py:119
Method
get_op_builder
(self, class_name)
deepspeed/accelerator/npu_accelerator.py:232
Method
get_op_builder
(self, class_name)
deepspeed/accelerator/cuda_accelerator.py:257
Method
get_op_builder
(self, class_name)
deepspeed/accelerator/abstract_accelerator.py:239
Function
get_optimizer_gradient_clipping
(param_dict)
deepspeed/runtime/config.py:466
Method
get_overlap_events
deepspeed/ops/csrc/aio/py_lib/deepspeed_py_aio_handle.cpp:59
Method
get_partition_dp_group
(self, param)
deepspeed/runtime/zero/mics.py:295
Method
get_partition_info
(self, tensor_list, partition_size, partition_id)
deepspeed/runtime/zero/stage3.py:1476
Method
get_partition_rank
(self)
deepspeed/runtime/zero/mics.py:298
Method
get_pipe_parallel_rank
The stage of the pipeline this rank resides in.
deepspeed/runtime/pipe/topology.py:410
Method
get_pipe_parallel_world_size
The number of stages in the pipeline.
deepspeed/runtime/pipe/topology.py:414
Function
get_pipeline_model_parallel_first_rank
Return the global rank of the first process in the pipeline for the current tensor parallel group
DeepSpeedExample/megatron/core/parallel_state.py:673
Function
get_pipeline_model_parallel_last_rank
Return the global rank of the last process in the pipeline for the current tensor parallel group
DeepSpeedExample/megatron/core/parallel_state.py:680
Function
get_pipeline_model_parallel_split_rank
Return pipeline model parallel split rank.
DeepSpeedExample/megatron/core/parallel_state.py:521
Method
get_plateau_mbs
(self, tuning_space_name)
deepspeed/autotuning/autotuner.py:640
Method
get_pld_theta
(self)
deepspeed/runtime/engine.py:2213
Function
get_position_embedding_group
Get the position embedding group the caller rank belongs to.
DeepSpeedExample/megatron/core/parallel_state.py:393
Method
get_pp_transformer_map
(self, pp_index: int)
deepspeed/checkpoint/deepspeed_checkpoint.py:182
Method
get_q_k_v
(self)
deepspeed/module_inject/containers/gptneo.py:95
Method
get_query_key_value_tensors
Derives `query`, `key` and `value` tensors from `hidden_states`.
DeepSpeedExample/megatron/core/transformer/attention.py:186
Method
get_query_key_value_tensors
Derives `query` tensor from `hidden_states`, and `key`/`value` tensors from `key_value_states`.
DeepSpeedExample/megatron/core/transformer/attention.py:239
Method
get_queue_depth
deepspeed/ops/csrc/aio/py_lib/deepspeed_py_aio_handle.cpp:52
Method
get_random_ltd_layer_num
(self)
deepspeed/runtime/data_pipeline/data_routing/scheduler.py:76
← previous
next →
4,001–4,100 of 4,989, ranked by callers