MCPcopy Create free account

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

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

↓ 1 callersMethod__init__
(self, config: TransformerConfig, module: torch.nn.Module)
DeepSpeedExample/megatron/core/transformer/module.py:77
↓ 1 callersMethod__init__
(self, ict_head_size, num_tokentypes=1, parallel_output=Tru
DeepSpeedExample/megatron/model/realm_model.py:40
↓ 1 callersMethod__init__
(self, module, args)
DeepSpeedExample/megatron/model/module.py:155
↓ 1 callersMethod__init__
(self, num_tokentypes=2, add_binary_head=True, parallel_output=True)
DeepSpeedExample/megatron/model/bert_model.py:107
↓ 1 callersMethod__init__
(self, data_source, replacement=False, num_samples=None)
DeepSpeedExample/megatron/data/samplers.py:35
↓ 1 callersMethod__init__
(self, data_source, replacement=False, num_samples=None)
DeepSpeedExample/megatron/deprecated_data_utils/samplers.py:37
↓ 1 callersMethod__init__
(self, **kwargs)
DeepSpeedExample/megatron/deprecated_data_utils/corpora.py:48
↓ 1 callersMethod__init__
(self, path, tokenizer=None, preprocess_fn=None, delim=',', binarize_sent=False, drop_unlabel
DeepSpeedExample/megatron/deprecated_data_utils/datasets.py:225
↓ 1 callersMethod__init__
(self)
DeepSpeedExample/megatron/fp16/fp16util.py:35
↓ 1 callersMethod__init__
(self, m, n)
DeepSpeedExample/megatron/mpu/tests/test_layers.py:177
↓ 1 callersMethod__init__
(self, hidden_size, intermediate_size, heads, num_hidden_layers)
deepspeed/ops/transformer/inference/config.py:13
↓ 1 callersMethod__init__
(self, *args, **kwargs)
deepspeed/ops/transformer/inference/ds_attention.py:173
↓ 1 callersMethod__init__
(self, exps: list, resource_manager, metric)
deepspeed/autotuning/tuner/index_based_tuner.py:14
↓ 1 callersMethod__init__
(self, monitor_config)
deepspeed/monitor/monitor.py:16
↓ 1 callersMethod__init__
(self, ckpt_list, version, checkpoint_engine)
deepspeed/runtime/state_dict_factory.py:50
↓ 1 callersMethod__init__
(self, orig_layer, name="")
deepspeed/runtime/utils.py:955
↓ 1 callersMethod__init__
(self, optimizer, cycle_min_lr, cycle_max_lr,
deepspeed/runtime/lr_schedules.py:430
↓ 1 callersMethod__init__
(self, enable_micro_timers, enable_global_timers)
deepspeed/runtime/engine.py:149
↓ 1 callersMethod__init__
(self, micro_batches, stages, stage_id)
deepspeed/runtime/pipe/schedule.py:49
↓ 1 callersMethod__init__
(self, aio_handle, read_op, param_info, allocated_buffers, state_buffers, num_ops)
deepspeed/runtime/swap_tensor/pipelined_optimizer_swapper.py:21
↓ 1 callersMethod__init__
(self)
deepspeed/runtime/data_pipeline/data_routing/scheduler.py:17
↓ 1 callersMethod__init__
(self, scale=1)
deepspeed/runtime/fp16/loss_scaler.py:79
↓ 1 callersMethod__init__
(self)
deepspeed/module_inject/policy.py:29
↓ 1 callersMethod__init__
(self, **kwargs)
deepspeed/module_inject/containers/distil_bert.py:15
↓ 1 callersMethod__init__
(self, **kwargs)
deepspeed/module_inject/containers/gptneo.py:22
↓ 1 callersMethod__init__
(self, **kwargs)
deepspeed/module_inject/containers/clip.py:15
↓ 1 callersMethod__init__
(self, **kwargs)
deepspeed/module_inject/containers/opt.py:21
↓ 1 callersMethod__init__
(self, **kwargs)
deepspeed/module_inject/containers/gpt2.py:13
↓ 1 callersMethod__init__
(self, **kwargs)
deepspeed/module_inject/containers/bert.py:15
↓ 1 callersMethod__init__
(self, client_module, inference=True, use_load_prefix=True, split_qkv=False)
deepspeed/module_inject/containers/bloom.py:87
↓ 1 callersMethod__init__
(self, client_module, inference=True)
deepspeed/module_inject/containers/llama.py:105
↓ 1 callersMethod__init__
(self, client_module, inference=True)
deepspeed/module_inject/containers/megatron_gpt.py:42
↓ 1 callersMethod__init__
(self, client_module, inference=True, megatron_v2=True, split_qkv=False)
deepspeed/module_inject/containers/gptneox.py:93
↓ 1 callersMethod__init__
(self, client_module, inference=True)
deepspeed/module_inject/containers/megatron_gpt_moe.py:42
↓ 1 callersMethod__init__
(self, **kwargs)
deepspeed/module_inject/containers/gptj.py:22
↓ 1 callersMethod__init__
(self, model_dim: int, num_experts: int, k: int = 1,
deepspeed/moe/sharded_moe.py:361
↓ 1 callersMethod__next__
(self)
deepspeed/runtime/dataloader.py:32
↓ 1 callersMethod__params_to_release
(self, submodule_to_release: Module, step_id: int)
deepspeed/runtime/zero/partitioned_param_coordinator.py:403
↓ 1 callersMethod__prefetch_nvme_param_partitions
swap in parameter partitions from nvme for those parameters that will be used after the ones that are already being prefetched into full param
deepspeed/runtime/zero/partitioned_param_coordinator.py:434
↓ 1 callersMethod__str__
(self)
deepspeed/runtime/sparse_tensor.py:59
↓ 1 callersFunction_add_activation_checkpoint_args
(parser)
DeepSpeedExample/megatron/arguments.py:600
↓ 1 callersFunction_add_autoresume_args
(parser)
DeepSpeedExample/megatron/arguments.py:493
↓ 1 callersFunction_add_checkpointing_args
(parser)
DeepSpeedExample/megatron/arguments.py:356
↓ 1 callersFunction_add_core_arguments
r"""Helper (internal) function to update an argument parser with an argument group of the core DeepSpeed arguments. The core set of DeepSpeed
deepspeed/__init__.py:196
↓ 1 callersFunction_add_data_args
(parser)
DeepSpeedExample/megatron/arguments.py:449
↓ 1 callersFunction_add_distributed_args
(parser)
DeepSpeedExample/megatron/arguments.py:412
↓ 1 callersFunction_add_initialization_args
(parser)
DeepSpeedExample/megatron/arguments.py:304
↓ 1 callersFunction_add_learning_rate_args
(parser)
DeepSpeedExample/megatron/arguments.py:317
↓ 1 callersFunction_add_memoryopt_args
Memory optimization arguments.
DeepSpeedExample/megatron/arguments.py:576
↓ 1 callersFunction_add_mixed_precision_args
(parser)
DeepSpeedExample/megatron/arguments.py:381
↓ 1 callersFunction_add_network_size_args
(parser)
DeepSpeedExample/megatron/arguments.py:186
↓ 1 callersFunction_add_realm_args
(parser)
DeepSpeedExample/megatron/arguments.py:505
↓ 1 callersFunction_add_regularization_args
(parser)
DeepSpeedExample/megatron/arguments.py:231
↓ 1 callersFunction_add_training_args
(parser)
DeepSpeedExample/megatron/arguments.py:255
↓ 1 callersFunction_add_validation_args
(parser)
DeepSpeedExample/megatron/arguments.py:436
↓ 1 callersFunction_add_zero_args
Text generate arguments.
DeepSpeedExample/megatron/arguments.py:544
↓ 1 callersMethod_adjust_for_misaligned_lengths
(self, tensors, offsets)
deepspeed/runtime/swap_tensor/optimizer_utils.py:581
↓ 1 callersMethod_aggregate_total_loss
(self)
deepspeed/runtime/pipe/engine.py:512
↓ 1 callersMethod_all_gather
(self, param_list, async_op=False, hierarchy=None)
deepspeed/runtime/zero/partition_parameters.py:1059
↓ 1 callersMethod_allgather_param
(self, param, async_op=False, hierarchy=0)
deepspeed/runtime/zero/partition_parameters.py:1215
↓ 1 callersMethod_allgather_params
(self, param_list, hierarchy=0)
deepspeed/runtime/zero/partition_parameters.py:1333
↓ 1 callersMethod_allgather_params_coalesced
blocking call avoid explicit memory copy in _allgather_params
deepspeed/runtime/zero/partition_parameters.py:1268
↓ 1 callersFunction_apply_forward_and_backward_to_tensors_only
(module, forward_function, backward_function, outputs)
deepspeed/runtime/zero/parameter_offload.py:95
↓ 1 callersMethod_autotuning_exit
(self)
deepspeed/runtime/engine.py:2139
↓ 1 callersMethod_average_expert_grad_norms
(self, norm_groups)
deepspeed/runtime/zero/stage_1_and_2.py:1781
↓ 1 callersMethod_batch_assertion
(self)
deepspeed/runtime/config.py:878
↓ 1 callersMethod_bcast_pipe_scalar
(self, data, src_rank=None, dtype=torch.float32)
deepspeed/runtime/pipe/engine.py:497
↓ 1 callersMethod_bf16_reduce_grads
(self)
deepspeed/runtime/pipe/engine.py:254
↓ 1 callersMethod_build
(self)
deepspeed/runtime/pipe/module.py:208
↓ 1 callersMethod_build_data_iter
(self, dataset)
deepspeed/runtime/pipe/engine.py:215
↓ 1 callersFunction_build_doc_idx
Build an array with length = number-of-epochs * number-of-dcuments. Each index is mapped to a corresponding document.
DeepSpeedExample/megatron/data/gpt2_dataset.py:250
↓ 1 callersFunction_build_file_index
Build an index of source files and their basenames in a given directory. Args: directory (string): the directory to index suffix
deepspeed/ops/sparse_attention/trsrc/__init__.py:10
↓ 1 callersMethod_build_global_state
(self)
deepspeed/checkpoint/deepspeed_checkpoint.py:107
↓ 1 callersFunction_build_index_mappings
Build doc-idx, sample-idx, and shuffle-idx. doc-idx: is an array (ordered) of documents to be used in training. sample-idx: is the start docum
DeepSpeedExample/megatron/data/gpt2_dataset.py:139
↓ 1 callersFunction_build_infinite_size_dataloader
Build a looped dataloader with infinite size.
DeepSpeedExample/tasks/finetune_utils.py:95
↓ 1 callersFunction_build_key_size_numel_dictionaries
(keys, data, group=None, rank=-1, src_rank=-1)
DeepSpeedExample/megatron/core/tensor_parallel/data.py:26
↓ 1 callersFunction_build_key_size_numel_dictionaries
Build the size on rank 0 and broadcast.
DeepSpeedExample/megatron/mpu/data.py:33
↓ 1 callersFunction_build_lambada_dataset
Build lambada dataset.
DeepSpeedExample/tasks/zeroshot_gpt2/datasets.py:129
↓ 1 callersMethod_build_layers
(self)
DeepSpeedExample/megatron/core/transformer/transformer_block.py:49
↓ 1 callersMethod_build_p2p_groups
Groups for sending and receiving activations and gradients across model parallel stages.
deepspeed/runtime/pipe/topology.py:373
↓ 1 callersMethod_build_pp_transformer_map
(self)
deepspeed/checkpoint/deepspeed_checkpoint.py:208
↓ 1 callersFunction_build_shuffle_idx
Build the range [0, size) and shuffle.
DeepSpeedExample/megatron/data/gpt2_dataset.py:310
↓ 1 callersFunction_build_train_valid_dataloaders
Traing and validation dataloaders.
DeepSpeedExample/tasks/finetune_utils.py:106
↓ 1 callersMethod_build_transformer_file_map
(self)
deepspeed/checkpoint/deepspeed_checkpoint.py:221
↓ 1 callersFunction_build_wikitext103_dataset
()
DeepSpeedExample/tasks/zeroshot_gpt2/datasets.py:142
↓ 1 callersMethod_cast_inputs_half
(self, inputs)
deepspeed/runtime/engine.py:1763
↓ 1 callersFunction_check_arg_is_not_none
(args, arg)
DeepSpeedExample/megatron/arguments.py:182
↓ 1 callersFunction_check_data_types
Check that all the keys have the same target data type.
DeepSpeedExample/megatron/core/tensor_parallel/data.py:19
↓ 1 callersFunction_check_data_types
Check that all the keys have the same target data type.
DeepSpeedExample/megatron/mpu/data.py:26
↓ 1 callersMethod_check_disk_space
(self)
setup/nvme_speed_test.py:177
↓ 1 callersMethod_check_for_duplicates
(self, optimizer)
deepspeed/runtime/engine.py:1089
↓ 1 callersMethod_check_overflow
(self)
DeepSpeedExample/megatron/fp16/fp16.py:294
↓ 1 callersMethod_check_overflow
(self, partition_gradients=True)
deepspeed/runtime/zero/stage3.py:2039
↓ 1 callersMethod_check_overflow
(self, partition_gradients=True)
deepspeed/runtime/zero/stage_1_and_2.py:1808
↓ 1 callersMethod_checkpoint_tag_validation
(self, tag)
deepspeed/runtime/engine.py:2847
↓ 1 callersMethod_checkpointed_attention_forward
Forward method with selective activation checkpointing.
DeepSpeedExample/megatron/core/transformer/attention.py:62
↓ 1 callersMethod_checkpointed_forward
Forward method with activation checkpointing.
DeepSpeedExample/megatron/core/transformer/transformer_block.py:126
↓ 1 callersMethod_checkpointed_forward
Forward method with activation checkpointing.
DeepSpeedExample/megatron/model/transformer.py:948
↓ 1 callersMethod_clean_text
Performs invalid character removal and whitespace cleanup on text.
DeepSpeedExample/megatron/deprecated_data_utils/wordpiece.py:280
↓ 1 callersMethod_clean_text
Performs invalid character removal and whitespace cleanup on text.
DeepSpeedExample/megatron/tokenizer/bert_tokenization.py:289
← previousnext →1,201–1,300 of 4,989, ranked by callers