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_reducible_portion
(key)
deepspeed/runtime/zero/stage3.py:1360
Method
get_reducible_portion
(key)
deepspeed/runtime/zero/stage_1_and_2.py:1282
Method
get_rng_state
(self, device_index=None)
deepspeed/accelerator/npu_accelerator.py:58
Method
get_rng_state
(self, device_index=None)
deepspeed/accelerator/cuda_accelerator.py:62
Method
get_rng_state
(self, device_index=None)
deepspeed/accelerator/abstract_accelerator.py:59
Method
get_sbh
(self, hidden_stats)
deepspeed/runtime/data_pipeline/data_routing/basic_layer.py:63
Function
get_sequence_data_parallel_rank
Return my rank for the sequence data parallel group.
DeepSpeedExample/megatron/core/parallel_state.py:535
Function
get_sequence_data_parallel_world_size
Return world size for the sequence parallel group.
DeepSpeedExample/megatron/core/parallel_state.py:455
Method
get_single_submit
deepspeed/ops/csrc/aio/py_lib/deepspeed_py_aio_handle.cpp:57
Function
get_sparse_attention_type
(param_dict)
deepspeed/runtime/config.py:431
Method
get_sparse_tensor_module_names
(original_set, loaded_set, original_parameters, loaded_parameters)
deepspeed/runtime/engine.py:2707
Method
get_src_world_size
(self)
deepspeed/checkpoint/zero_checkpoint.py:32
Method
get_state
(self)
deepspeed/runtime/data_pipeline/curriculum_scheduler.py:116
Method
get_swap_path
(self, offset)
deepspeed/runtime/swap_tensor/utils.py:92
Method
get_swap_tensor
(self, offset)
deepspeed/runtime/swap_tensor/utils.py:86
Function
get_tasks_args
Provide extra arguments required for tasks.
DeepSpeedExample/tasks/main.py:27
Method
get_thread_count
deepspeed/ops/csrc/aio/py_lib/deepspeed_py_aio_handle.cpp:61
Method
get_timers
(self)
deepspeed/utils/timer.py:113
Method
get_total_layer_tokens
(self, train_iters)
deepspeed/runtime/data_pipeline/data_routing/scheduler.py:55
Method
get_transformer_state
(self, tp_index: int, pp_index: int)
deepspeed/checkpoint/deepspeed_checkpoint.py:172
Method
get_type
(self)
deepspeed/runtime/engine.py:2204
Function
get_workspace_size
deepspeed/ops/csrc/transformer/ds_transformer_cuda.cpp:27
Method
get_workspace_size
deepspeed/ops/csrc/transformer/inference/includes/inference_context.h:182
Function
get_world_group
()
deepspeed/comm/comm.py:495
Function
get_world_rank_from_launcher
()
deepspeed/comm/utils.py:26
Function
get_world_size
deepspeed/ops/csrc/cpu/comm/ccl.cpp:66
Function
get_world_size
Returns the number of processes in the current process group Args: group (ProcessGroup, optional): The process group to work on. If N
deepspeed/comm/comm.py:502
Function
get_world_size_from_launcher
()
deepspeed/comm/utils.py:41
Method
get_wrapped_fn_to_apply
(fn_to_apply: Callable)
deepspeed/runtime/zero/partition_parameters.py:315
Method
get_zero_checkpoint_state
(self, pp_index, tp_index, dp_index)
deepspeed/checkpoint/deepspeed_checkpoint.py:112
Function
get_zero_ckpt_name_for_rank
(base_folder, dp_rank, mp_rank)
deepspeed/checkpoint/utils.py:19
Method
get_zero_files
(self, pp_index, tp_index, dp_index)
deepspeed/checkpoint/deepspeed_checkpoint.py:118
Method
glu
(x)
DeepSpeedExample/megatron/core/transformer/mlp.py:50
Function
gpt2_attention_mask_func
(attention_scores, ltor_mask)
DeepSpeedExample/megatron/model/gpt2_model.py:31
Function
gpt_sample_tokens
(reserved_length: int, seq_length: int, batch_size: int,
deepspeed/ops/random_ltd/dropping_utils.py:18
Function
half_conversion
(val)
DeepSpeedExample/megatron/core/transformer/module.py:51
Function
half_conversion
(val)
DeepSpeedExample/megatron/model/module.py:130
Function
half_conversion
(val)
DeepSpeedExample/megatron/fp16/fp16.py:46
Function
has_all_gather_into_tensor
()
deepspeed/comm/comm.py:300
Function
has_all_reduce_coalesced
()
deepspeed/comm/comm.py:442
Function
has_coalescing_manager
()
deepspeed/comm/comm.py:451
Method
has_next
(self)
deepspeed/autotuning/tuner/model_based_tuner.py:116
Method
has_overflow
(self, params)
DeepSpeedExample/megatron/fp16/loss_scaler.py:127
Method
has_overflow_partitioned_grads_serial
(self)
deepspeed/runtime/zero/stage3.py:2050
Method
has_overflow_serial
(self, params)
deepspeed/runtime/fp16/loss_scaler.py:141
Function
has_reduce_scatter_tensor
()
deepspeed/comm/comm.py:231
Method
hipify_extension
(self)
deepspeed/ops/op_builder/builder.py:128
Method
hipify_extension
(self)
deepspeed/ops/op_builder/builder.py:642
Function
hook
(module, input)
deepspeed/compression/helper.py:290
Method
ids_list
(group)
deepspeed/runtime/engine.py:1093
Method
include_paths
(self)
deepspeed/ops/op_builder/random_ltd.py:32
Method
include_paths
(self)
deepspeed/ops/op_builder/async_io.py:31
Method
include_paths
(self)
deepspeed/ops/op_builder/quantizer.py:28
Method
include_paths
(self)
deepspeed/ops/op_builder/fused_lamb.py:24
Method
include_paths
(self)
deepspeed/ops/op_builder/spatial_inference.py:44
Method
include_paths
(self)
deepspeed/ops/op_builder/transformer.py:34
Method
include_paths
(self)
deepspeed/ops/op_builder/transformer_inference.py:73
Method
include_paths
(self)
deepspeed/ops/op_builder/fused_adam.py:24
Method
include_paths
(self)
deepspeed/ops/op_builder/cpu_adam.py:39
Method
include_paths
(self)
deepspeed/ops/op_builder/cpu_adagrad.py:35
Method
increment_value
(dictionary, key)
deepspeed/runtime/zero/stage_1_and_2.py:753
Function
index_to_feature
convert index form (single integer) to feature form (vector)
deepspeed/autotuning/tuner/utils.py:12
Function
init
deepspeed/ops/csrc/includes/reduction_utils.h:295
Function
init_
(tensor)
DeepSpeedExample/megatron/core/utils.py:158
Function
init_
(tensor)
DeepSpeedExample/megatron/model/utils.py:27
Function
init_checkpointed_activations_memory_buffer
Initializ the memory buffer for the checkpointed activations.
DeepSpeedExample/megatron/core/tensor_parallel/random.py:38
Function
init_checkpointed_activations_memory_buffer
Initializ the memory buffer for the checkpointed activations.
DeepSpeedExample/megatron/mpu/random.py:44
Function
init_compression
Compress a model: replace linear/conv2d layer with deepspeed compression-aware modules Args: model (`torch.nn.Module`) Th
deepspeed/compression/compress.py:100
Function
init_inference
Initialize the DeepSpeed InferenceEngine. Description: all four cases are valid and supported in DS init_inference() API. # Case 1: user pro
deepspeed/__init__.py:260
Function
init_process_groups
(grid)
deepspeed/runtime/pipe/p2p.py:31
Method
initial_seed
(self, seed)
deepspeed/accelerator/npu_accelerator.py:70
Method
initial_seed
(self, seed)
deepspeed/accelerator/cuda_accelerator.py:74
Method
initial_seed
(self, seed)
deepspeed/accelerator/abstract_accelerator.py:71
Function
initialize
hls_smartInfinity/src/kernel_cpp/adam_topk.cpp:29
Function
initialize
hls_smartInfinity/src/kernel_cpp/adagrad_topk.cpp:29
Function
initialize
hls_smartInfinity/src/kernel_cpp/sgd_topk.cpp:29
Function
initialize
hls_smartInfinity/src/kernel_cpp/g16_adam_topk.cpp:29
Function
initialize
Initialize the DeepSpeed Engine. Arguments: args: an object containing local_rank and deepspeed_config fields. This is option
deepspeed/__init__.py:58
Function
initialize
deepspeed/ops/csrc/cpu/comm/ccl.cpp:29
Function
initialize
Deprecated function. Retained to inform the users.
deepspeed/utils/groups.py:46
Method
initialize_ds_offload
(self, module, timers, ds_config, overlap_comm, prefetch_bucket_size, max_reuse_distance,
deepspeed/runtime/zero/mics.py:399
Method
initialize_from_swapped_fp16_params
(self, fp16_partitions_info, fp16_num_elems, fp16_pinned_buffers,
deepspeed/runtime/swap_tensor/partitioned_optimizer_swapper.py:56
Method
initialize_gradient_partitioning_data_structures
(self)
deepspeed/runtime/zero/stage3.py:992
Function
initialize_model_parallel
Initialize model data parallel groups. Arguments: tensor_model_parallel_size (int, default = 1): The number of GPUs to split
DeepSpeedExample/megatron/core/parallel_state.py:65
Function
initialize_model_parallel
Initialize model data parallel groups. Arguments: model_parallel_size: number of GPUs used to parallelize model. Let's say we h
DeepSpeedExample/megatron/mpu/initialize.py:39
Method
initialize_parameters
(self, parameters, src_tensors)
deepspeed/runtime/swap_tensor/partitioned_optimizer_swapper.py:53
Method
initialize_tensors
(self)
deepspeed/module_inject/containers/base_moe.py:60
Method
initialize_tensors
Same purposes as the base container, but also grabs the hooks for any LoRA parameters. If it's necessary to override specific sub-com
deepspeed/module_inject/containers/features/hybrid_engine.py:23
Method
initialize_tensors
(self, enable_training=False)
deepspeed/module_inject/containers/features/meta_tensor.py:25
Method
initialize_word_embeddings
(self, init_method_normal)
DeepSpeedExample/megatron/model/module.py:69
Method
initializer
(self)
DeepSpeedExample/tools/preprocess_data.py:59
Function
input
(msg)
deepspeed/runtime/zero/stage_1_and_2.py:39
Method
insert_tensor
(self, tensor, swap_path, aligned_numel)
deepspeed/runtime/swap_tensor/utils.py:115
Method
inspect_master_grad_data
When running with :class:`FP16_Optimizer`, ``.grad`` attributes of a model's fp16 leaves should not be regarded as truthful,
DeepSpeedExample/megatron/fp16/fp16.py:591
Method
inv_vocab
Dictionary from vocab id token to text token.
DeepSpeedExample/megatron/tokenizer/tokenizer.py:89
Method
inv_vocab
(self)
DeepSpeedExample/megatron/tokenizer/tokenizer.py:151
Method
inv_vocab
(self)
DeepSpeedExample/megatron/tokenizer/tokenizer.py:209
Method
io_op_desc_t
deepspeed/ops/csrc/aio/py_lib/deepspeed_aio_thread.cpp:14
Method
io_prep_context
deepspeed/ops/csrc/aio/common/deepspeed_aio_utils.cpp:28
Method
io_prep_generator
deepspeed/ops/csrc/aio/common/deepspeed_aio_utils.cpp:57
← previous
next →
4,101–4,200 of 4,989, ranked by callers