MCPcopy Create free account

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

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

↓ 2 callersFunctionshingles
(text, char_ngram=5)
DeepSpeedExample/tools/openwebtext/find_duplicates.py:26
↓ 2 callersFunctionshould_log_le
Args: max_log_level_str: maximum log level as a string Returns ``True`` if the current log_level is less or equal to the specified l
deepspeed/utils/logging.py:133
↓ 2 callersMethodsimd_width
(self)
deepspeed/ops/op_builder/builder.py:385
↓ 2 callersMethodsimple_init
(self)
deepspeed/checkpoint/reshape_meg_2d.py:16
↓ 2 callersMethodsparse_all_gather
(self, value, dp_group)
deepspeed/runtime/engine.py:2375
↓ 2 callersMethodsparse_allreduce_no_retain
(self, bucket, dp_group)
deepspeed/runtime/engine.py:2335
↓ 2 callersFunctionsplit_half_float_double_sparse
(tensors)
deepspeed/runtime/engine.py:115
↓ 2 callersFunctionsplit_params_grads_into_shared_and_expert_params
Split grad of parameters into grads of non-expert params and grads of expert params. This is useful while computing grad-norms for clipping an
deepspeed/moe/utils.py:40
↓ 2 callersFunctionsplit_s3_path
Split a full s3 path into the bucket name and path.
DeepSpeedExample/megatron/deprecated_data_utils/file_utils.py:117
↓ 2 callersFunctionsplit_tensor_into_1d_equal_chunks
Break a tensor into equal 1D chunks across tensor parallel ranks. Returns a Tensor or View with this rank's portion of the data. Ar
DeepSpeedExample/megatron/core/tensor_parallel/utils.py:37
↓ 2 callersMethodstart_profile
Starts profiling. Extra attributes are added recursively to all the modules and the profiled torch.nn.functionals are monkey patched.
deepspeed/profiling/flops_profiler/profiler.py:67
↓ 2 callersMethodstate
(self)
DeepSpeedExample/megatron/data/realm_index.py:35
↓ 2 callersMethodstate_dict_for_save_checkpoint
Use this function to override the state dict for saving checkpoints.
DeepSpeedExample/megatron/module.py:27
↓ 2 callersMethodstate_dict_for_save_checkpoint
Save dict with state dicts of each of the models.
DeepSpeedExample/megatron/model/realm_model.py:90
↓ 2 callersMethodstep
Set lr for all parameters groups.
DeepSpeedExample/megatron/learning_rates.py:94
↓ 2 callersMethodstep
Not supporting closure.
deepspeed/runtime/zero/stage_1_and_2.py:1642
↓ 2 callersMethodstep
Not supporting closure.
deepspeed/runtime/fp16/fused_optimizer.py:216
↓ 2 callersMethodstep
Not supporting closure.
deepspeed/runtime/fp16/unfused_optimizer.py:195
↓ 2 callersMethodstep_with_fpga
Update the model parameters. .. note:: This method will be called internally by ZeRO-Offload. DeepSpeed users should
deepspeed/ops/adam/cpu_adam.py:233
↓ 2 callersMethodstop_profile
Stop profiling. All torch.nn.functionals are restored to their originals.
deepspeed/profiling/flops_profiler/profiler.py:125
↓ 2 callersFunctionsupported_corpus
checks if corpus name is defined in `corpora.py`
DeepSpeedExample/megatron/deprecated_data_utils/__init__.py:63
↓ 2 callersMethodswap_out_tensors
(self, tensor_list, path_list)
deepspeed/runtime/swap_tensor/async_swapper.py:67
↓ 2 callersMethodsynchronize_writes
(self)
deepspeed/runtime/swap_tensor/partitioned_param_swapper.py:193
↓ 2 callersMethodto_meta
Returns a torch.LongTensor that encodes partitioning information. Can be used along with ``data()`` to serialize a ``PartitionedTensor`` for
deepspeed/runtime/utils.py:694
↓ 2 callersMethodtokenize
(self, text)
DeepSpeedExample/megatron/deprecated_data_utils/wordpiece.py:107
↓ 2 callersMethodtopk
(self, tensor, top_size)
deepspeed/ops/adam/cpu_adam.py:228
↓ 2 callersMethodtrace_prologue
(self, sub_module: Module)
deepspeed/runtime/zero/partitioned_param_coordinator.py:140
↓ 2 callersFunctiontrain_step
Single training step.
DeepSpeedExample/megatron/training.py:361
↓ 2 callersFunctiontraining_log
Log training information such as losses, timing, ....
DeepSpeedExample/megatron/training.py:398
↓ 2 callersFunctiontranspose
(data)
deepspeed/module_inject/load_checkpoint.py:40
↓ 2 callersMethodtranspose_attention
(self)
deepspeed/module_inject/containers/base.py:268
↓ 2 callersMethodtranspose_mask_for_sparse
(self, qtype, x, is_key_padding_mask=False)
deepspeed/ops/sparse_attention/sparse_self_attention.py:88
↓ 2 callersMethodtune
Tunes Zero stages, micro batch size per GPU, and other Zero configurations. Performance metrics of different tuning spaces are recorded in self.recor
deepspeed/autotuning/autotuner.py:404
↓ 2 callersMethodunfuse_lora_weight
(self)
deepspeed/runtime/hybrid_engine.py:152
↓ 2 callersMethodunscale_and_clip_grads
(self, grad_groups_flat, total_norm)
deepspeed/runtime/zero/stage_1_and_2.py:1791
↓ 2 callersMethodunscale_and_clip_grads
(self, grad_groups_flat, total_norm, apply_scale=True)
deepspeed/runtime/fp16/fused_optimizer.py:325
↓ 2 callersMethodunscale_and_clip_grads
(self, total_norm, apply_scale=True)
deepspeed/runtime/fp16/unfused_optimizer.py:244
↓ 2 callersMethodupdate_hp_grads
(self, clear_lp_grads=False)
deepspeed/runtime/bf16_optimizer.py:274
↓ 2 callersMethodupdate_master_grads
Copy the ``.grad`` attribute from stored references to fp16 parameters to the ``.grad`` attribute of the fp32 master parameters that
DeepSpeedExample/megatron/fp16/fp16.py:577
↓ 2 callersMethodupdate_scale
(self, overflow)
deepspeed/runtime/fp16/loss_scaler.py:58
↓ 2 callersMethodupdate_seq
(self, global_steps)
deepspeed/runtime/data_pipeline/data_routing/scheduler.py:85
↓ 2 callersMethoduse_node_local_storage
(self)
deepspeed/runtime/engine.py:780
↓ 2 callersFunctionwait
()
deepspeed/runtime/pipe/p2p.py:91
↓ 2 callersFunctionwrapper
(url, *args, **kwargs)
DeepSpeedExample/megatron/deprecated_data_utils/file_utils.py:137
↓ 2 callersFunctionwrite_file
(lines, path)
DeepSpeedExample/megatron/deprecated_data_utils/scripts/split_json.py:83
↓ 2 callersFunctionwrite_file
(lines, path)
DeepSpeedExample/megatron/deprecated_data_utils/scripts/split_gpt2_json.py:98
↓ 2 callersFunctionzero2_align
(x)
deepspeed/utils/zero_to_fp32.py:301
↓ 2 callersFunctionzero3_partitioned_param_info
(unpartitioned_numel, world_size)
deepspeed/utils/zero_to_fp32.py:341
↓ 2 callersMethodzero_allgather_bucket_size
(self)
deepspeed/runtime/engine.py:711
↓ 2 callersMethodzero_elastic_checkpoint
(self)
deepspeed/runtime/engine.py:726
↓ 2 callersMethodzero_grad
Zero FP16 parameter grads.
deepspeed/runtime/zero/stage3.py:1508
↓ 2 callersMethodzero_grad
Zero FP16 parameter grads.
deepspeed/runtime/zero/stage_1_and_2.py:1451
↓ 2 callersFunctionzero_mat
deepspeed/ops/csrc/adam/opencl/adam/util.cpp:40
↓ 2 callersMethodzero_offload_optimizer
(self)
deepspeed/runtime/engine.py:683
↓ 2 callersMethodzero_sub_group_size
(self)
deepspeed/runtime/engine.py:699
↓ 1 callersFunctionAdagradCPU
hls_smartInfinity/src/host/host_step_adagrad_topk.cpp:136
↓ 1 callersFunctionAdagradCPU
hls_smartInfinity/src/host/host_step_adagrad.cpp:129
↓ 1 callersFunctionAdamCPU
hls_smartInfinity/src/host/g16_host_step_adam.cpp:131
↓ 1 callersFunctionAdamCPU
hls_smartInfinity/src/host/host_step_adam.cpp:131
↓ 1 callersFunctionAdamCPU
hls_smartInfinity/src/host/host_step_adam_topk.cpp:137
↓ 1 callersFunctionAdamCPU
hls_smartInfinity/src/host/g16_host_step_adam_topk.cpp:137
↓ 1 callersFunctionBN_convert_float
Utility function for network_to_half(). Retained for legacy purposes.
DeepSpeedExample/megatron/fp16/fp16util.py:42
↓ 1 callersMethodBackward
deepspeed/ops/csrc/transformer/ds_transformer_cuda.cpp:302
↓ 1 callersMethodDecodeIds
convert Ids to tokens accounting for command and type tokens, tokens are joined and returned as a string.
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:356
↓ 1 callersMethodDecodeTokens
convert tokens to a string accounting for command and type tokens.
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:383
↓ 1 callersMethodEncodeAsIds
Preprocess text and encode as ids. Return a tokenization object with original text, processed text, and id tokenization.
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:445
↓ 1 callersMethodEncodeAsTokens
encode text as tokens using text tokenizer
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:328
↓ 1 callersMethodGenWorkSpace
deepspeed/ops/csrc/transformer/inference/includes/inference_context.h:93
↓ 1 callersMethodGetAttentionUnfusedWorkspace
deepspeed/ops/csrc/transformer/inference/includes/inference_context.h:184
↓ 1 callersMethodIdToToken
convert Id to token accounting for command and type tokens
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:336
↓ 1 callersMethodIdToToken
convert Id to sentencpiece token
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:692
↓ 1 callersMethodSetDim
deepspeed/ops/csrc/includes/dropout.h:23
↓ 1 callersMethodSetDimension
deepspeed/ops/csrc/includes/dropout.h:76
↓ 1 callersMethodSetSeed
deepspeed/ops/csrc/transformer/inference/includes/inference_context.h:242
↓ 1 callersMethodSetTokenizer
(self, tokenizer)
DeepSpeedExample/megatron/deprecated_data_utils/datasets.py:360
↓ 1 callersMethodSetTrainingMode
deepspeed/ops/csrc/transformer/ds_transformer_cuda.cpp:557
↓ 1 callersMethodStep_SGD_cpu
deepspeed/ops/csrc/adam/cpu_adam.cpp:1616
↓ 1 callersMethodStep_cpu
deepspeed/ops/csrc/adagrad/cpu_adagrad.cpp:25
↓ 1 callersMethodStep_cpu
deepspeed/ops/csrc/adam/cpu_adam.cpp:1657
↓ 1 callersMethodStep_fpga
deepspeed/ops/csrc/adam/cpu_adam.cpp:1436
↓ 1 callersMethodStep_fpga_adagrad
deepspeed/ops/csrc/adam/cpu_adam.cpp:1186
↓ 1 callersMethodStep_fpga_adagrad_comp
deepspeed/ops/csrc/adam/cpu_adam.cpp:1035
↓ 1 callersMethodStep_fpga_comp
deepspeed/ops/csrc/adam/cpu_adam.cpp:708
↓ 1 callersMethodStep_fpga_sgd
deepspeed/ops/csrc/adam/cpu_adam.cpp:1308
↓ 1 callersMethodStep_fpga_sgd_comp
deepspeed/ops/csrc/adam/cpu_adam.cpp:879
↓ 1 callersMethodStep_gpu
deepspeed/ops/csrc/adam/cpu_adam.cpp:1585
↓ 1 callersMethodSynchComm
deepspeed/ops/csrc/transformer/inference/includes/inference_context.h:251
↓ 1 callersMethodTestGemmFP16
deepspeed/ops/csrc/includes/context.h:102
↓ 1 callersMethodTokenToId
ascii character to index
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:527
↓ 1 callersMethodTokenToId
(self, token, type_token=False)
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:902
↓ 1 callersMethodTrain
train a tokenizer on a data corpus and save model for future use
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:441
↓ 1 callersMethodTrain
train sentencepiece model on corpus using word frequencies
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:649
↓ 1 callersFunctionWARP_SHFL_XOR_NATIVE
DeepSpeedExample/megatron/fused_kernels/scaled_upper_triang_masked_softmax.h:50
↓ 1 callersFunctionWARP_SHFL_XOR_NATIVE
DeepSpeedExample/megatron/fused_kernels/scaled_masked_softmax.h:50
↓ 1 callersMethod__add_grad_to_ipg_bucket
(self, param: Parameter)
deepspeed/runtime/zero/stage3.py:1119
↓ 1 callersMethod__avg_scatter_grads
average gradients and scatter partitions across ranks
deepspeed/runtime/zero/stage3.py:1168
↓ 1 callersFunction__best_fitting_dtype
(vocab_size=None)
DeepSpeedExample/megatron/data/indexed_dataset.py:24
↓ 1 callersFunction__best_fitting_dtype
(vocab_size=None)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:33
↓ 1 callersMethod__fixed_discrete_get_difficulty
(self, global_steps)
deepspeed/runtime/data_pipeline/curriculum_scheduler.py:122
↓ 1 callersMethod__fixed_root_get_value
(self, global_steps, root_degree=None)
deepspeed/runtime/data_pipeline/data_routing/scheduler.py:20
← previousnext →1,101–1,200 of 4,989, ranked by callers