MCPcopy Create free account

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

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

↓ 1 callersMethod_get_new_tensor
(self, address, size)
deepspeed/runtime/zero/contiguous_memory_allocator.py:256
↓ 1 callersMethod_get_new_tensor_address
(self, size)
deepspeed/runtime/zero/contiguous_memory_allocator.py:246
↓ 1 callersMethod_get_non_moe_state_dict
Get the state dict of the non-moe layers
deepspeed/runtime/engine.py:2932
↓ 1 callersMethod_get_norm_with_moe_layers
(self, all_groups_norm)
deepspeed/runtime/fp16/fused_optimizer.py:311
↓ 1 callersMethod_get_offload_gradient_dict
(self)
deepspeed/runtime/zero/stage_1_and_2.py:1027
↓ 1 callersFunction_get_padded_tensor
(src_tensor, size)
deepspeed/runtime/bf16_optimizer.py:419
↓ 1 callersMethod_get_param_group_states
(self, sd)
deepspeed/checkpoint/zero_checkpoint.py:125
↓ 1 callersMethod_get_pointers
(sizes)
DeepSpeedExample/megatron/data/indexed_dataset.py:352
↓ 1 callersMethod_get_pointers
Return a numpy array of byte offsets given a list of sizes. Multiplies values in the sizes array by dtype size (bytes),
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:389
↓ 1 callersMethod_get_resource_manager
Initialize and return a resource manager Args: active_resources ([dict]): A dictionary of hostname and its slots (GPUs), e.g. {"w
deepspeed/autotuning/autotuner.py:188
↓ 1 callersMethod_get_shared_params
Returns a dict of shared params, which can later be used to reconstruct the original state dict, e.g. in `zero_to_fp32`. Each dict en
deepspeed/runtime/engine.py:3199
↓ 1 callersMethod_get_state_tensors
(self, parameter)
deepspeed/runtime/swap_tensor/optimizer_utils.py:626
↓ 1 callersMethod_get_state_without_padding
(self, state_with_padding, padding)
deepspeed/runtime/zero/stage_1_and_2.py:1952
↓ 1 callersMethod_get_sub_group_partitions
(self, sub_group_id)
deepspeed/runtime/zero/stage3.py:707
↓ 1 callersMethod_get_swap_buffers
(self, params)
deepspeed/runtime/swap_tensor/partitioned_param_swapper.py:152
↓ 1 callersMethod_get_user_config
Get DeepSpeed configuration from the user arguments passed to the launcher. Args: user_args ([list]): user arguments passed to th
deepspeed/autotuning/autotuner.py:158
↓ 1 callersMethod_get_zero_ckpt_name
(self, checkpoints_path, tag)
deepspeed/runtime/engine.py:2503
↓ 1 callersMethod_get_zero_ckpt_prefix
(self, dp_rank, bf16_mode)
deepspeed/runtime/engine.py:2491
↓ 1 callersMethod_get_zero_param_shapes
Returns a dict of name to shape mapping, only for the flattened fp32 weights saved by the optimizer. the names are exactly as in state_dict. T
deepspeed/runtime/engine.py:3157
↓ 1 callersMethod_has_inf_or_nan
(x)
DeepSpeedExample/megatron/fp16/loss_scaler.py:53
↓ 1 callersMethod_has_inf_or_nan
(x, i)
deepspeed/runtime/utils.py:267
↓ 1 callersMethod_has_inf_or_nan
(x)
deepspeed/runtime/fp16/loss_scaler.py:149
↓ 1 callersMethod_hierarchical_all_gather_params
(self, params, params_buffers=None)
deepspeed/runtime/zero/mics.py:226
↓ 1 callersMethod_index_tied_modules
Build communication structures for tied modules.
deepspeed/runtime/pipe/module.py:427
↓ 1 callersFunction_init_autoresume
Set autoresume start time.
DeepSpeedExample/megatron/initialize.py:172
↓ 1 callersFunction_init_lp_to_hp_mapping
(lp_param_list, partition_start, partition_size, dp_group)
deepspeed/utils/mixed_precision_linkage.py:20
↓ 1 callersMethod_init_quantization_setting
(self, quantization_setting)
deepspeed/inference/engine.py:299
↓ 1 callersMethod_init_timer
(self)
deepspeed/utils/timer.py:188
↓ 1 callersMethod_initialize
(self, autotuning_dict)
deepspeed/autotuning/config.py:33
↓ 1 callersMethod_initialize
(self, flops_profiler_dict)
deepspeed/profiling/config.py:28
↓ 1 callersMethod_initialize
(self, nebula_dict)
deepspeed/nebula/config.py:28
↓ 1 callersMethod_initialize
(self, act_chkpt_config_dict)
deepspeed/runtime/activation_checkpointing/config.py:76
↓ 1 callersMethod_initialize_cycle
(self, cycle_first_step_size, cycle_second_step_size, cycle_first_stair_count, cycle
deepspeed/runtime/lr_schedules.py:466
↓ 1 callersFunction_initialize_distributed
Initialize torch.distributed and mpu.
DeepSpeedExample/megatron/initialize.py:124
↓ 1 callersMethod_initialize_lr
(self, optimizer, cycle_min_lr, cycle_max_lr, decay_lr_rate, last_batch_iteration)
deepspeed/runtime/lr_schedules.py:486
↓ 1 callersFunction_initialize_mem_buffs
Initialize manually allocated static memory.
DeepSpeedExample/megatron/initialize.py:202
↓ 1 callersMethod_initialize_momentum
(self, optimizer, cycle_min_mom, cycle_max_mom, decay_mom_rate, last_batch_iteration)
deepspeed/runtime/lr_schedules.py:499
↓ 1 callersMethod_initialize_params
(self, param_dict)
deepspeed/runtime/config.py:772
↓ 1 callersFunction_inject_parameters
(module, cls)
deepspeed/runtime/zero/parameter_offload.py:141
↓ 1 callersMethod_io_aligned_numel
(self, numel, optimizer_swapper)
deepspeed/ops/adam/cpu_adam.py:221
↓ 1 callersMethod_io_aligned_numel
(self, numel)
deepspeed/runtime/swap_tensor/async_swapper.py:101
↓ 1 callersMethod_is_checkpointable
(self, funcs)
deepspeed/runtime/pipe/module.py:607
↓ 1 callersMethod_is_chinese_char
Checks whether CP is the codepoint of a CJK character.
DeepSpeedExample/megatron/deprecated_data_utils/wordpiece.py:258
↓ 1 callersMethod_is_chinese_char
Checks whether CP is the codepoint of a CJK character.
DeepSpeedExample/megatron/tokenizer/bert_tokenization.py:267
↓ 1 callersFunction_is_control
Checks whether `chars` is a control character.
DeepSpeedExample/megatron/deprecated_data_utils/wordpiece.py:366
↓ 1 callersFunction_is_control
Checks whether `chars` is a control character.
DeepSpeedExample/megatron/tokenizer/bert_tokenization.py:377
↓ 1 callersMethod_is_grid_valid
(self)
deepspeed/runtime/pipe/topology.py:390
↓ 1 callersMethod_is_io_aligned
(self, numel)
deepspeed/runtime/swap_tensor/partitioned_param_swapper.py:378
↓ 1 callersFunction_is_punctuation
Checks whether `chars` is a punctuation character.
DeepSpeedExample/megatron/deprecated_data_utils/wordpiece.py:378
↓ 1 callersFunction_is_punctuation
Checks whether `chars` is a punctuation character.
DeepSpeedExample/megatron/tokenizer/bert_tokenization.py:389
↓ 1 callersMethod_is_supported_optimizer
(self, optimizer_name)
deepspeed/runtime/engine.py:961
↓ 1 callersFunction_is_whitespace
Checks whether `chars` is a whitespace character.
DeepSpeedExample/megatron/deprecated_data_utils/wordpiece.py:354
↓ 1 callersFunction_is_whitespace
Checks whether `chars` is a whitespace character.
DeepSpeedExample/megatron/tokenizer/bert_tokenization.py:365
↓ 1 callersMethod_link_all_hp_params
(self)
deepspeed/runtime/zero/stage3.py:436
↓ 1 callersMethod_load_checkpoint
(self, load_dir, tag, load_module_s
deepspeed/runtime/engine.py:2630
↓ 1 callersMethod_load_hp_checkpoint_state
(self, checkpoint_dir)
deepspeed/runtime/bf16_optimizer.py:406
↓ 1 callersMethod_load_hp_checkpoint_state
(self, checkpoint_dir)
deepspeed/runtime/zero/stage_1_and_2.py:2115
↓ 1 callersMethod_load_legacy_checkpoint
(self, state_dict_list, load_optimizer_states=True, load_from_fp32_weights=False)
deepspeed/runtime/bf16_optimizer.py:375
↓ 1 callersMethod_load_legacy_checkpoint
r"""Loading ZeRO checkpoint Arguments: state_dict_list: List of all saved ZeRO checkpoints, one for each saved partition.
deepspeed/runtime/zero/stage_1_and_2.py:2127
↓ 1 callersMethod_load_universal_checkpoint
(self, checkpoint_folder, load_optimizer_states, load_from_fp32_weights)
deepspeed/runtime/bf16_optimizer.py:398
↓ 1 callersMethod_load_universal_checkpoint
(self, checkpoint_folder, load_optimizer_states, load_from_fp32_weights)
deepspeed/runtime/zero/stage_1_and_2.py:2107
↓ 1 callersMethod_load_zero_checkpoint
(self, load_dir, tag, load_optimizer_states=True)
deepspeed/runtime/engine.py:2757
↓ 1 callersMethod_local_cuda_graph_used
(self, module)
deepspeed/inference/engine.py:579
↓ 1 callersMethod_make_swap_space
(self, numel)
deepspeed/runtime/swap_tensor/async_swapper.py:89
↓ 1 callersMethod_merge_inter_w
(self)
deepspeed/ops/transformer/inference/ds_mlp.py:81
↓ 1 callersMethod_merge_qkv
(self)
deepspeed/ops/transformer/inference/ds_attention.py:113
↓ 1 callersMethod_model_grads_to_master_grads
(self)
DeepSpeedExample/megatron/fp16/fp16.py:318
↓ 1 callersMethod_model_params_to_master_params
(self)
DeepSpeedExample/megatron/fp16/fp16.py:311
↓ 1 callersFunction_module_match
(module)
deepspeed/module_inject/replace_module.py:179
↓ 1 callersMethod_module_match
(self, module)
deepspeed/inference/engine.py:572
↓ 1 callersMethod_move_to_flat_buffer
If flat buffer is None then the parameters in the param_list are not copied to the flat buffer. This is because they exceed the number of max_
deepspeed/runtime/zero/stage3.py:532
↓ 1 callersMethod_multiple_optimizer_step_with_fpga
(self, sub_group_id, sub_group_chunk_size, combined_unscale, largest_numel)
deepspeed/runtime/zero/stage3.py:842
↓ 1 callersMethod_next_batch
(self)
deepspeed/runtime/pipe/engine.py:588
↓ 1 callersFunction_num_epochs
Based on number of samples and sequence lenght, calculate how many epochs will be needed.
DeepSpeedExample/megatron/data/gpt2_dataset.py:235
↓ 1 callersFunction_num_tokens
Total number of tokens in the dataset.
DeepSpeedExample/megatron/data/gpt2_dataset.py:230
↓ 1 callersMethod_odd_step_backward_id
(self, step_id)
deepspeed/runtime/pipe/schedule.py:295
↓ 1 callersMethod_odd_step_forward_id
(self, step_id)
deepspeed/runtime/pipe/schedule.py:285
↓ 1 callersMethod_overflow_clean_up
(self, prev_scale)
deepspeed/runtime/zero/stage3.py:1800
↓ 1 callersFunction_parse_hostfile
(hostfile_lines)
deepspeed/launcher/runner.py:207
↓ 1 callersFunction_parse_version
Parse a version string and extract the major, minor, and patch versions.
deepspeed/__init__.py:42
↓ 1 callersMethod_partition
(self, param_list, force=False, has_been_updated=False)
deepspeed/runtime/zero/partition_parameters.py:1087
↓ 1 callersMethod_partition_base_optimizer_state
(self, state_key, all_partition_states, group_id)
deepspeed/runtime/zero/stage_1_and_2.py:2044
↓ 1 callersMethod_partition_gradient
(self, param, partition_buffer=None, accumulate=False)
deepspeed/runtime/zero/partition_parameters.py:1453
↓ 1 callersMethod_partition_gradients
(self, param_list, partition_buffers=None, accumulate=False)
deepspeed/runtime/zero/partition_parameters.py:1446
↓ 1 callersMethod_partition_layers
(self, method='uniform')
deepspeed/runtime/pipe/module.py:353
↓ 1 callersMethod_partition_numel
(self, param)
deepspeed/runtime/zero/partition_parameters.py:1040
↓ 1 callersMethod_partition_param
(self, param, buffer=None, has_been_updated=False)
deepspeed/runtime/zero/partition_parameters.py:1100
↓ 1 callersMethod_partition_tensor
(self, tensor)
deepspeed/runtime/utils.py:660
↓ 1 callersFunction_patch_functionals
()
deepspeed/profiling/flops_profiler/profiler.py:759
↓ 1 callersFunction_patch_tensor_methods
()
deepspeed/profiling/flops_profiler/profiler.py:814
↓ 1 callersMethod_post_init_method
(self, module)
deepspeed/runtime/zero/partition_parameters.py:461
↓ 1 callersMethod_post_step
(self, timer_names=set())
deepspeed/runtime/zero/stage3.py:1827
↓ 1 callersMethod_pre_step
(self)
deepspeed/runtime/zero/stage3.py:1661
↓ 1 callersMethod_prepare_fp32_grad_for_sub_group
(self, sub_group_id)
deepspeed/runtime/zero/stage3.py:1683
↓ 1 callersFunction_prime_factors
Returns the prime factorization of positive integer N.
deepspeed/runtime/pipe/topology.py:217
↓ 1 callersMethod_print
(self, info)
setup/nvme_speed_test.py:168
↓ 1 callersFunction_print_args
Print arguments.
DeepSpeedExample/megatron/arguments.py:169
↓ 1 callersFunction_print_bwd_tensors
(grad_fn)
deepspeed/utils/debug.py:134
↓ 1 callersMethod_process_deprecated_field
(self, pydantic_config, field)
deepspeed/runtime/config_utils.py:59
↓ 1 callersFunction_rb_partition_balanced
(weights, num_parts, eps)
deepspeed/runtime/utils.py:587
← previousnext →1,401–1,500 of 4,989, ranked by callers