MCPcopy Create free account

hub / github.com/AIS-SNU/Smart-Infinity / functions

Functions4,989 in github.com/AIS-SNU/Smart-Infinity

Methodget_reducible_portion
(key)
deepspeed/runtime/zero/stage3.py:1360
Methodget_reducible_portion
(key)
deepspeed/runtime/zero/stage_1_and_2.py:1282
Methodget_rng_state
(self, device_index=None)
deepspeed/accelerator/npu_accelerator.py:58
Methodget_rng_state
(self, device_index=None)
deepspeed/accelerator/cuda_accelerator.py:62
Methodget_rng_state
(self, device_index=None)
deepspeed/accelerator/abstract_accelerator.py:59
Methodget_sbh
(self, hidden_stats)
deepspeed/runtime/data_pipeline/data_routing/basic_layer.py:63
Functionget_sequence_data_parallel_rank
Return my rank for the sequence data parallel group.
DeepSpeedExample/megatron/core/parallel_state.py:535
Functionget_sequence_data_parallel_world_size
Return world size for the sequence parallel group.
DeepSpeedExample/megatron/core/parallel_state.py:455
Methodget_single_submit
deepspeed/ops/csrc/aio/py_lib/deepspeed_py_aio_handle.cpp:57
Functionget_sparse_attention_type
(param_dict)
deepspeed/runtime/config.py:431
Methodget_sparse_tensor_module_names
(original_set, loaded_set, original_parameters, loaded_parameters)
deepspeed/runtime/engine.py:2707
Methodget_src_world_size
(self)
deepspeed/checkpoint/zero_checkpoint.py:32
Methodget_state
(self)
deepspeed/runtime/data_pipeline/curriculum_scheduler.py:116
Methodget_swap_path
(self, offset)
deepspeed/runtime/swap_tensor/utils.py:92
Methodget_swap_tensor
(self, offset)
deepspeed/runtime/swap_tensor/utils.py:86
Functionget_tasks_args
Provide extra arguments required for tasks.
DeepSpeedExample/tasks/main.py:27
Methodget_thread_count
deepspeed/ops/csrc/aio/py_lib/deepspeed_py_aio_handle.cpp:61
Methodget_timers
(self)
deepspeed/utils/timer.py:113
Methodget_total_layer_tokens
(self, train_iters)
deepspeed/runtime/data_pipeline/data_routing/scheduler.py:55
Methodget_transformer_state
(self, tp_index: int, pp_index: int)
deepspeed/checkpoint/deepspeed_checkpoint.py:172
Methodget_type
(self)
deepspeed/runtime/engine.py:2204
Functionget_workspace_size
deepspeed/ops/csrc/transformer/ds_transformer_cuda.cpp:27
Methodget_workspace_size
deepspeed/ops/csrc/transformer/inference/includes/inference_context.h:182
Functionget_world_group
()
deepspeed/comm/comm.py:495
Functionget_world_rank_from_launcher
()
deepspeed/comm/utils.py:26
Functionget_world_size
deepspeed/ops/csrc/cpu/comm/ccl.cpp:66
Functionget_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
Functionget_world_size_from_launcher
()
deepspeed/comm/utils.py:41
Methodget_wrapped_fn_to_apply
(fn_to_apply: Callable)
deepspeed/runtime/zero/partition_parameters.py:315
Methodget_zero_checkpoint_state
(self, pp_index, tp_index, dp_index)
deepspeed/checkpoint/deepspeed_checkpoint.py:112
Functionget_zero_ckpt_name_for_rank
(base_folder, dp_rank, mp_rank)
deepspeed/checkpoint/utils.py:19
Methodget_zero_files
(self, pp_index, tp_index, dp_index)
deepspeed/checkpoint/deepspeed_checkpoint.py:118
Methodglu
(x)
DeepSpeedExample/megatron/core/transformer/mlp.py:50
Functiongpt2_attention_mask_func
(attention_scores, ltor_mask)
DeepSpeedExample/megatron/model/gpt2_model.py:31
Functiongpt_sample_tokens
(reserved_length: int, seq_length: int, batch_size: int,
deepspeed/ops/random_ltd/dropping_utils.py:18
Functionhalf_conversion
(val)
DeepSpeedExample/megatron/core/transformer/module.py:51
Functionhalf_conversion
(val)
DeepSpeedExample/megatron/model/module.py:130
Functionhalf_conversion
(val)
DeepSpeedExample/megatron/fp16/fp16.py:46
Functionhas_all_gather_into_tensor
()
deepspeed/comm/comm.py:300
Functionhas_all_reduce_coalesced
()
deepspeed/comm/comm.py:442
Functionhas_coalescing_manager
()
deepspeed/comm/comm.py:451
Methodhas_next
(self)
deepspeed/autotuning/tuner/model_based_tuner.py:116
Methodhas_overflow
(self, params)
DeepSpeedExample/megatron/fp16/loss_scaler.py:127
Methodhas_overflow_partitioned_grads_serial
(self)
deepspeed/runtime/zero/stage3.py:2050
Methodhas_overflow_serial
(self, params)
deepspeed/runtime/fp16/loss_scaler.py:141
Functionhas_reduce_scatter_tensor
()
deepspeed/comm/comm.py:231
Methodhipify_extension
(self)
deepspeed/ops/op_builder/builder.py:128
Methodhipify_extension
(self)
deepspeed/ops/op_builder/builder.py:642
Functionhook
(module, input)
deepspeed/compression/helper.py:290
Methodids_list
(group)
deepspeed/runtime/engine.py:1093
Methodinclude_paths
(self)
deepspeed/ops/op_builder/random_ltd.py:32
Methodinclude_paths
(self)
deepspeed/ops/op_builder/async_io.py:31
Methodinclude_paths
(self)
deepspeed/ops/op_builder/quantizer.py:28
Methodinclude_paths
(self)
deepspeed/ops/op_builder/fused_lamb.py:24
Methodinclude_paths
(self)
deepspeed/ops/op_builder/spatial_inference.py:44
Methodinclude_paths
(self)
deepspeed/ops/op_builder/transformer.py:34
Methodinclude_paths
(self)
deepspeed/ops/op_builder/transformer_inference.py:73
Methodinclude_paths
(self)
deepspeed/ops/op_builder/fused_adam.py:24
Methodinclude_paths
(self)
deepspeed/ops/op_builder/cpu_adam.py:39
Methodinclude_paths
(self)
deepspeed/ops/op_builder/cpu_adagrad.py:35
Methodincrement_value
(dictionary, key)
deepspeed/runtime/zero/stage_1_and_2.py:753
Functionindex_to_feature
convert index form (single integer) to feature form (vector)
deepspeed/autotuning/tuner/utils.py:12
Functioninit
deepspeed/ops/csrc/includes/reduction_utils.h:295
Functioninit_
(tensor)
DeepSpeedExample/megatron/core/utils.py:158
Functioninit_
(tensor)
DeepSpeedExample/megatron/model/utils.py:27
Functioninit_checkpointed_activations_memory_buffer
Initializ the memory buffer for the checkpointed activations.
DeepSpeedExample/megatron/core/tensor_parallel/random.py:38
Functioninit_checkpointed_activations_memory_buffer
Initializ the memory buffer for the checkpointed activations.
DeepSpeedExample/megatron/mpu/random.py:44
Functioninit_compression
Compress a model: replace linear/conv2d layer with deepspeed compression-aware modules Args: model (`torch.nn.Module`) Th
deepspeed/compression/compress.py:100
Functioninit_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
Functioninit_process_groups
(grid)
deepspeed/runtime/pipe/p2p.py:31
Methodinitial_seed
(self, seed)
deepspeed/accelerator/npu_accelerator.py:70
Methodinitial_seed
(self, seed)
deepspeed/accelerator/cuda_accelerator.py:74
Methodinitial_seed
(self, seed)
deepspeed/accelerator/abstract_accelerator.py:71
Functioninitialize
hls_smartInfinity/src/kernel_cpp/adam_topk.cpp:29
Functioninitialize
hls_smartInfinity/src/kernel_cpp/adagrad_topk.cpp:29
Functioninitialize
hls_smartInfinity/src/kernel_cpp/sgd_topk.cpp:29
Functioninitialize
hls_smartInfinity/src/kernel_cpp/g16_adam_topk.cpp:29
Functioninitialize
Initialize the DeepSpeed Engine. Arguments: args: an object containing local_rank and deepspeed_config fields. This is option
deepspeed/__init__.py:58
Functioninitialize
deepspeed/ops/csrc/cpu/comm/ccl.cpp:29
Functioninitialize
Deprecated function. Retained to inform the users.
deepspeed/utils/groups.py:46
Methodinitialize_ds_offload
(self, module, timers, ds_config, overlap_comm, prefetch_bucket_size, max_reuse_distance,
deepspeed/runtime/zero/mics.py:399
Methodinitialize_from_swapped_fp16_params
(self, fp16_partitions_info, fp16_num_elems, fp16_pinned_buffers,
deepspeed/runtime/swap_tensor/partitioned_optimizer_swapper.py:56
Methodinitialize_gradient_partitioning_data_structures
(self)
deepspeed/runtime/zero/stage3.py:992
Functioninitialize_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
Functioninitialize_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
Methodinitialize_parameters
(self, parameters, src_tensors)
deepspeed/runtime/swap_tensor/partitioned_optimizer_swapper.py:53
Methodinitialize_tensors
(self)
deepspeed/module_inject/containers/base_moe.py:60
Methodinitialize_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
Methodinitialize_tensors
(self, enable_training=False)
deepspeed/module_inject/containers/features/meta_tensor.py:25
Methodinitialize_word_embeddings
(self, init_method_normal)
DeepSpeedExample/megatron/model/module.py:69
Methodinitializer
(self)
DeepSpeedExample/tools/preprocess_data.py:59
Functioninput
(msg)
deepspeed/runtime/zero/stage_1_and_2.py:39
Methodinsert_tensor
(self, tensor, swap_path, aligned_numel)
deepspeed/runtime/swap_tensor/utils.py:115
Methodinspect_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
Methodinv_vocab
Dictionary from vocab id token to text token.
DeepSpeedExample/megatron/tokenizer/tokenizer.py:89
Methodinv_vocab
(self)
DeepSpeedExample/megatron/tokenizer/tokenizer.py:151
Methodinv_vocab
(self)
DeepSpeedExample/megatron/tokenizer/tokenizer.py:209
Methodio_op_desc_t
deepspeed/ops/csrc/aio/py_lib/deepspeed_aio_thread.cpp:14
Methodio_prep_context
deepspeed/ops/csrc/aio/common/deepspeed_aio_utils.cpp:28
Methodio_prep_generator
deepspeed/ops/csrc/aio/common/deepspeed_aio_utils.cpp:57
← previousnext →4,101–4,200 of 4,989, ranked by callers