MCPcopy Create free account

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

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

↓ 1 callersMethodpopulate_all_inference_policies
(self)
deepspeed/runtime/hybrid_engine.py:114
↓ 1 callersMethodpost_backward
(self)
deepspeed/runtime/swap_tensor/optimizer_utils.py:212
↓ 1 callersMethodpost_process
(self, value_list)
deepspeed/runtime/eigenvalue.py:147
↓ 1 callersMethodpost_sub_module_forward_function
(self, sub_module)
deepspeed/runtime/zero/parameter_offload.py:488
↓ 1 callersFunctionpostprocess_predictions
(all_predictions, all_labels, args)
DeepSpeedExample/tasks/ensemble_classifier.py:79
↓ 1 callersMethodpre_backward
(self)
deepspeed/runtime/swap_tensor/optimizer_utils.py:209
↓ 1 callersMethodpre_sub_module_backward_function
(self, sub_module)
deepspeed/runtime/zero/parameter_offload.py:499
↓ 1 callersMethodpre_sub_module_forward_function
(self, sub_module)
deepspeed/runtime/zero/parameter_offload.py:473
↓ 1 callersMethodpredict
(self, xs)
deepspeed/autotuning/tuner/cost_model.py:62
↓ 1 callersMethodprefetch
(self, indices)
DeepSpeedExample/megatron/data/indexed_dataset.py:222
↓ 1 callersFunctionprefix_check
()
deepspeed/module_inject/load_checkpoint.py:31
↓ 1 callersFunctionprefix_sum_inc
Compute an inclusive prefix sum. Example: >>> prefix_sum_inc([3,4,5]) [3, 7, 12]
deepspeed/runtime/utils.py:528
↓ 1 callersFunctionprep_command_tokens
(tokenlist, token_format=token_format)
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:146
↓ 1 callersFunctionprep_type_tokens
(tokenlist, token_format=token_format)
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:177
↓ 1 callersMethodprint
(self, name)
deepspeed/runtime/config.py:959
↓ 1 callersFunctionprint_configuration
(args, name)
deepspeed/utils/logging.py:68
↓ 1 callersFunctionprint_device_info
deepspeed/ops/csrc/adam/opencl/adam/vadd.cpp:254
↓ 1 callersMethodprint_forward_breakdown
(self, fwd_time)
deepspeed/runtime/engine.py:1779
↓ 1 callersFunctionprint_help
deepspeed/ops/csrc/adam/opencl/adam/main.cpp:12
↓ 1 callersMethodprint_model_aggregated_profile
Prints the names of the top top_modules modules in terms of aggregated time, flops, and parameters at depth module_depth. Args: m
deepspeed/profiling/flops_profiler/profiler.py:378
↓ 1 callersFunctionprint_platform_info
deepspeed/ops/csrc/adam/opencl/adam/vadd.cpp:235
↓ 1 callersMethodprint_tuning_results
Print the autotuning results in tabular format.
deepspeed/autotuning/autotuner.py:108
↓ 1 callersMethodprint_user_config
(self)
deepspeed/runtime/config.py:949
↓ 1 callersFunctionprocess_batch
Process batch and produce inputs for the model.
DeepSpeedExample/tasks/zeroshot_gpt2/evaluate.py:58
↓ 1 callersFunctionprocess_files
(args)
DeepSpeedExample/tasks/ensemble_classifier.py:9
↓ 1 callersMethodprocess_samples_from_single_path
Abstract method that takes a single path / filename and returns a list of dataset samples, each sample being a dict of {'text_a':
DeepSpeedExample/tasks/glue/data.py:64
↓ 1 callersFunctionprocess_single_datapath
Read in RACE files, combine, clean-up, tokenize, and convert to samples.
DeepSpeedExample/tasks/race/data.py:49
↓ 1 callersFunctionprune_config
Prunes the input configurations Args: configs (dict): A configuration dictionary. ignored_keys (list, optional): the keys of the
deepspeed/autotuning/utils.py:228
↓ 1 callersFunctionprune_configs
Prunes the input list of configurations Args: configs (list): A list of configuration dictionaries. ignored_keys (list, optional
deepspeed/autotuning/utils.py:252
↓ 1 callersMethodquantize_binary
(self, inputs)
deepspeed/runtime/quantize.py:115
↓ 1 callersFunctionquantize_fn
(child)
deepspeed/module_inject/module_quantize.py:45
↓ 1 callersMethodquantize_highbit
(self, inputs, num_bits)
deepspeed/runtime/quantize.py:78
↓ 1 callersFunctionquantize_module
(model, orig_class, quantize_fn)
deepspeed/module_inject/module_quantize.py:58
↓ 1 callersMethodquantize_tenary
(self, inputs)
deepspeed/runtime/quantize.py:102
↓ 1 callersMethodquantize_training
(self)
deepspeed/runtime/engine.py:653
↓ 1 callersMethodrandom_ltd_initialize
(self)
deepspeed/runtime/engine.py:547
↓ 1 callersMethodrange_pop
(self)
deepspeed/accelerator/cpu_accelerator.py:168
↓ 1 callersMethodrange_push
(self, msg)
deepspeed/accelerator/cpu_accelerator.py:163
↓ 1 callersMethodread_index
(self, path)
DeepSpeedExample/megatron/data/indexed_dataset.py:137
↓ 1 callersMethodread_index
(self, path)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:148
↓ 1 callersMethodread_unswapped_gradients
(self, dest_buffer)
deepspeed/runtime/swap_tensor/optimizer_utils.py:124
↓ 1 callersFunctionread_zero_config_deprecated
(param_dict)
deepspeed/runtime/zero/config.py:46
↓ 1 callersMethodreadable2byte
(self, raw)
setup/nvme_speed_test.py:61
↓ 1 callersMethodrecord_parameters
adds sub module to trace
deepspeed/runtime/zero/partitioned_param_coordinator.py:167
↓ 1 callersFunctionrecurse
(cl)
deepspeed/runtime/zero/partition_parameters.py:255
↓ 1 callersFunctionrecursively_lint_files
Recursively lint all python files in chosen subdirectories of megatron-lm
DeepSpeedExample/tools/linter.py:7
↓ 1 callersFunctionrecv_backward
(tensor_shapes, config)
DeepSpeedExample/megatron/core/pipeline_parallel/schedules.py:930
↓ 1 callersFunctionreduce_from_model_parallel_region
(input_)
deepspeed/compression/basic_layer.py:755
↓ 1 callersMethodreduce_gradients
(self, pipeline_parallel=False)
deepspeed/runtime/zero/stage_1_and_2.py:631
↓ 1 callersMethodreduce_independent_p_g_buckets_and_remove_grads
(self, param, i)
deepspeed/runtime/zero/stage3.py:1095
↓ 1 callersMethodreduce_independent_p_g_buckets_and_remove_grads
(self, param, i)
deepspeed/runtime/zero/stage_1_and_2.py:833
↓ 1 callersMethodreduce_ready_partitions_and_remove_grads
(self, param, i)
deepspeed/runtime/zero/stage3.py:1334
↓ 1 callersFunctionreduce_scatter
(output, input_list, op=ReduceOp.SUM, group=None,
deepspeed/comm/comm.py:430
↓ 1 callersFunctionreduce_scatter_coalesced
simultaneously reduce-scatter a list of tensors - this can be done more efficiently than individual reduce scatter calls TODO. see if PyTorch
deepspeed/runtime/comm/coalesced_collectives.py:29
↓ 1 callersFunctionreduce_scatter_tensor
(output_tensor, tensor, op=ReduceOp.SUM,
deepspeed/comm/comm.py:272
↓ 1 callersMethodreduce_scatter_tensor
(self, output_tensor, input_tensor, op=ReduceOp.SUM, group=None, async_op=False)
deepspeed/comm/torch.py:158
↓ 1 callersFunctionreduce_scatter_to_sequence_parallel_region
(input_)
DeepSpeedExample/megatron/core/tensor_parallel/mappings.py:278
↓ 1 callersMethodrefresh_fp32_params
(self)
deepspeed/runtime/bf16_optimizer.py:362
↓ 1 callersFunctionregister_on_step_begin
Mount on_step_begin to the model. Args: model (`torch.nn.module`) The torch module object to be pruned.
deepspeed/compression/helper.py:283
↓ 1 callersFunctionregular_read
deepspeed/ops/csrc/aio/common/deepspeed_aio_common.cpp:279
↓ 1 callersMethodrelease_and_reset_all
release all module parameters
deepspeed/runtime/zero/partitioned_param_coordinator.py:354
↓ 1 callersMethodrelease_buffers
(self)
deepspeed/runtime/swap_tensor/async_swapper.py:53
↓ 1 callersMethodrelease_memory
(self)
deepspeed/runtime/swap_tensor/optimizer_utils.py:88
↓ 1 callersMethodrelease_mlp
Release for MLP parameters (as well as any aliases).
deepspeed/module_inject/containers/features/hybrid_engine.py:119
↓ 1 callersMethodrelease_qkv
Release for QKV parameters (as well as any aliases).
deepspeed/module_inject/containers/features/hybrid_engine.py:108
↓ 1 callersMethodrelease_reserved_buffers
(self)
deepspeed/runtime/swap_tensor/partitioned_param_swapper.py:369
↓ 1 callersMethodrelease_unswapped_gradients
(self)
deepspeed/runtime/swap_tensor/optimizer_utils.py:133
↓ 1 callersFunctionremove_dupe_dicts
Removes duplicate dictionaries from a list. Uses list comprehension and the json library to sort and stringify each dictionary and the set data type
deepspeed/autotuning/utils.py:214
↓ 1 callersMethodremove_mask_prepare_for_bloom
(self)
deepspeed/inference/engine.py:232
↓ 1 callersFunctionreplace_transformer_layer
Replace bert-style transformer layers with DeepSpeed's transformer layer Arguments: orig_layer_impl (torch.nn.Module): the original trans
deepspeed/module_inject/replace_module.py:283
↓ 1 callersFunctionreplace_wo_policy
(module, all_reduce_linears, prefix="", state_dict=None)
deepspeed/module_inject/replace_module.py:367
↓ 1 callersFunctionreport_memory
Simple GPU memory report.
DeepSpeedExample/megatron/utils.py:41
↓ 1 callersMethodrepr
(self)
deepspeed/runtime/config_utils.py:174
↓ 1 callersFunctionreq_file
(filename)
DeepSpeedExample/setup.py:44
↓ 1 callersFunctionrequires_offset
deepspeed/ops/csrc/includes/quantization.h:20
↓ 1 callersMethodres_coef_func
(self, inp, async_op)
deepspeed/ops/transformer/inference/moe_inference.py:244
↓ 1 callersMethodreserve_available_buffers
(self)
deepspeed/runtime/swap_tensor/partitioned_param_swapper.py:358
↓ 1 callersMethodreserve_partitioned_swap_space
(self, partition_num_elems)
deepspeed/runtime/swap_tensor/partitioned_param_swapper.py:381
↓ 1 callersMethodreserve_slots
(self, slot_request: int)
deepspeed/autotuning/scheduler.py:267
↓ 1 callersMethodreset
Reset timer.
deepspeed/utils/timer.py:83
↓ 1 callersMethodreset
Set to the initial state (no tracker).
deepspeed/runtime/activation_checkpointing/checkpointing.py:136
↓ 1 callersMethodreset_cache
(cls)
deepspeed/model_implementations/transformers/ds_transformer.py:90
↓ 1 callersMethodreset_mlp
Perform any necessary resets of the model parameters for the MLP components.
deepspeed/module_inject/containers/features/hybrid_engine.py:147
↓ 1 callersMethodreset_parameters
(self)
DeepSpeedExample/megatron/core/fusions/fused_layer_norm.py:62
↓ 1 callersMethodreset_parameters
(self)
DeepSpeedExample/megatron/model/fused_layer_norm.py:95
↓ 1 callersMethodreset_parameters
(self)
deepspeed/runtime/zero/linear.py:163
↓ 1 callersMethodreset_params
The purpose of reset params is to get the weights from the FP16 training copy of the model and copy to them to contiguous inference v
deepspeed/module_inject/containers/features/hybrid_engine.py:132
↓ 1 callersMethodreset_partition_gradient_structures
(self)
deepspeed/runtime/zero/stage_1_and_2.py:735
↓ 1 callersMethodreset_profile
Resets the profiling. Adds or resets the extra attributes.
deepspeed/profiling/flops_profiler/profiler.py:154
↓ 1 callersMethodreset_qkv
Perform any necessary resets of the model parameters for the QKV components.
deepspeed/module_inject/containers/features/hybrid_engine.py:141
↓ 1 callersMethodreset_to_init
(self)
deepspeed/runtime/data_pipeline/data_routing/scheduler.py:60
↓ 1 callersMethodreshape
(self, target_3d_desc: model_3d_desc)
deepspeed/checkpoint/zero_checkpoint.py:91
↓ 1 callersMethodreshuffle_clusters
(self, cidx)
deepspeed/runtime/data_pipeline/data_sampling/data_sampler.py:234
↓ 1 callersMethodresource_request
(self, exp)
deepspeed/autotuning/scheduler.py:133
↓ 1 callersFunctionrewrite_optimizer_step
Mount on_before/after_optimizer_step to the optimizer. Args: model (`torch.opt.Optimizer`) The torch optimizer object to be ho
deepspeed/compression/helper.py:298
↓ 1 callersMethodrun
deepspeed/ops/csrc/aio/py_lib/deepspeed_aio_thread.cpp:48
↓ 1 callersMethodrun_after_tuning
Launches the training with the optimal DeepSpeed configuration found through the autotuning process. "ds_config_optimal.json" describing
deepspeed/autotuning/autotuner.py:1100
↓ 1 callersFunctionrun_autotuning
(args, active_resources)
deepspeed/launcher/runner.py:353
↓ 1 callersMethodrun_job
(self, exp: dict, reservations)
deepspeed/autotuning/scheduler.py:90
↓ 1 callersMethodrun_map_helper
(self, thread_id)
deepspeed/runtime/data_pipeline/data_sampling/data_analyzer.py:132
← previousnext →2,301–2,400 of 4,989, ranked by callers