Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AIS-SNU/Smart-Infinity
/ functions
Functions
4,989 in github.com/AIS-SNU/Smart-Infinity
⨍
Functions
4,989
◇
Types & classes
624
Method
tune
(self, sample_size=1, n_trials=1000, early_stopping=None)
deepspeed/autotuning/tuner/base_tuner.py:38
Function
unflatten
deepspeed/ops/csrc/utils/flatten_unflatten.cpp:20
Function
unfused_bias_dropout_add
(x_with_bias, residual, prob)
DeepSpeedExample/megatron/core/fusions/fused_bias_dropout.py:21
Method
unpad_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
Method
unscale_and_clip_grads
(self, sub_group_id, total_norm)
deepspeed/runtime/zero/stage3.py:2028
Method
update
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
Method
update
(self)
deepspeed/autotuning/tuner/model_based_tuner.py:119
Method
update_epoch_count
(self)
deepspeed/utils/timer.py:184
Method
update_hp
(self)
deepspeed/utils/tensor_fragment.py:29
Method
update_lp
(self)
deepspeed/utils/tensor_fragment.py:32
Method
update_lp_params
(self)
deepspeed/runtime/zero/stage_1_and_2.py:1767
Method
update_scale
(self, overflow)
DeepSpeedExample/megatron/fp16/loss_scaler.py:161
Method
update_scale
(self, overflow)
deepspeed/runtime/fp16/loss_scaler.py:170
Method
update_state
deepspeed/ops/csrc/includes/cpu_adagrad.h:87
Method
update_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
Method
validate_args
(self)
deepspeed/launcher/multinode_runner.py:122
Method
validate_args
(self)
deepspeed/launcher/multinode_runner.py:174
Method
validate_args
(self)
deepspeed/launcher/multinode_runner.py:406
Function
validate_case_matches_checkpoint
Checks whether the casing config is consistent with the checkpoint name.
DeepSpeedExample/megatron/tokenizer/bert_tokenization.py:28
Function
validate_ds_config
(config: dict)
deepspeed/autotuning/utils.py:181
Function
validate_files
(file_list)
deepspeed/checkpoint/reshape_utils.py:27
Method
validate_files
(self)
deepspeed/checkpoint/deepspeed_checkpoint.py:249
Method
vector_matmul_fallback
(self, input, weight, async_op, q_scale, q_int8, transpose)
deepspeed/ops/transformer/inference/op_binding/vector_matmul.py:26
Method
vocab
dictionary mapping tokens to ids for tokenizer
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:285
Method
vocab
dictionary mapping tokens to ids
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:432
Method
vocab
(self)
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:502
Method
vocab
(self)
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:625
Method
vocab
Dictionary from vocab text token to id token.
DeepSpeedExample/megatron/tokenizer/tokenizer.py:83
Method
vocab
(self)
DeepSpeedExample/megatron/tokenizer/tokenizer.py:147
Method
vocab
(self)
DeepSpeedExample/megatron/tokenizer/tokenizer.py:205
Function
vocab_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
Function
vocab_sequence_parallel_cross_entropy
(vocab_parallel_logits, target, label_smoothing=0.0)
DeepSpeedExample/megatron/core/sequence_parallel/cross_entropy.py:55
Method
vocab_size
(self)
DeepSpeedExample/megatron/tokenizer/tokenizer.py:143
Method
vocab_size
(self)
DeepSpeedExample/megatron/tokenizer/tokenizer.py:201
Method
vocab_size
(self)
DeepSpeedExample/megatron/tokenizer/bert_tokenization.py:184
Method
wait
(self)
deepspeed/runtime/zero/partition_parameters.py:69
Method
wait
(self)
deepspeed/runtime/zero/partition_parameters.py:534
Method
wait
(self)
deepspeed/runtime/zero/partition_parameters.py:561
Method
walk_module
(module, curr_depth, info)
deepspeed/profiling/flops_profiler/profiler.py:390
Function
warning_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
Function
warp_reduce
DeepSpeedExample/megatron/fused_kernels/scaled_upper_triang_masked_softmax.h:60
Function
warp_reduce
DeepSpeedExample/megatron/fused_kernels/scaled_masked_softmax.h:60
Method
was_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
Function
wikitext_detokenizer
(string)
DeepSpeedExample/tasks/zeroshot_gpt2/detokenizer.py:32
Method
world_size
(self)
deepspeed/runtime/pipe/topology.py:210
Method
wrapped
(*args, **kwargs)
deepspeed/runtime/zero/partition_parameters.py:1008
Method
wrapped_apply
(module: Module, fn_to_apply: Callable)
deepspeed/runtime/zero/partition_parameters.py:356
Method
wrapped_closure
()
DeepSpeedExample/megatron/fp16/fp16.py:477
Function
wrapped_fn
(*args, **kwargs)
deepspeed/utils/nvtx.py:13
Function
wrapped_fn
(*args, **kwargs)
deepspeed/runtime/zero/partition_parameters.py:226
Method
wrapped_fn
(*args, **kwargs)
deepspeed/utils/init_on_device.py:44
Method
wrapped_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
Method
wrapper
(module, *args, **kwargs)
deepspeed/runtime/zero/partition_parameters.py:364
Method
wrapper
(param, i)
deepspeed/runtime/zero/stage3.py:1065
Method
wrapper
(param, i)
deepspeed/runtime/zero/stage_1_and_2.py:805
Method
write
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
Method
write_config
(self, filename)
deepspeed/runtime/config.py:674
Method
write_events
(self, event_list)
deepspeed/monitor/monitor.py:46
Method
write_events
(self, event_list, flush=True)
deepspeed/monitor/tensorboard.py:47
Method
write_events
(self, event_list)
deepspeed/monitor/wandb.py:32
Method
write_events
(self, event_list)
deepspeed/monitor/csv_monitor.py:40
Function
write_thread
deepspeed/ops/csrc/adam/cpu_adam.cpp:130
Function
zero3_linear_wrap
(input, weight, bias=None)
deepspeed/runtime/zero/linear.py:104
Method
zero_allgather_partitions
(self)
deepspeed/runtime/engine.py:809
Method
zero_grad
(self)
deepspeed/ops/adam/fused_adam.py:99
Method
zero_grad
Zero FP16 parameter grads.
deepspeed/runtime/fp16/fused_optimizer.py:129
Method
zero_grad
Zero FP16 parameter grads.
deepspeed/runtime/fp16/unfused_optimizer.py:115
Method
zero_grad_hooks
(self)
deepspeed/runtime/engine.py:747
Method
zero_parameters
Zero out all parameters in embedding.
DeepSpeedExample/megatron/core/models/gpt/gpt_embedding.py:50
Method
zero_reduced_gradients
(self, partition_id, i)
deepspeed/runtime/zero/stage3.py:1338
Method
zero_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
← previous
4,901–4,989 of 4,989, ranked by callers