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
↓ 1 callers
Method
get_min_max_micro_batch_size
(self, stage, min_micro_batch_size, calculated_max_micro_batch_size)
deepspeed/autotuning/autotuner.py:849
↓ 1 callers
Method
get_mlp_params
(self)
deepspeed/module_inject/containers/base.py:301
↓ 1 callers
Function
get_model_3d_descriptor
(dir)
deepspeed/checkpoint/reshape_3d_utils.py:73
↓ 1 callers
Function
get_model_info_config
(param_dict)
deepspeed/autotuning/config.py:88
↓ 1 callers
Function
get_model_provider
Based on evaluation metric set the parallel-output flag and return the model provider.
DeepSpeedExample/tasks/zeroshot_gpt2/evaluate.py:35
↓ 1 callers
Function
get_model_state_files
(checkpoint_dir)
deepspeed/utils/zero_to_fp32.py:91
↓ 1 callers
Method
get_module_list
(model)
deepspeed/module_inject/auto_tp.py:21
↓ 1 callers
Method
get_mom
Calculates the momentum at batch index. This function treats `self.last_batch_iteration` as the last batch index.
deepspeed/runtime/lr_schedules.py:583
↓ 1 callers
Method
get_mom
(self)
deepspeed/runtime/engine.py:2207
↓ 1 callers
Function
get_monitor_config
(param_dict)
deepspeed/monitor/config.py:10
↓ 1 callers
Function
get_msg_size_from_args
(func, *args, **kwargs)
deepspeed/comm/utils.py:97
↓ 1 callers
Function
get_name_by_keys
(config: dict, tuning_keys=None, omit_val=False)
deepspeed/autotuning/utils.py:342
↓ 1 callers
Method
get_new_cluster
(self, previous_difficulties)
deepspeed/runtime/data_pipeline/data_sampling/data_sampler.py:165
↓ 1 callers
Function
get_new_tensor_fn_for_dtype
(dtype: torch.dtype)
deepspeed/runtime/zero/partition_parameters.py:238
↓ 1 callers
Method
get_new_tensor_fn_for_dtype
(self, dtype: torch.dtype)
deepspeed/utils/init_on_device.py:54
↓ 1 callers
Method
get_next_global_batch
(self)
deepspeed/runtime/data_pipeline/data_sampling/data_sampler.py:258
↓ 1 callers
Method
get_num_elem
(self)
deepspeed/runtime/swap_tensor/utils.py:83
↓ 1 callers
Method
get_num_experts
(self)
deepspeed/module_inject/containers/megatron_gpt_moe.py:57
↓ 1 callers
Function
get_one_epoch_dataloader
Specifically one epoch to be used in an indexing job.
DeepSpeedExample/megatron/data/realm_dataset_utils.py:13
↓ 1 callers
Method
get_ops
(self, H, L)
deepspeed/ops/sparse_attention/sparse_self_attention.py:64
↓ 1 callers
Function
get_optim_files
(checkpoint_dir)
deepspeed/utils/zero_to_fp32.py:87
↓ 1 callers
Method
get_optim_state_keys
(self)
deepspeed/utils/tensor_fragment.py:44
↓ 1 callers
Function
get_optimizer
Set up the optimizer.
DeepSpeedExample/megatron/training.py:167
↓ 1 callers
Function
get_optimizer_legacy_fusion
(param_dict)
deepspeed/runtime/config.py:474
↓ 1 callers
Method
get_or_create_gradient_paths
(self, offsets, lengths)
deepspeed/runtime/swap_tensor/optimizer_utils.py:92
↓ 1 callers
Function
get_parallel_checkpoint_name
(path)
DeepSpeedExample/tools/merge_mp_partitions.py:131
↓ 1 callers
Function
get_params_for_weight_decay_optimization
Divide params into with-weight-decay and without-weight-decay groups. Layernorms and baises will have no weight decay but the rest will.
DeepSpeedExample/megatron/model/utils.py:64
↓ 1 callers
Function
get_parser
()
setup/nvme_speed_test.py:203
↓ 1 callers
Method
get_partition_info
(self, tensor_list, partition_size, partition_id)
deepspeed/runtime/zero/stage_1_and_2.py:1420
↓ 1 callers
Function
get_partition_size
(item)
deepspeed/runtime/activation_checkpointing/checkpointing.py:247
↓ 1 callers
Function
get_partition_start
(item)
deepspeed/runtime/activation_checkpointing/checkpointing.py:239
↓ 1 callers
Function
get_partitioned_activations_for_backward
(args, inputs, contiguous_checkpoint)
deepspeed/runtime/activation_checkpointing/checkpointing.py:421
↓ 1 callers
Method
get_path
(self, param, must_exist=False)
deepspeed/runtime/swap_tensor/partitioned_param_swapper.py:133
↓ 1 callers
Function
get_pipeline_config
Parses pipeline engine configuration.
deepspeed/runtime/config.py:438
↓ 1 callers
Function
get_pld_enabled
(param_dict)
deepspeed/runtime/config.py:120
↓ 1 callers
Function
get_pld_params
(param_dict)
deepspeed/runtime/config.py:127
↓ 1 callers
Function
get_pointers_with_total
Return a numpy array of type np.dtype giving the byte offsets. Multiplies values in the sizes array by elemsize (bytes), and then computes an
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:347
↓ 1 callers
Function
get_prescale_gradients
(param_dict)
deepspeed/runtime/config.py:251
↓ 1 callers
Function
get_quantize_enabled
(param_dict)
deepspeed/compression/config.py:56
↓ 1 callers
Method
get_query_key_value_tensors
This method needs to be implemented based on whether the derived class is "self-attn" or "cross-attn".
DeepSpeedExample/megatron/core/transformer/attention.py:90
↓ 1 callers
Function
get_random_ltd
(param_dict)
deepspeed/runtime/data_pipeline/config.py:142
↓ 1 callers
Function
get_random_ltd_params
(param_dict)
deepspeed/runtime/data_pipeline/config.py:162
↓ 1 callers
Function
get_rank
deepspeed/ops/csrc/cpu/comm/ccl.cpp:64
↓ 1 callers
Method
get_rank_repr
Return a string representation of a rank. This method is primarily used for checkpointing model data. For example: >>> t
deepspeed/runtime/pipe/topology.py:69
↓ 1 callers
Method
get_reduce_scatter_function
(self)
deepspeed/comm/torch.py:71
↓ 1 callers
Method
get_rotary_dim
(self)
deepspeed/module_inject/containers/base.py:143
↓ 1 callers
Function
get_row_pruning
(param_dict)
deepspeed/compression/config.py:289
↓ 1 callers
Function
get_row_pruning_different_groups
(param_dict)
deepspeed/compression/config.py:323
↓ 1 callers
Function
get_row_pruning_shared_parameters
(param_dict)
deepspeed/compression/config.py:304
↓ 1 callers
Method
get_sample_from_cluster
(self, cidx, num_samples)
deepspeed/runtime/data_pipeline/data_sampling/data_sampler.py:246
↓ 1 callers
Function
get_samples_mapping_
(indexed_dataset, data_prefix, num_epochs,
DeepSpeedExample/megatron/data/bert_dataset.py:87
↓ 1 callers
Function
get_scheduler_params
(param_dict)
deepspeed/runtime/config.py:496
↓ 1 callers
Function
get_sequence_parallel_src_rank
Calculate the global rank corresponding to the first local rank in the sequence parallel group.
DeepSpeedExample/megatron/core/parallel_state.py:658
↓ 1 callers
Function
get_sparse_attention
(param_dict)
deepspeed/runtime/config.py:275
↓ 1 callers
Function
get_sparse_attention_mode
(param_dict)
deepspeed/runtime/config.py:424
↓ 1 callers
Function
get_sparse_bigbird_config
(sparsity)
deepspeed/runtime/config.py:370
↓ 1 callers
Function
get_sparse_bslongformer_config
(sparsity)
deepspeed/runtime/config.py:395
↓ 1 callers
Function
get_sparse_dense_config
(sparsity)
deepspeed/runtime/config.py:297
↓ 1 callers
Function
get_sparse_fixed_config
(sparsity)
deepspeed/runtime/config.py:302
↓ 1 callers
Function
get_sparse_gradients_enabled
(param_dict)
deepspeed/runtime/config.py:232
↓ 1 callers
Function
get_sparse_pruning
(param_dict)
deepspeed/compression/config.py:216
↓ 1 callers
Function
get_sparse_pruning_different_groups
(param_dict)
deepspeed/compression/config.py:269
↓ 1 callers
Function
get_sparse_pruning_shared_parameters
(param_dict)
deepspeed/compression/config.py:232
↓ 1 callers
Function
get_sparse_variable_config
(sparsity)
deepspeed/runtime/config.py:335
↓ 1 callers
Function
get_split
Get dataset splits from comma separated string list
DeepSpeedExample/megatron/deprecated_data_utils/configure_data.py:210
↓ 1 callers
Method
get_split_state_dict
(self, mp_world_size, mp_rank)
deepspeed/runtime/state_dict_factory.py:126
↓ 1 callers
Function
get_splits
(lines, line_counts)
DeepSpeedExample/megatron/deprecated_data_utils/scripts/split_json.py:33
↓ 1 callers
Function
get_splits
(lines, line_counts)
DeepSpeedExample/megatron/deprecated_data_utils/scripts/split_gpt2_json.py:48
↓ 1 callers
Method
get_start_end_idx
(self)
deepspeed/runtime/data_pipeline/data_sampling/data_sampler.py:122
↓ 1 callers
Method
get_state
(self)
deepspeed/runtime/data_pipeline/data_routing/scheduler.py:79
↓ 1 callers
Method
get_state_for_rank
(self, pp_index, tp_index, dp_index, keys_to_ignore=[], strip_tensor_paddings=True)
deepspeed/checkpoint/zero_checkpoint.py:53
↓ 1 callers
Function
get_steps_per_print
(param_dict)
deepspeed/runtime/config.py:259
↓ 1 callers
Method
get_summary_writer
(self, base=os.path.join(os.path.expanduser("~"), "tensorboard"))
deepspeed/monitor/tensorboard.py:27
↓ 1 callers
Method
get_swap_gradient_buffers
(self, swap_buffer)
deepspeed/runtime/swap_tensor/optimizer_utils.py:114
↓ 1 callers
Method
get_swap_gradient_paths
(self)
deepspeed/runtime/swap_tensor/optimizer_utils.py:118
↓ 1 callers
Function
get_tensor_kwarg
(func, kwargs)
deepspeed/comm/utils.py:83
↓ 1 callers
Function
get_threshold
(all_predictions, all_labels, one_threshold=False)
DeepSpeedExample/tasks/ensemble_classifier.py:36
↓ 1 callers
Method
get_tied_weights_and_groups
(self)
deepspeed/runtime/pipe/module.py:412
↓ 1 callers
Method
get_timer_names
(self)
deepspeed/runtime/swap_tensor/async_swapper.py:50
↓ 1 callers
Method
get_tokens
(self, text)
DeepSpeedExample/tasks/zeroshot_gpt2/datasets.py:99
↓ 1 callers
Function
get_train_batch_size
(param_dict)
deepspeed/runtime/config.py:503
↓ 1 callers
Function
get_train_micro_batch_size_per_gpu
(param_dict)
deepspeed/runtime/config.py:507
↓ 1 callers
Function
get_transformer_name
(replaced_module)
deepspeed/module_inject/replace_module.py:128
↓ 1 callers
Method
get_tuning_micro_batch_size_list
Get a list of micro batch sizes to tune based on min and max values, as well as the size of the list. Args: min_micro_batch_size (
deepspeed/autotuning/autotuner.py:1008
↓ 1 callers
Method
get_type
get type token corresponding to `name`
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:275
↓ 1 callers
Method
get_unpinned_state_tensors
(self)
deepspeed/runtime/swap_tensor/optimizer_utils.py:121
↓ 1 callers
Function
get_user
()
deepspeed/autotuning/scheduler.py:302
↓ 1 callers
Function
get_val_by_key
(d: dict, k)
deepspeed/autotuning/utils.py:133
↓ 1 callers
Method
get_val_from_user_args
(self, ds_name)
deepspeed/autotuning/autotuner.py:997
↓ 1 callers
Function
get_valid_gpus
(batch_size, micro_batches, min_valid_gpus, max_valid_gpus)
deepspeed/elasticity/elasticity.py:41
↓ 1 callers
Method
get_value
(self, global_steps)
deepspeed/runtime/data_pipeline/data_routing/scheduler.py:31
↓ 1 callers
Function
get_wall_clock_breakdown
(param_dict)
deepspeed/runtime/config.py:515
↓ 1 callers
Function
get_weight_quantization
(param_dict)
deepspeed/compression/config.py:65
↓ 1 callers
Function
get_weight_quantization_different_groups
(param_dict)
deepspeed/compression/config.py:130
↓ 1 callers
Method
get_weighted_samples
(self, np_rng)
DeepSpeedExample/megatron/deprecated_data_utils/datasets.py:632
↓ 1 callers
Method
get_weighting
(self)
DeepSpeedExample/megatron/deprecated_data_utils/datasets.py:620
↓ 1 callers
Function
get_xil_devices
hls_smartInfinity/src/host/g16_host_step_adam.cpp:107
↓ 1 callers
Function
get_xil_devices
hls_smartInfinity/src/host/host_step_adam.cpp:107
↓ 1 callers
Function
get_xil_devices
hls_smartInfinity/src/host/host_step_adam_topk.cpp:113
↓ 1 callers
Function
get_xil_devices
hls_smartInfinity/src/host/host_step_sgd.cpp:104
← previous
next →
2,001–2,100 of 4,989, ranked by callers