MCPcopy Create free account

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

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

↓ 1 callersMethodstep
(self)
deepspeed/runtime/quantize.py:75
↓ 1 callersMethodstep
Not supporting closure.
deepspeed/runtime/zero/stage3.py:1866
↓ 1 callersMethodstep_fused_adam
Not supporting closure.
deepspeed/runtime/fp16/fused_optimizer.py:143
↓ 1 callersMethodstep_fused_lamb
Not supporting closure.
deepspeed/runtime/fp16/unfused_optimizer.py:130
↓ 1 callersMethodsteps
Yield a list of :class:`PipeInstruction` for each step in the schedule. .. note:: Schedules must implement ``steps()`` to define
deepspeed/runtime/pipe/schedule.py:58
↓ 1 callersMethodstop
Stop the timer.
deepspeed/utils/timer.py:60
↓ 1 callersFunctionstudent_initialization
Given a student model and a teacher model, select the Args: student_model (`torch.nn.Module`) The model we will update we
deepspeed/compression/compress.py:192
↓ 1 callersMethodsupported
(model)
deepspeed/module_inject/auto_tp.py:34
↓ 1 callersMethodswap_in_optimizer_state
(self, parameter, async_parameter)
deepspeed/runtime/swap_tensor/pipelined_optimizer_swapper.py:97
↓ 1 callersMethodswap_into_buffer
(self, param, dest_buffer)
deepspeed/runtime/swap_tensor/partitioned_param_swapper.py:315
↓ 1 callersMethodswap_out_and_release
(self, params, async_op=False, force_buffer_release=False)
deepspeed/runtime/swap_tensor/partitioned_param_swapper.py:263
↓ 1 callersMethodswap_out_gradients
(self, parameter, gradient_offsets, gradient_tensors)
deepspeed/runtime/swap_tensor/pipelined_optimizer_swapper.py:149
↓ 1 callersMethodswap_out_optimizer_state
(self, parameter, async_swap)
deepspeed/runtime/swap_tensor/pipelined_optimizer_swapper.py:124
↓ 1 callersMethodswap_out_partitioned_params
(self, dst_fp16_params, src_fp32_params)
deepspeed/runtime/swap_tensor/partitioned_param_swapper.py:387
↓ 1 callersFunctionswitch
(val1, val2, boolean)
DeepSpeedExample/megatron/text_generation_utils.py:319
↓ 1 callersMethodsync_thread
(self)
deepspeed/ops/adam/cpu_adam.py:225
↓ 1 callersFunctionterminate_process_tree
(pid)
deepspeed/launcher/launch.py:118
↓ 1 callersFunctiontest1
()
deepspeed/runtime/zero/test.py:10
↓ 1 callersFunctiontest2
()
deepspeed/runtime/zero/test.py:44
↓ 1 callersFunctiontest_boradcast_data
(model_parallel_size)
DeepSpeedExample/megatron/mpu/tests/test_data.py:27
↓ 1 callersFunctiontest_column_parallel_linear
(model_parallel_size)
DeepSpeedExample/megatron/mpu/tests/test_layers.py:186
↓ 1 callersFunctiontest_cross_entropy
(model_parallel_size)
DeepSpeedExample/megatron/mpu/tests/test_cross_entropy.py:58
↓ 1 callersFunctiontest_cuda_rng_tracker
(model_parallel_size)
DeepSpeedExample/megatron/mpu/tests/test_random.py:86
↓ 1 callersFunctiontest_get_model_parallel_src_rank
(model_parallel_size_)
DeepSpeedExample/megatron/mpu/tests/test_initialize.py:62
↓ 1 callersFunctiontest_indexed_dataset_get
(args)
DeepSpeedExample/megatron/data/test/test_indexed_dataset.py:43
↓ 1 callersFunctiontest_initialize_affine_weight
(model_parallel_size)
DeepSpeedExample/megatron/mpu/tests/test_layers.py:107
↓ 1 callersFunctiontest_initialize_model_parallel
(model_parallel_size)
DeepSpeedExample/megatron/mpu/tests/test_initialize.py:24
↓ 1 callersFunctiontest_model_parallel_cuda_manual_seed
(model_parallel_size)
DeepSpeedExample/megatron/mpu/tests/test_random.py:157
↓ 1 callersFunctiontest_parallel_embedding
(model_parallel_size)
DeepSpeedExample/megatron/mpu/tests/test_layers.py:29
↓ 1 callersFunctiontest_parallel_self_attention
(model_parallel_size)
DeepSpeedExample/megatron/mpu/tests/test_layers.py:361
↓ 1 callersFunctiontest_parallel_transformer_layer
(model_parallel_size)
DeepSpeedExample/megatron/mpu/tests/test_layers.py:449
↓ 1 callersFunctiontest_row_parallel_linear
(model_parallel_size)
DeepSpeedExample/megatron/mpu/tests/test_layers.py:253
↓ 1 callersFunctiontest_set_cuda_rng_state
(model_parallel_size)
DeepSpeedExample/megatron/mpu/tests/test_random.py:24
↓ 1 callersFunctionthreshold_predictions
(all_predictions, threshold)
DeepSpeedExample/tasks/ensemble_classifier.py:69
↓ 1 callersFunctiontimer_init
deepspeed/ops/csrc/adam/opencl/adam/util.cpp:13
↓ 1 callersFunctiontimer_start
deepspeed/ops/csrc/adam/opencl/adam/util.cpp:21
↓ 1 callersFunctiontimer_stop
deepspeed/ops/csrc/adam/opencl/adam/util.cpp:23
↓ 1 callersMethodto_coo_tensor
(self)
deepspeed/runtime/sparse_tensor.py:34
↓ 1 callersMethodto_dense
(self)
deepspeed/runtime/sparse_tensor.py:41
↓ 1 callersMethodtokenize
Tokenize a string.
DeepSpeedExample/megatron/deprecated_data_utils/tokenization_gpt2.py:234
↓ 1 callersMethodtokenize
Tokenize a string.
DeepSpeedExample/megatron/tokenizer/gpt2_tokenization.py:236
↓ 1 callersMethodtokenizer
(self)
DeepSpeedExample/megatron/deprecated_data_utils/datasets.py:276
↓ 1 callersFunctiontop1gating
Implements Top1Gating on logits.
deepspeed/moe/sharded_moe.py:179
↓ 1 callersFunctiontop2gating
Implements Top2Gating on logits.
deepspeed/moe/sharded_moe.py:277
↓ 1 callersFunctiontop_k_logits
This function has been mostly taken from huggingface conversational ai code at https://medium.com/huggingface/how-to-build-a-state-of-t
DeepSpeedExample/megatron/text_generation_utils.py:50
↓ 1 callersFunctiontorch_cross_entropy
(batch_size, seq_length, vocab_size, logits_scale, seed)
DeepSpeedExample/megatron/mpu/tests/test_cross_entropy.py:29
↓ 1 callersMethodtotal_memory
(self, device_index=None)
deepspeed/accelerator/cpu_accelerator.py:153
↓ 1 callersMethodtp_parser
(model)
deepspeed/module_inject/auto_tp.py:84
↓ 1 callersMethodtrack_and_report_progress
Utility function for tracking progress
DeepSpeedExample/megatron/indexer.py:44
↓ 1 callersFunctiontrain
Train the model function.
DeepSpeedExample/megatron/training.py:496
↓ 1 callersFunctiontrain_valid_datasets_provider
Provide train and validation datasets.
DeepSpeedExample/tasks/race/finetune.py:27
↓ 1 callersMethodtransform_for_inference
If the views on certain parameters are largely incompatible, it may be necessary to do more substantial transformations to the parame
deepspeed/module_inject/containers/features/hybrid_engine.py:41
↓ 1 callersMethodtransform_for_training
If the views on certain parameters are largely incompatible, it may be necessary to do more substantial transformations to the parame
deepspeed/module_inject/containers/features/hybrid_engine.py:33
↓ 1 callersMethodtranspose_key_for_scores
(self, x, L)
deepspeed/ops/sparse_attention/sparse_self_attention.py:82
↓ 1 callersMethodtranspose_mlp
(self)
deepspeed/module_inject/containers/base.py:273
↓ 1 callersMethodtranspose_mlp
(self)
deepspeed/module_inject/containers/base_moe.py:83
↓ 1 callersMethodtranspose_residual
(self)
deepspeed/module_inject/containers/base_moe.py:87
↓ 1 callersFunctiontruncate_segments
Truncates a pair of sequences to a maximum sequence length.
DeepSpeedExample/megatron/data/dataset_utils.py:79
↓ 1 callersMethodtruncate_seq_pair
Truncate sequence pair according to original BERT implementation: https://github.com/google-research/bert/blob/master/create_pretrain
DeepSpeedExample/megatron/deprecated_data_utils/datasets.py:787
↓ 1 callersFunctionunflatten_dp_dimension
(meg_2d_map, dp_degree)
deepspeed/checkpoint/reshape_3d_utils.py:100
↓ 1 callersMethodunfuse_lora_weight_non_pinned
(self)
deepspeed/runtime/hybrid_engine.py:156
↓ 1 callersFunctionunregister_external_parameter
Reverses the effects of :meth:`register_external_parameter`. Args: module (``torch.nn.Module``): The module to affect. parameter
deepspeed/runtime/zero/partition_parameters.py:173
↓ 1 callersMethodupdate
Updated the running absmax used to calculate params. Function Arguments : val : The __half2 value to update the running min and max with.
deepspeed/ops/csrc/includes/quantization_utils.h:176
↓ 1 callersMethodupdate_fp16_ratio
(self)
deepspeed/runtime/quantize.py:175
↓ 1 callersMethodupdate_lp_params
(self)
deepspeed/runtime/bf16_optimizer.py:317
↓ 1 callersMethodupdate_metric_results
(self, data, metric_types, metric_functions, metric_results)
deepspeed/runtime/data_pipeline/data_sampling/data_analyzer.py:87
↓ 1 callersFunctionupdate_mp_params
(child)
deepspeed/module_inject/replace_module.py:426
↓ 1 callersMethodupdate_overflow_tracker_for_param_grad
(self, param)
deepspeed/runtime/zero/stage_1_and_2.py:1023
↓ 1 callersMethodupdate_policy_list
(policy_list, new_module, new_gems)
deepspeed/module_inject/auto_tp.py:58
↓ 1 callersMethodupdate_scale
(self, overflow)
DeepSpeedExample/megatron/fp16/loss_scaler.py:56
↓ 1 callersMethodupdate_state
(self, global_step)
deepspeed/runtime/progressive_layer_drop.py:35
↓ 1 callersFunctionurl_is_malformed
(url)
DeepSpeedExample/tools/openwebtext/blacklist_urls.py:229
↓ 1 callersFunctionurl_to_filename
Convert `url` into a hashed filename in a repeatable way. If `etag` is specified, append its hash to the url's, delimited by a period.
DeepSpeedExample/megatron/deprecated_data_utils/file_utils.py:43
↓ 1 callersMethodvalidate_args
Validate self.args
deepspeed/launcher/multinode_runner.py:47
↓ 1 callersMethodvalidate_torch_op_version
(torch_info)
deepspeed/ops/op_builder/builder.py:143
↓ 1 callersMethodvalidate_torch_version
(torch_info)
deepspeed/ops/op_builder/builder.py:132
↓ 1 callersFunctionvocab_parallel_cross_entropy
Helper function for the cross entropy.
DeepSpeedExample/megatron/mpu/cross_entropy.py:108
↓ 1 callersMethodvocab_range_from_global_vocab_size
(global_vocab_size: int, rank: int, world_size: int)
DeepSpeedExample/megatron/core/tensor_parallel/utils.py:110
↓ 1 callersMethodvocab_range_from_global_vocab_size
(global_vocab_size, rank, world_size)
DeepSpeedExample/megatron/mpu/utils.py:67
↓ 1 callersMethodvocab_range_from_per_partition_vocab_size
( per_partition_vocab_size: int, rank, world_size: int )
DeepSpeedExample/megatron/core/tensor_parallel/utils.py:102
↓ 1 callersMethodvocab_range_from_per_partition_vocab_size
(per_partition_vocab_size, rank, world_size)
DeepSpeedExample/megatron/mpu/utils.py:60
↓ 1 callersMethodvocab_size
(self)
DeepSpeedExample/megatron/tokenizer/tokenizer.py:78
↓ 1 callersFunctionwas_interruptted
(filename)
deepspeed/autotuning/utils.py:29
↓ 1 callersMethodword_embeddings_weight
(self)
DeepSpeedExample/megatron/model/module.py:53
↓ 1 callersMethodworld_size
(self)
deepspeed/checkpoint/reshape_3d_utils.py:42
↓ 1 callersFunctionwrite_experiments
(exps: list, exps_dir: str)
deepspeed/autotuning/utils.py:403
↓ 1 callersFunctionwrite_files
(lines, mappings, filepaths)
DeepSpeedExample/megatron/deprecated_data_utils/scripts/split_json.py:77
↓ 1 callersFunctionwrite_files
(lines, mappings, filepaths)
DeepSpeedExample/megatron/deprecated_data_utils/scripts/split_gpt2_json.py:92
↓ 1 callersFunctionwrite_mapping_file
(m, path)
DeepSpeedExample/megatron/deprecated_data_utils/scripts/split_json.py:90
↓ 1 callersFunctionwrite_mapping_file
(m, path)
DeepSpeedExample/megatron/deprecated_data_utils/scripts/split_gpt2_json.py:105
↓ 1 callersMethodwrite_optimal_config
(self)
deepspeed/autotuning/autotuner.py:1072
↓ 1 callersFunctionwrite_predictions
(all_predictions, all_labels, all_uid, args)
DeepSpeedExample/tasks/ensemble_classifier.py:93
↓ 1 callersMethodzero_allow_untested_optimizer
(self)
deepspeed/runtime/engine.py:671
↓ 1 callersMethodzero_cpu_offload
(self)
deepspeed/runtime/engine.py:694
↓ 1 callersMethodzero_force_ds_cpu_optimizer
(self)
deepspeed/runtime/engine.py:674
↓ 1 callersMethodzero_gather_16bit_weights_on_model_save
(self)
deepspeed/runtime/engine.py:744
↓ 1 callersMethodzero_grad
Zero fp32 and fp16 parameter grads.
DeepSpeedExample/megatron/fp16/fp16.py:268
↓ 1 callersMethodzero_ignore_unused_parameters
(self)
deepspeed/runtime/engine.py:753
↓ 1 callersMethodzero_legacy_stage1
(self)
deepspeed/runtime/engine.py:750
↓ 1 callersMethodzero_load_from_fp32_weights
(self)
deepspeed/runtime/engine.py:723
← previousnext →2,501–2,600 of 4,989, ranked by callers