MCPcopy Create free account

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

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

↓ 1 callersMethodrun_tuning_micro_batch_sizes
(self, tuning_micro_batch_sizes, max_train_batch_size_per_gpu, min_micro_
deepspeed/autotuning/autotuner.py:740
↓ 1 callersFunctions3_etag
Check ETag on S3 object.
DeepSpeedExample/megatron/deprecated_data_utils/file_utils.py:150
↓ 1 callersFunctions3_get
Pull a file directly from S3.
DeepSpeedExample/megatron/deprecated_data_utils/file_utils.py:159
↓ 1 callersMethodsample_from_clusters
(self)
deepspeed/runtime/data_pipeline/data_sampling/data_sampler.py:226
↓ 1 callersFunctionsample_sequence_batch
(model, context_tokens, context_lengths, attention_mask, position_ids,
DeepSpeedExample/megatron/text_generation_utils.py:325
↓ 1 callersMethodsanity_check
(self, ckpt_file_name)
deepspeed/runtime/state_dict_factory.py:403
↓ 1 callersMethodsave_16bit_model
Save 16bit model weights This method saves the 16bit model weights at the desired destination. Arguments: save_
deepspeed/runtime/engine.py:3320
↓ 1 callersMethodsave_checkpoint
Save training checkpoint Arguments: save_dir: Required. Directory for saving the checkpoint tag: Optional. Checkpoint
deepspeed/runtime/engine.py:2864
↓ 1 callersFunctionsave_ds_checkpoint
Save a model checkpoint.
DeepSpeedExample/megatron/checkpointing.py:92
↓ 1 callersMethodsave_json_stream
(self, save_path, json_stream)
DeepSpeedExample/megatron/deprecated_data_utils/datasets.py:438
↓ 1 callersMethodsave_shard
Save the block data that was created this in this process
DeepSpeedExample/megatron/data/realm_index.py:74
↓ 1 callersMethodsave_state_dict
(self, save_dir, checkpoint_engine)
deepspeed/runtime/pipe/module.py:547
↓ 1 callersMethodscale_expert_output
(self, attention_output, expert_output, combined_weights)
deepspeed/ops/transformer/inference/moe_inference.py:281
↓ 1 callersFunctionscale_tensors
(tensors: List[Tensor], scale: int)
deepspeed/runtime/zero/mics_utils.py:28
↓ 1 callersMethodscaled_global_norm
(self, norm_type=2)
deepspeed/runtime/zero/stage_1_and_2.py:1608
↓ 1 callersFunctionscaled_init_method_normal
Init method based on N(0, sigma/sqrt(2*num_layers).
DeepSpeedExample/megatron/core/utils.py:164
↓ 1 callersMethodscatter
(self, tensor, scatter_list=None, src=0, group=None, async_op=False)
deepspeed/comm/torch.py:204
↓ 1 callersFunctionscatter_to_model_parallel_region
(input_)
DeepSpeedExample/megatron/mpu/mappings.py:152
↓ 1 callersFunctionscatter_to_model_parallel_region
(input_)
deepspeed/compression/basic_layer.py:759
↓ 1 callersFunctionscatter_to_tensor_model_parallel_region
(input_)
DeepSpeedExample/megatron/core/tensor_parallel/mappings.py:262
↓ 1 callersMethodscheduler_params
(self)
deepspeed/runtime/engine.py:650
↓ 1 callersMethodsd_quantize_megatron
(self, sd, quantize_bits, groups)
deepspeed/runtime/weight_quantizer.py:98
↓ 1 callersFunctionsegment_blocks
deepspeed/ops/csrc/sparse_attention/utils.cpp:21
↓ 1 callersFunctionsend_backward_recv_forward
(input_tensor_grads, tensor_shapes, config)
DeepSpeedExample/megatron/core/pipeline_parallel/schedules.py:972
↓ 1 callersFunctionsend_forward_recv_backward
(output_tensors, tensor_shapes, config)
DeepSpeedExample/megatron/core/pipeline_parallel/schedules.py:958
↓ 1 callersMethodsequential_execution
(self, function, message, group=None)
deepspeed/runtime/zero/stage3.py:1383
↓ 1 callersMethodsequential_execution
(self, function, message, group=None)
deepspeed/runtime/zero/stage_1_and_2.py:1305
↓ 1 callersMethodset_attn_params_wo_copy
Narrower sub-method for finer grained overriding.
deepspeed/module_inject/containers/features/hybrid_engine.py:173
↓ 1 callersFunctionset_backend
()
deepspeed/comm/comm.py:194
↓ 1 callersFunctionset_checkpoint_version
(value)
DeepSpeedExample/megatron/checkpointing.py:32
↓ 1 callersMethodset_custom_get_difficulty
(self, schedule_function)
deepspeed/runtime/data_pipeline/curriculum_scheduler.py:113
↓ 1 callersMethodset_dataloader
(self, loader)
deepspeed/runtime/pipe/engine.py:540
↓ 1 callersMethodset_deepspeed_parallelism
(self)
deepspeed/moe/layer.py:82
↓ 1 callersMethodset_epoch
(self, epoch)
DeepSpeedExample/megatron/data/samplers.py:74
↓ 1 callersMethodset_global_layout
Sets global attention layout used by the given head in the sparse attention. Currently we set global blocks starting from the last block of a
deepspeed/ops/sparse_attention/sparsity_config.py:172
↓ 1 callersMethodset_global_layout
Sets global attention layout used by the given head in the sparse attention. Arguments: h: required: an integer determining head
deepspeed/ops/sparse_attention/sparsity_config.py:354
↓ 1 callersMethodset_global_layout
Sets global attention layout used by the given head in the sparse attention. Arguments: h: required: an integer determining head
deepspeed/ops/sparse_attention/sparsity_config.py:620
↓ 1 callersMethodset_global_layout_itc
Sets global attention layout used by the given head in the sparse attention. Arguments: h: required: an integer determining head
deepspeed/ops/sparse_attention/sparsity_config.py:497
↓ 1 callersFunctionset_global_variables
Set args, tokenizer, tensorboard-writer, adlr-autoresume, and timers.
DeepSpeedExample/megatron/global_vars.py:64
↓ 1 callersMethodset_grad_positions
(self)
deepspeed/runtime/zero/stage3.py:1189
↓ 1 callersMethodset_local_layout
Sets local attention layout used by the given head in the sparse attention. Arguments: h: required: an integer determining head
deepspeed/ops/sparse_attention/sparsity_config.py:153
↓ 1 callersMethodset_local_layout
Sets local attention layout used by the given head in the sparse attention. Arguments: h: required: an integer determining head i
deepspeed/ops/sparse_attention/sparsity_config.py:325
↓ 1 callersMethodset_mlp
(self, _h4h_w, _h4h_b, _4hh_w, _4hh_b)
deepspeed/module_inject/containers/base.py:183
↓ 1 callersMethodset_mlp
(self, config_moe_type)
deepspeed/module_inject/containers/base_moe.py:66
↓ 1 callersMethodset_mlp_gate
In `set_mlp_gate`, it is necessary to populate the following variables (where appropriate) for the given model: self.inte
deepspeed/module_inject/containers/features/gated_mlp.py:23
↓ 1 callersMethodset_mlp_params_wo_copy
Narrower sub-method for finer grained overriding.
deepspeed/module_inject/containers/features/hybrid_engine.py:182
↓ 1 callersFunctionset_model_parallel_rank
Set model parallel rank.
DeepSpeedExample/megatron/mpu/initialize.py:125
↓ 1 callersFunctionset_model_parallel_world_size
Set the model parallel size
DeepSpeedExample/megatron/mpu/initialize.py:111
↓ 1 callersMethodset_moe
(self, moe=False)
deepspeed/module_inject/containers/base.py:150
↓ 1 callersMethodset_norm_for_param_grad_in_gpu
(self, param)
deepspeed/runtime/zero/stage_1_and_2.py:1095
↓ 1 callersMethodset_params_wo_copy
Rather than copying into, set the parameters directly. This is necessary to provide an inexpensive (low-memory-overhead) view onto th
deepspeed/module_inject/containers/features/hybrid_engine.py:161
↓ 1 callersMethodset_q_k_v
In `set_q_k_v`, it is necessary to populate the following variables (where appropriate) for the given model: self.qw: q w
deepspeed/module_inject/containers/features/split_qkv.py:19
↓ 1 callersMethodset_quantization_config
(self, quantizer)
deepspeed/module_inject/containers/base.py:157
↓ 1 callersMethodset_random_layout
Sets random attention layout used by the given head in the sparse attention. Note) By default, it assumes there will be a unique random block
deepspeed/ops/sparse_attention/sparsity_config.py:303
↓ 1 callersMethodset_random_layout
Sets random attention layout used by the given head in the sparse attention. Note) By default, it assumes there will be a unique random block
deepspeed/ops/sparse_attention/sparsity_config.py:449
↓ 1 callersMethodset_sliding_window_layout
Sets sliding local attention layout used by the given head in the sparse attention. Arguments: h: required: an integer determini
deepspeed/ops/sparse_attention/sparsity_config.py:473
↓ 1 callersMethodset_sliding_window_layout
Sets sliding local attention layout used by the given head in the sparse attention. Arguments: h: required: an integer determini
deepspeed/ops/sparse_attention/sparsity_config.py:596
↓ 1 callersMethodset_sliding_window_layout
Sets sliding local attention layout used by the given head in the sparse attention. Arguments: h: required: an integer determinin
deepspeed/ops/sparse_attention/sparsity_config.py:693
↓ 1 callersMethodset_special_tokens
Add a list of additional tokens to the encoder. The additional tokens are indexed starting from the last index of the current
DeepSpeedExample/megatron/deprecated_data_utils/tokenization_gpt2.py:179
↓ 1 callersMethodset_special_tokens
Add a list of additional tokens to the encoder. The additional tokens are indexed starting from the last index of the current
DeepSpeedExample/megatron/tokenizer/gpt2_tokenization.py:181
↓ 1 callersMethodset_state
(self, state)
deepspeed/runtime/data_pipeline/data_routing/scheduler.py:82
↓ 1 callersMethodset_swap_buffers
(self, buffers)
deepspeed/runtime/swap_tensor/optimizer_utils.py:108
↓ 1 callersFunctionsetup_deepspeed_random_and_activation_checkpointing
Optional DeepSpeed Activation Checkpointing features. Gives access to partition activations, contiguous memory optimizations and cpu checkpoin
DeepSpeedExample/megatron/initialize.py:91
↓ 1 callersMethodsetup_log_dir
(self, base=os.path.join(os.path.expanduser("~"), "csv_monitor"))
deepspeed/monitor/csv_monitor.py:22
↓ 1 callersMethodsetup_zero_stage3_hooks
(self)
deepspeed/runtime/zero/parameter_offload.py:321
↓ 1 callersFunctionsgd
hls_smartInfinity/src/kernel_cpp/sgd.cpp:26
↓ 1 callersFunctionsgd
hls_smartInfinity/src/kernel_cpp/sgd_topk.cpp:89
↓ 1 callersFunctionsgd_CPU
hls_smartInfinity/src/host/host_step_sgd.cpp:128
↓ 1 callersFunctionsgd_CPU
hls_smartInfinity/src/host/host_step_sgd_topk.cpp:133
↓ 1 callersFunctionsgd_fpga
hls_smartInfinity/src/host/host_step_sgd.cpp:163
↓ 1 callersFunctionsgd_fpga
hls_smartInfinity/src/host/host_step_sgd_topk.cpp:173
↓ 1 callersFunctionshould_split
given split proportions checks if should split Examples: >>> should_split([10,0,0]) False >>> should_split([1,.1,.2]) True
DeepSpeedExample/megatron/deprecated_data_utils/__init__.py:32
↓ 1 callersFunctionsigkill_handler
(signum, frame)
deepspeed/launcher/launch.py:312
↓ 1 callersFunctionsingle_dataset_provider
(datapath)
DeepSpeedExample/tasks/race/finetune.py:53
↓ 1 callersFunctionskip_level_0_prefix
(model, name)
deepspeed/module_inject/replace_module.py:797
↓ 1 callersMethodsources
(self)
deepspeed/ops/op_builder/cpu/comm.py:21
↓ 1 callersMethodsparse_allreduce
(self, sparse, dp_group)
deepspeed/runtime/engine.py:2350
↓ 1 callersMethodsparse_allreduce_bucket
(self, bucket, dp_group)
deepspeed/runtime/engine.py:2344
↓ 1 callersMethodsparse_gradients_enabled
(self)
deepspeed/runtime/engine.py:629
↓ 1 callersMethodsparse_size
(self)
deepspeed/runtime/sparse_tensor.py:46
↓ 1 callersMethodsparse_softmax
(*args, **kwargs)
deepspeed/ops/sparse_attention/softmax.py:233
↓ 1 callersFunctionsplit_dataset
(dataset, num_workers, worker_id, num_threads)
deepspeed/runtime/data_pipeline/data_sampling/utils.py:41
↓ 1 callersFunctionsplit_ds
Split a dataset into subsets given proportions of how much to allocate per split. If a split is 0% returns None for that split. Purpose:
DeepSpeedExample/megatron/deprecated_data_utils/datasets.py:172
↓ 1 callersFunctionsplit_half_float_double
(tensors)
deepspeed/runtime/zero/stage_1_and_2.py:43
↓ 1 callersFunctionsplit_into_partitions
(tensor, num_partitions, partition_dim, stride)
DeepSpeedExample/tools/merge_mp_partitions.py:33
↓ 1 callersMethodsplit_query_key_value
Up to now we found 3 Q/K/V parameter formats in different Megatron checkpoint versions: 1. version 0, there is no version informatio
deepspeed/runtime/state_dict_factory.py:258
↓ 1 callersMethodsplit_state_dict
(self, mp_world_size, mp_rank, quantize, quantize_bits, groups, mlp_extra_grouping)
deepspeed/runtime/state_dict_factory.py:182
↓ 1 callersFunctionsplit_strings
Split strings based on string lengths and given start.
DeepSpeedExample/megatron/deprecated_data_utils/lazy_loader.py:74
↓ 1 callersFunctionsplit_tensor_along_last_dim
Split a tensor along its last dimension. Arguments: tensor: input tensor. num_partitions: number of partitions to sp
DeepSpeedExample/megatron/core/tensor_parallel/utils.py:10
↓ 1 callersFunctionsplit_tensor_along_last_dim
Split a tensor along its last dimension. Arguments: tensor: input tensor. num_partitions: number of partitions to split the tensor
DeepSpeedExample/megatron/mpu/utils.py:33
↓ 1 callersFunctionsplit_tensor_along_last_dim
Split a tensor along its last dimension. Adapted from Megatron-LM. Arguments: tensor: input tensor. partitions: list of partition
deepspeed/runtime/zero/tiling.py:11
↓ 1 callersFunctionsplit_tensor_along_last_dim
Split a tensor along its last dimension. Arguments: tensor: input tensor. num_partitions: number of partitions to split the tensor
deepspeed/compression/basic_layer.py:634
↓ 1 callersFunctionsplit_tensor_into_1d_equal_chunks
Break a tensor into equal 1D chunks.
DeepSpeedExample/megatron/mpu/random.py:104
↓ 1 callersMethodstage_owner
(self, layer_idx)
deepspeed/runtime/pipe/module.py:481
↓ 1 callersMethodstart
Start the timer.
deepspeed/utils/timer.py:49
↓ 1 callersMethodstate_dict
Returns a dict containing the current state of this :class:`FP16_Optimizer` instance. This dict contains attributes of :class:`FP16_O
deepspeed/runtime/zero/stage3.py:2311
↓ 1 callersMethodstate_dict
(self)
deepspeed/runtime/data_pipeline/data_routing/scheduler.py:93
↓ 1 callersMethodstate_dict
Returns a dict containing the current state of this :class:`FP16_Optimizer` instance. This dict contains attributes of :class:`FP16_O
deepspeed/runtime/fp16/fused_optimizer.py:398
↓ 1 callersMethodstatus
(self)
deepspeed/autotuning/scheduler.py:153
↓ 1 callersMethodstep
(self, closure=None)
deepspeed/runtime/bf16_optimizer.py:235
← previousnext →2,401–2,500 of 4,989, ranked by callers