MCPcopy Create free account

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

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

Methodtune
(self, sample_size=1, n_trials=1000, early_stopping=None)
deepspeed/autotuning/tuner/base_tuner.py:38
Functionunflatten
deepspeed/ops/csrc/utils/flatten_unflatten.cpp:20
Functionunfused_bias_dropout_add
(x_with_bias, residual, prob)
DeepSpeedExample/megatron/core/fusions/fused_bias_dropout.py:21
Methodunpad_sequence_output
This function unpads sequence output if inputs of the model were padded. This is a requirement for Sparse Transformer in which the self att
deepspeed/ops/sparse_attention/sparse_attention_utils.py:193
Methodunscale_and_clip_grads
(self, sub_group_id, total_norm)
deepspeed/runtime/zero/stage3.py:2028
Methodupdate
Updated the running min and max used to calculate params. Function Arguments : val : The __half2 value to update the running min and max w
deepspeed/ops/csrc/includes/quantization_utils.h:225
Methodupdate
(self)
deepspeed/autotuning/tuner/model_based_tuner.py:119
Methodupdate_epoch_count
(self)
deepspeed/utils/timer.py:184
Methodupdate_hp
(self)
deepspeed/utils/tensor_fragment.py:29
Methodupdate_lp
(self)
deepspeed/utils/tensor_fragment.py:32
Methodupdate_lp_params
(self)
deepspeed/runtime/zero/stage_1_and_2.py:1767
Methodupdate_scale
(self, overflow)
DeepSpeedExample/megatron/fp16/loss_scaler.py:161
Methodupdate_scale
(self, overflow)
deepspeed/runtime/fp16/loss_scaler.py:170
Methodupdate_state
deepspeed/ops/csrc/includes/cpu_adagrad.h:87
Methodupdate_tokenizer_model_max_length
This function updates the position embedding length of a tokenizer to a new max position. Arguments: tokenizer: required: a trans
deepspeed/ops/sparse_attention/sparse_attention_utils.py:64
Methodvalidate_args
(self)
deepspeed/launcher/multinode_runner.py:122
Methodvalidate_args
(self)
deepspeed/launcher/multinode_runner.py:174
Methodvalidate_args
(self)
deepspeed/launcher/multinode_runner.py:406
Functionvalidate_case_matches_checkpoint
Checks whether the casing config is consistent with the checkpoint name.
DeepSpeedExample/megatron/tokenizer/bert_tokenization.py:28
Functionvalidate_ds_config
(config: dict)
deepspeed/autotuning/utils.py:181
Functionvalidate_files
(file_list)
deepspeed/checkpoint/reshape_utils.py:27
Methodvalidate_files
(self)
deepspeed/checkpoint/deepspeed_checkpoint.py:249
Methodvector_matmul_fallback
(self, input, weight, async_op, q_scale, q_int8, transpose)
deepspeed/ops/transformer/inference/op_binding/vector_matmul.py:26
Methodvocab
dictionary mapping tokens to ids for tokenizer
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:285
Methodvocab
dictionary mapping tokens to ids
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:432
Methodvocab
(self)
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:502
Methodvocab
(self)
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:625
Methodvocab
Dictionary from vocab text token to id token.
DeepSpeedExample/megatron/tokenizer/tokenizer.py:83
Methodvocab
(self)
DeepSpeedExample/megatron/tokenizer/tokenizer.py:147
Methodvocab
(self)
DeepSpeedExample/megatron/tokenizer/tokenizer.py:205
Functionvocab_parallel_cross_entropy
Performs cross entropy loss when logits are split across tensor parallel ranks Arguments: vocab_parallel_logits: logits split across
DeepSpeedExample/megatron/core/tensor_parallel/cross_entropy.py:130
Functionvocab_sequence_parallel_cross_entropy
(vocab_parallel_logits, target, label_smoothing=0.0)
DeepSpeedExample/megatron/core/sequence_parallel/cross_entropy.py:55
Methodvocab_size
(self)
DeepSpeedExample/megatron/tokenizer/tokenizer.py:143
Methodvocab_size
(self)
DeepSpeedExample/megatron/tokenizer/tokenizer.py:201
Methodvocab_size
(self)
DeepSpeedExample/megatron/tokenizer/bert_tokenization.py:184
Methodwait
(self)
deepspeed/runtime/zero/partition_parameters.py:69
Methodwait
(self)
deepspeed/runtime/zero/partition_parameters.py:534
Methodwait
(self)
deepspeed/runtime/zero/partition_parameters.py:561
Methodwalk_module
(module, curr_depth, info)
deepspeed/profiling/flops_profiler/profiler.py:390
Functionwarning_once
This method is identical to `logger.warning()`, but will emit the warning with the same message only once Note: The cache is for the functio
deepspeed/utils/logging.py:54
Functionwarp_reduce
DeepSpeedExample/megatron/fused_kernels/scaled_upper_triang_masked_softmax.h:60
Functionwarp_reduce
DeepSpeedExample/megatron/fused_kernels/scaled_masked_softmax.h:60
Methodwas_step_applied
Returns True if the latest ``step()`` produced in parameter updates. Note that a ``False`` return is not an error condition. Steps are frequen
deepspeed/runtime/engine.py:1579
Functionwikitext_detokenizer
(string)
DeepSpeedExample/tasks/zeroshot_gpt2/detokenizer.py:32
Methodworld_size
(self)
deepspeed/runtime/pipe/topology.py:210
Methodwrapped
(*args, **kwargs)
deepspeed/runtime/zero/partition_parameters.py:1008
Methodwrapped_apply
(module: Module, fn_to_apply: Callable)
deepspeed/runtime/zero/partition_parameters.py:356
Methodwrapped_closure
()
DeepSpeedExample/megatron/fp16/fp16.py:477
Functionwrapped_fn
(*args, **kwargs)
deepspeed/utils/nvtx.py:13
Functionwrapped_fn
(*args, **kwargs)
deepspeed/runtime/zero/partition_parameters.py:226
Methodwrapped_fn
(*args, **kwargs)
deepspeed/utils/init_on_device.py:44
Methodwrapped_fn_to_apply
gathers parameters before calling apply function. afterwards parameters are broadcasted to ensure consistency across all ranks
deepspeed/runtime/zero/partition_parameters.py:320
Methodwrapper
(module, *args, **kwargs)
deepspeed/runtime/zero/partition_parameters.py:364
Methodwrapper
(param, i)
deepspeed/runtime/zero/stage3.py:1065
Methodwrapper
(param, i)
deepspeed/runtime/zero/stage_1_and_2.py:805
Methodwrite
given a generator of metrics for each of the data points X_i, write the metrics, text, and labels to a json file
DeepSpeedExample/megatron/deprecated_data_utils/datasets.py:396
Methodwrite_config
(self, filename)
deepspeed/runtime/config.py:674
Methodwrite_events
(self, event_list)
deepspeed/monitor/monitor.py:46
Methodwrite_events
(self, event_list, flush=True)
deepspeed/monitor/tensorboard.py:47
Methodwrite_events
(self, event_list)
deepspeed/monitor/wandb.py:32
Methodwrite_events
(self, event_list)
deepspeed/monitor/csv_monitor.py:40
Functionwrite_thread
deepspeed/ops/csrc/adam/cpu_adam.cpp:130
Functionzero3_linear_wrap
(input, weight, bias=None)
deepspeed/runtime/zero/linear.py:104
Methodzero_allgather_partitions
(self)
deepspeed/runtime/engine.py:809
Methodzero_grad
(self)
deepspeed/ops/adam/fused_adam.py:99
Methodzero_grad
Zero FP16 parameter grads.
deepspeed/runtime/fp16/fused_optimizer.py:129
Methodzero_grad
Zero FP16 parameter grads.
deepspeed/runtime/fp16/unfused_optimizer.py:115
Methodzero_grad_hooks
(self)
deepspeed/runtime/engine.py:747
Methodzero_parameters
Zero out all parameters in embedding.
DeepSpeedExample/megatron/core/models/gpt/gpt_embedding.py:50
Methodzero_reduced_gradients
(self, partition_id, i)
deepspeed/runtime/zero/stage3.py:1338
Methodzero_reduced_gradients
(self, partition_id, i)
deepspeed/runtime/zero/stage_1_and_2.py:1260
Method~Adagrad_Optimizer
deepspeed/ops/csrc/includes/cpu_adagrad.h:47
Method~Adam_Optimizer
deepspeed/ops/csrc/includes/cpu_adam.h:87
Method~BertTransformerLayer
deepspeed/ops/csrc/transformer/ds_transformer_cuda.cpp:141
Method~Dropout
deepspeed/ops/csrc/includes/dropout.h:28
Method~FeedForward
deepspeed/ops/csrc/includes/feed_forward.h:29
Method~GPUTimer
deepspeed/ops/csrc/includes/Timer.h:22
Method~Gelu
deepspeed/ops/csrc/includes/gelu.h:23
Function~GemmTest
deepspeed/ops/csrc/includes/gemm_test.h:43
Method~InferenceContext
deepspeed/ops/csrc/transformer/inference/includes/inference_context.h:77
Method~Normalize_Layer
deepspeed/ops/csrc/includes/normalize_layer.h:47
Method~Softmax
deepspeed/ops/csrc/includes/softmax.h:40
Method~Stopwatch
deepspeed/ops/csrc/includes/StopWatch.h:23
Method~StridedBatchGemm
deepspeed/ops/csrc/includes/strided_batch_gemm.h:57
Method~TrainingContext
deepspeed/ops/csrc/includes/context.h:60
Method~aio_context
deepspeed/ops/csrc/aio/common/deepspeed_aio_types.cpp:71
Method~deepspeed_aio_handle_t
deepspeed/ops/csrc/aio/py_lib/deepspeed_py_aio_handle.cpp:41
Method~deepspeed_aio_thread_t
deepspeed/ops/csrc/aio/py_lib/deepspeed_aio_thread.cpp:46
Method~deepspeed_pin_tensor_t
deepspeed/ops/csrc/aio/py_lib/deepspeed_pin_tensor.cpp:14
← previous4,901–4,989 of 4,989, ranked by callers