MCPcopy Create free account

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

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

↓ 1 callersFunctionget_xil_devices
hls_smartInfinity/src/host/host_step_adagrad_topk.cpp:112
↓ 1 callersFunctionget_xil_devices
hls_smartInfinity/src/host/host_step_adagrad.cpp:105
↓ 1 callersFunctionget_xil_devices
hls_smartInfinity/src/host/host_step_sgd_topk.cpp:109
↓ 1 callersFunctionget_xil_devices
hls_smartInfinity/src/host/g16_host_step_adam_topk.cpp:113
↓ 1 callersFunctionget_zero_allow_untested_optimizer
(param_dict)
deepspeed/runtime/config.py:481
↓ 1 callersFunctionget_zero_config
(param_dict)
deepspeed/runtime/zero/config.py:57
↓ 1 callersFunctionget_zero_force_ds_cpu_optimizer
(param_dict)
deepspeed/runtime/config.py:485
↓ 1 callersFunctionglue_classification
(num_classes, Dataset, name_from_datapath_func)
DeepSpeedExample/tasks/glue/finetune.py:26
↓ 1 callersMethodgradient_reduction_w_predivide
(self, tensor)
deepspeed/runtime/zero/stage_1_and_2.py:874
↓ 1 callersFunctionhas_all_reduce_coalesced
()
deepspeed/comm/torch.py:28
↓ 1 callersMethodhas_function
Test for existence of a function within a tuple of libraries. This is used as a smoke test to check whether a certain library is ava
deepspeed/ops/op_builder/builder.py:240
↓ 1 callersFunctionhas_hierarchical_all_gather_groups
(comm_groups: MiCS_CommGroups)
deepspeed/runtime/zero/mics.py:24
↓ 1 callersMethodhas_next
Whether there exists more configurations for evaluation
deepspeed/autotuning/tuner/base_tuner.py:24
↓ 1 callersMethodhas_overflow
(self, params)
DeepSpeedExample/megatron/fp16/loss_scaler.py:49
↓ 1 callersMethodhas_overflow
(self, params, has_moe_params=None)
deepspeed/runtime/utils.py:236
↓ 1 callersMethodhas_overflow
(self, partition_gradients=True)
deepspeed/runtime/zero/stage3.py:2058
↓ 1 callersMethodhas_overflow
(self, partition_gradients=True)
deepspeed/runtime/zero/stage_1_and_2.py:1826
↓ 1 callersMethodhas_overflow
(self, params)
deepspeed/runtime/fp16/loss_scaler.py:83
↓ 1 callersMethodhas_overflow_partitioned_grads_serial
(self)
deepspeed/runtime/zero/stage_1_and_2.py:1819
↓ 1 callersMethodhas_overflow_serial
(self, params)
DeepSpeedExample/megatron/fp16/loss_scaler.py:120
↓ 1 callersMethodhas_overflow_serial
(self, params)
deepspeed/runtime/utils.py:230
↓ 1 callersMethodhas_overflow_serial
(self, params, is_grad_list=False)
deepspeed/runtime/zero/stage3.py:2043
↓ 1 callersMethodhas_overflow_serial
(self, params, is_grad_list=False)
deepspeed/runtime/zero/stage_1_and_2.py:1812
↓ 1 callersMethodhead_pruning_reshape
(self, w, mask)
deepspeed/compression/basic_layer.py:360
↓ 1 callersFunctionhelper_memcpy_1
deepspeed/ops/csrc/aio/py_lib/deepspeed_py_copy.cpp:25
↓ 1 callersFunctionhelper_memcpy_4
deepspeed/ops/csrc/aio/py_lib/deepspeed_py_copy.cpp:54
↓ 1 callersFunctionhelper_mempcy_8
deepspeed/ops/csrc/aio/py_lib/deepspeed_py_copy.cpp:85
↓ 1 callersFunctionhttp_get
(url, temp_file)
DeepSpeedExample/megatron/deprecated_data_utils/file_utils.py:166
↓ 1 callersFunctionin_aml
()
deepspeed/comm/comm.py:670
↓ 1 callersFunctionin_aws_sm
()
deepspeed/comm/comm.py:675
↓ 1 callersFunctionin_dlts
()
deepspeed/comm/comm.py:680
↓ 1 callersMethodin_module_list
(module, module_list)
deepspeed/module_inject/auto_tp.py:15
↓ 1 callersMethodinclude_paths
(self)
deepspeed/ops/op_builder/cpu/comm.py:24
↓ 1 callersMethodindependent_gradient_partition_epilogue
(self)
deepspeed/runtime/zero/stage3.py:1017
↓ 1 callersMethodindependent_gradient_partition_epilogue
(self)
deepspeed/runtime/zero/stage_1_and_2.py:687
↓ 1 callersFunctioninfer_dataset_impl
(path)
DeepSpeedExample/megatron/data/indexed_dataset.py:35
↓ 1 callersFunctioninfer_dataset_impl
(path)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:44
↓ 1 callersFunctioninfer_transformer_type
NOTE: this is a temporary and dodgy solution to distinguish GPT and BERT style models based on the dimensions of the corresponding attention mask.
deepspeed/ops/csrc/transformer/inference/csrc/pt_binding.cpp:27
↓ 1 callersMethodinit_config
(self, config, scheduler, random_ltd_layer_id)
deepspeed/runtime/data_pipeline/data_routing/basic_layer.py:29
↓ 1 callersFunctioninit_deepspeed_backend
(ds_backend, timeout, init_method)
deepspeed/comm/comm.py:142
↓ 1 callersFunctioninit_method_normal
Init method based on N(0, sigma).
DeepSpeedExample/megatron/core/utils.py:155
↓ 1 callersMethodinit_metric_results
(self, thread_id, metric_names, metric_types, metric_dtypes, save_path, worker_id)
deepspeed/runtime/data_pipeline/data_sampling/data_analyzer.py:59
↓ 1 callersMethodinit_process_group
(self, backend, timeout, init_method, rank, world_size)
deepspeed/comm/torch.py:84
↓ 1 callersMethodinit_state_dict_from_bert
Initialize the state from a pretrained BERT model on iteration zero of ICT pretraining
DeepSpeedExample/megatron/model/realm_model.py:117
↓ 1 callersMethodinit_transformer_weights
(self, adjust_init_range=False)
deepspeed/ops/transformer/transformer.py:377
↓ 1 callersMethodinit_weighting
(self)
DeepSpeedExample/megatron/deprecated_data_utils/datasets.py:493
↓ 1 callersMethodinitial_dynamic_scale
(self)
deepspeed/runtime/engine.py:824
↓ 1 callersFunctioninitialize
hls_smartInfinity/src/kernel_cpp/g16_adam.cpp:27
↓ 1 callersMethodinitialize_ds_offload
( self, module, timers, ds_config, overlap_comm, prefetch_buck
deepspeed/runtime/zero/stage3.py:355
↓ 1 callersMethodinitialize_from_swapped_fp16_params
(self, fp16_partitions_info, fp16_num_elems, fp16_pinned_buffers,
deepspeed/runtime/swap_tensor/pipelined_optimizer_swapper.py:86
↓ 1 callersMethodinitialize_gradient_partitioning_data_structures
(self)
deepspeed/runtime/zero/stage_1_and_2.py:663
↓ 1 callersMethodinitialize_last_stage_with_word_embeddings
(self)
DeepSpeedExample/megatron/core/models/gpt/gpt_model.py:150
↓ 1 callersMethodinitialize_optimizer_states
Take an optimizer step with zero-valued gradients to allocate internal optimizer state. This helps prevent memory fragmentation by al
deepspeed/runtime/bf16_optimizer.py:200
↓ 1 callersMethodinitialize_optimizer_states
(self)
deepspeed/runtime/zero/stage3.py:908
↓ 1 callersMethodinitialize_optimizer_states
(self)
deepspeed/runtime/zero/stage_1_and_2.py:605
↓ 1 callersMethodinitialize_optimizer_states
(self)
deepspeed/runtime/fp16/fused_optimizer.py:117
↓ 1 callersMethodinitialize_optimizer_states
(self)
deepspeed/runtime/fp16/unfused_optimizer.py:408
↓ 1 callersMethodinsert
(self, idx, other)
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:93
↓ 1 callersFunctionis_builtin_type
(obj)
deepspeed/runtime/zero/parameter_offload.py:20
↓ 1 callersMethodis_change_dp_degree
(self)
deepspeed/checkpoint/deepspeed_checkpoint.py:82
↓ 1 callersMethodis_change_pp_degree
(self)
deepspeed/checkpoint/deepspeed_checkpoint.py:79
↓ 1 callersMethodis_change_tp_degree
(self)
deepspeed/checkpoint/deepspeed_checkpoint.py:76
↓ 1 callersMethodis_cuda_enable
(self)
deepspeed/ops/op_builder/builder.py:349
↓ 1 callersFunctionis_even
(number)
deepspeed/runtime/pipe/engine.py:30
↓ 1 callersFunctionis_first_microbatch_for_model_chunk
Check if an iteration is the first for a model chunk.
DeepSpeedExample/megatron/core/pipeline_parallel/schedules.py:495
↓ 1 callersMethodis_in_use
Whether the current buffer hold on to any memory.
DeepSpeedExample/megatron/memory.py:79
↓ 1 callersMethodis_invalid_trace
(self)
deepspeed/runtime/zero/partitioned_param_coordinator.py:128
↓ 1 callersMethodis_iterable_style_dataset
(obj)
deepspeed/runtime/engine.py:1573
↓ 1 callersMethodis_kernel_available
(self, mask, b, np, sq, sk)
DeepSpeedExample/megatron/core/fusions/fused_softmax.py:152
↓ 1 callersMethodis_kernel_available
(self, mask, b, np, sq, sk)
DeepSpeedExample/megatron/model/fused_softmax.py:164
↓ 1 callersMethodis_map_style_dataset
(obj)
deepspeed/runtime/engine.py:1569
↓ 1 callersFunctionis_pipeline_first_stage
Return True if in the first pipeline model-parallel stage, False otherwise.
DeepSpeedExample/megatron/core/parallel_state.py:543
↓ 1 callersFunctionis_pipeline_last_stage
Return True if in the last pipeline model-parallel stage, False otherwise.
DeepSpeedExample/megatron/core/parallel_state.py:554
↓ 1 callersFunctionis_pipeline_stage_after_split
Return True if pipeline stage executes decoder block for a model with both encoder and decoder.
DeepSpeedExample/megatron/core/parallel_state.py:603
↓ 1 callersFunctionis_pipeline_stage_before_split
Return True if pipeline stage executes encoder block for a model with both encoder and decoder.
DeepSpeedExample/megatron/core/parallel_state.py:588
↓ 1 callersMethodis_qkv
(self, data)
deepspeed/runtime/weight_quantizer.py:38
↓ 1 callersFunctionis_similar
(jaccard_similarity)
DeepSpeedExample/tools/openwebtext/group_duplicates_url.py:21
↓ 1 callersMethodis_synchronized_device
(self)
deepspeed/accelerator/cpu_accelerator.py:21
↓ 1 callersFunctionis_torch_two
()
deepspeed/comm/torch.py:15
↓ 1 callersFunctionis_zero_supported_optimizer
(optimizer)
deepspeed/runtime/zero/utils.py:52
↓ 1 callersFunctionisinstance_namedtuple
Is this an instance of namedtuple/NamedTuple? From: https://stackoverflow.com/a/62692640 Args: obj (object): An object. Ret
deepspeed/runtime/zero/parameter_offload.py:25
↓ 1 callersFunctionjaccard
(set_a, set_b)
DeepSpeedExample/tools/openwebtext/find_duplicates.py:33
↓ 1 callersMethodjit_load
(self, verbose=True)
deepspeed/ops/op_builder/builder.py:456
↓ 1 callersMethodlayernorm
Returns LayerNorms used in transformer layer Post-Attention and pre/post layer norm gamma and beta with shape: (hidden)
deepspeed/module_inject/policy.py:103
↓ 1 callersMethodlibraries_args
(self)
deepspeed/ops/op_builder/builder.py:686
↓ 1 callersMethodlibraries_args
(self)
deepspeed/ops/op_builder/cpu/builder.py:33
↓ 1 callersMethodload_attributes
Load the necessary attributes: model, dataloader and empty BlockData
DeepSpeedExample/megatron/indexer.py:35
↓ 1 callersMethodload_balance
(sizes, block)
deepspeed/ops/sparse_attention/matmul.py:208
↓ 1 callersMethodload_checkpoint
Load training checkpoint Arguments: load_dir: Required. Directory to load the checkpoint from tag: Checkpoin
deepspeed/runtime/engine.py:2559
↓ 1 callersMethodload_from_file
Populate members from instance saved to file
DeepSpeedExample/megatron/data/realm_index.py:48
↓ 1 callersFunctionload_ict_checkpoint
selectively load ICT models for indexing/retrieving from ICT or REALM checkpoints
DeepSpeedExample/megatron/checkpointing.py:313
↓ 1 callersMethodload_json_stream
(self, load_path)
DeepSpeedExample/megatron/deprecated_data_utils/datasets.py:451
↓ 1 callersMethodload_module_state_dict
(self, checkpoint, strict=True, custom_load_fn=None)
deepspeed/runtime/engine.py:2469
↓ 1 callersMethodload_params
(self, module, sd, weight_quantizer, mp_replace, prefix)
deepspeed/module_inject/containers/opt.py:58
↓ 1 callersFunctionload_spatial_module
()
deepspeed/ops/transformer/inference/diffusers_transformer_block.py:28
↓ 1 callersMethodload_spm_model
load sentencepiece model and parse vocab
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:639
↓ 1 callersMethodload_state_dict
(self, state_dict_list, checkpoint_folder,
deepspeed/runtime/bf16_optimizer.py:365
↓ 1 callersMethodload_state_dict
r""" Loading the MiCS checkpoints TODO: move the implementation from zhen/merged_ds_master branch
deepspeed/runtime/zero/mics.py:444
↓ 1 callersMethodload_state_dict
r"""Loading a ZeRO checkpoint Arguments: state_dict_list: List of all saved ZeRO checkpoints, one for each saved partition.
deepspeed/runtime/zero/stage3.py:2431
↓ 1 callersMethodload_state_dict
(self, state_dict_list, load_optimizer_states=True,
deepspeed/runtime/zero/stage_1_and_2.py:2097
← previousnext →2,101–2,200 of 4,989, ranked by callers