MCPcopy Create free account

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

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

↓ 15 callersMethodstate_dict
(self)
deepspeed/runtime/lr_schedules.py:619
↓ 15 callersMethodupdate_records
(self, space_name, exp, metric_val, num_exps)
deepspeed/autotuning/autotuner.py:707
↓ 15 callersMethodwrite
(self, sizes, doc_idx)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:400
↓ 14 callersMethodGetWorkSpace
deepspeed/ops/csrc/transformer/inference/includes/inference_context.h:183
↓ 14 callersMethodclear
Clear experiment queues, does not reset self.experiment_count
deepspeed/autotuning/scheduler.py:247
↓ 14 callersMethodexists
(path)
DeepSpeedExample/megatron/data/indexed_dataset.py:201
↓ 14 callersMethodflush
(self)
deepspeed/monitor/tensorboard.py:54
↓ 14 callersFunctionrecursive_getattr
Recursively get the attribute of a module. Args: model (`torch.nn.Module`) The model to get the attribute from. m
deepspeed/compression/helper.py:17
↓ 14 callersFunctionset_random_seed
Set random seed for reproducability.
DeepSpeedExample/megatron/mpu/tests/commons.py:34
↓ 14 callersMethodwrite
given a generator of metrics for each of the data points X_i, write the metrics, text, and labels to a csv file
DeepSpeedExample/megatron/deprecated_data_utils/datasets.py:299
↓ 13 callersMethodGetMaxTokenLength
deepspeed/ops/csrc/transformer/inference/includes/inference_context.h:178
↓ 13 callersMethodfree
(self, buffers)
deepspeed/runtime/swap_tensor/utils.py:216
↓ 13 callersFunctionget_model_parallel_group
Get the model parallel group the caller rank belongs to.
DeepSpeedExample/megatron/mpu/initialize.py:97
↓ 13 callersMethodget_param_id
(self, param)
deepspeed/runtime/zero/stage3.py:1083
↓ 13 callersMethodget_param_id
(self, param)
deepspeed/runtime/zero/stage_1_and_2.py:817
↓ 13 callersFunctionget_tensor_model_parallel_rank
Return my rank for the tensor model parallel group.
DeepSpeedExample/megatron/core/parallel_state.py:505
↓ 13 callersMethodis_last_stage
True if this process is in the last stage in the pipeline.
deepspeed/runtime/pipe/engine.py:462
↓ 13 callersMethodprint_allocation
(self, resolution=200)
deepspeed/runtime/zero/contiguous_memory_allocator.py:121
↓ 13 callersFunctionprint_separator
(message)
DeepSpeedExample/megatron/mpu/tests/commons.py:76
↓ 13 callersMethodwait
(self)
deepspeed/runtime/swap_tensor/pipelined_optimizer_swapper.py:33
↓ 13 callersMethodwrite
(self, sizes, doc_idx)
DeepSpeedExample/megatron/data/indexed_dataset.py:363
↓ 12 callersMethodStream
(self)
deepspeed/accelerator/cpu_accelerator.py:85
↓ 12 callersFunctionclose_mmap_dataset_builder
(builder, fname)
deepspeed/runtime/data_pipeline/data_sampling/utils.py:52
↓ 12 callersFunctioncreate_mmap_dataset_builder
(fname, dtype)
deepspeed/runtime/data_pipeline/data_sampling/utils.py:47
↓ 12 callersMethodcupy2torch
(self, cupy_tensor)
deepspeed/runtime/compression/cupy.py:19
↓ 12 callersFunctionget_model_parallel_rank
Return my rank for the model parallel group.
DeepSpeedExample/megatron/mpu/initialize.py:131
↓ 12 callersMethodgradient_accumulation_steps
(self)
deepspeed/runtime/engine.py:777
↓ 12 callersMethodmp_size
(self)
deepspeed/autotuning/autotuner.py:247
↓ 12 callersMethodquantize
(self, inputs, qkv=True, count=1, parallel_dim=0)
deepspeed/module_inject/replace_module.py:152
↓ 12 callersMethodrelease_tensor
(self, tensor)
deepspeed/runtime/zero/contiguous_memory_allocator.py:97
↓ 12 callersMethodwrite
deepspeed/ops/csrc/aio/py_lib/deepspeed_py_aio_handle.cpp:102
↓ 11 callersMethod_io_aligned_numel
(self, numel)
deepspeed/runtime/swap_tensor/optimizer_utils.py:680
↓ 11 callersMethoddecode
(self, *inputs, **kwargs)
deepspeed/model_implementations/diffusers/vae.py:55
↓ 11 callersMethodget_dim
Return the number of processes along the given axis. For example: >>> X = ProcessTopology(axes=['x', 'y'], dims=[2,3])
deepspeed/runtime/pipe/topology.py:98
↓ 11 callersFunctionget_model_parallel_world_size
Return world size for the model parallel group.
DeepSpeedExample/megatron/mpu/initialize.py:117
↓ 11 callersMethodget_partition_dp_group
(self, param)
deepspeed/runtime/zero/partition_parameters.py:1515
↓ 11 callersMethodis_gradient_accumulation_boundary
Query whether the current micro-batch is at the boundary of gradient accumulation, and thus will trigger gradient reductions and
deepspeed/runtime/engine.py:1908
↓ 11 callersFunctionis_moe_param
(param: torch.Tensor)
deepspeed/moe/utils.py:23
↓ 11 callersFunctionis_zero_param
(parameter)
deepspeed/runtime/zero/partition_parameters.py:101
↓ 11 callersFunctioniter_params
(module: Module, recurse=False)
deepspeed/runtime/zero/partitioned_param_coordinator.py:30
↓ 11 callersFunctionmemory_to_string
(n, postfix="", units=None, precision=2)
deepspeed/autotuning/utils.py:416
↓ 11 callersMethodpin_memory
(self, tensor)
deepspeed/accelerator/cpu_accelerator.py:216
↓ 11 callersFunctionprint_rank_0
(message, debug=False, force=False)
deepspeed/runtime/zero/linear.py:30
↓ 11 callersFunctionquantize_weight
(weight)
deepspeed/module_inject/module_quantize.py:25
↓ 11 callersMethodset_rng_state
(self, new_state, device_index=None)
deepspeed/accelerator/cpu_accelerator.py:63
↓ 11 callersMethodtorch2cupy
(self, tensor)
deepspeed/runtime/compression/cupy.py:16
↓ 11 callersMethodzero_optimization_partition_weights
(self)
deepspeed/runtime/engine.py:717
↓ 10 callersMethod_swappable_optimizer_subgroup
(self, sub_group_id)
deepspeed/runtime/zero/stage3.py:880
↓ 10 callersMethodadd_export
(self, key, var)
deepspeed/launcher/multinode_runner.py:36
↓ 10 callersMethodcumsum
(sequence)
DeepSpeedExample/megatron/deprecated_data_utils/datasets.py:49
↓ 10 callersFunctiondivide
Ensure that numerator is divisible by the denominator and return the division value.
DeepSpeedExample/megatron/core/utils.py:23
↓ 10 callersMethodeigenvalue_enabled
(self)
deepspeed/runtime/engine.py:493
↓ 10 callersFunctioneinsum
(rule, a, b)
deepspeed/moe/sharded_moe.py:116
↓ 10 callersFunctionget_timers
Return timers.
DeepSpeedExample/megatron/global_vars.py:58
↓ 10 callersMethodmetric
(self)
deepspeed/autotuning/autotuner.py:238
↓ 10 callersMethodrandom
(self)
deepspeed/accelerator/cpu_accelerator.py:60
↓ 10 callersMethodtokenize
(self, *text)
DeepSpeedExample/tools/preprocess_data.py:52
↓ 10 callersMethodzero_optimization_stage
(self)
deepspeed/runtime/engine.py:702
↓ 9 callersFunction_communicate
Communicate tensors between stages. Used as helper method in other communication methods that are used in megatron/schedules.py. Arguments:
DeepSpeedExample/megatron/core/pipeline_parallel/p2p_communication.py:223
↓ 9 callersMethodadd
Track the rng state.
DeepSpeedExample/megatron/mpu/random.py:160
↓ 9 callersMethodadd
(self, b)
deepspeed/runtime/sparse_tensor.py:54
↓ 9 callersMethodall_gather_into_tensor
(self, output_tensor, input_tensor, group=None, async_op=False)
deepspeed/comm/torch.py:123
↓ 9 callersMethodallocate
(self, num_elems, count, dtype)
deepspeed/runtime/swap_tensor/utils.py:197
↓ 9 callersMethodbackward
(ctx, *args)
DeepSpeedExample/megatron/mpu/random.py:279
↓ 9 callersMethodeval
r
deepspeed/runtime/engine.py:1656
↓ 9 callersFunctionget_files_with_prefix
(all_files, prefix)
deepspeed/checkpoint/reshape_utils.py:17
↓ 9 callersFunctionget_inactive_params
(param_list)
deepspeed/runtime/utils.py:972
↓ 9 callersFunctionget_pipeline_model_parallel_rank
Return my rank for the pipeline model parallel group.
DeepSpeedExample/megatron/core/parallel_state.py:513
↓ 9 callersFunctionis_model_parallel_parameter
(p)
deepspeed/runtime/utils.py:78
↓ 9 callersMethodload_state_dict
(self, sd)
deepspeed/runtime/lr_schedules.py:622
↓ 9 callersMethodmemory_breakdown
(self)
deepspeed/runtime/engine.py:597
↓ 9 callersMethodsteps_per_print
(self)
deepspeed/runtime/engine.py:806
↓ 9 callersMethodstrided_copy
(self, dst: Optional[torch.Tensor], src: Optional[torch.Tensor],
deepspeed/module_inject/replace_module.py:48
↓ 9 callersMethodtrain_batch_size
(self)
deepspeed/runtime/engine.py:632
↓ 9 callersMethodtranspose_impl
(self, data)
deepspeed/module_inject/containers/base.py:278
↓ 9 callersMethodwrite_events
(self, event_list)
deepspeed/monitor/monitor.py:20
↓ 8 callersMethodByteTensor
(self)
deepspeed/accelerator/cpu_accelerator.py:193
↓ 8 callersMethodEncodeAsIds
encode text using text tokenizer and shift Id values for command tokens
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:319
↓ 8 callersMethodUseMean
deepspeed/ops/csrc/includes/normalize_layer.h:188
↓ 8 callersMethod__getattr__
Pass through attributes defined in the model if they are not overridden by ds-engine.
deepspeed/runtime/engine.py:449
↓ 8 callersFunction_compare
(arg_name)
DeepSpeedExample/megatron/checkpointing.py:47
↓ 8 callersMethod_valid_stage
(self, stage_id)
deepspeed/runtime/pipe/schedule.py:83
↓ 8 callersFunctionadd_to_logging
(name)
DeepSpeedExample/megatron/training.py:428
↓ 8 callersFunctionbwc_tensor_model_parallel_rank
Backwards-compatible way of querying the tensor model parallel rank from an ``mpu`` object. *Tensor* model parallelism means that tensors are
deepspeed/runtime/utils.py:88
↓ 8 callersFunctionclean_text
Remove new lines and multiple spaces and adjust end of sentence dot.
DeepSpeedExample/tasks/data_utils.py:22
↓ 8 callersMethoddata
(self)
deepspeed/runtime/utils.py:711
↓ 8 callersMethoddevice_count
(self)
deepspeed/accelerator/cpu_accelerator.py:40
↓ 8 callersMethodencode
(self, json_line)
DeepSpeedExample/tools/preprocess_data.py:78
↓ 8 callersMethodget_coord
Return the coordinate owned by a process rank. The axes of the returned namedtuple can be directly accessed as members. For example:
deepspeed/runtime/pipe/topology.py:110
↓ 8 callersFunctionget_pipeline_model_parallel_next_rank
Return the global rank that follows the caller in the pipeline
DeepSpeedExample/megatron/core/parallel_state.py:688
↓ 8 callersFunctionget_pipeline_model_parallel_prev_rank
Return the global rank that preceeds the caller in the pipeline
DeepSpeedExample/megatron/core/parallel_state.py:696
↓ 8 callersFunctionget_pipeline_model_parallel_world_size
Return world size for the pipeline model parallel group.
DeepSpeedExample/megatron/core/parallel_state.py:462
↓ 8 callersMethodgradient_clipping
(self)
deepspeed/runtime/engine.py:818
↓ 8 callersMethodgradient_predivide_factor
(self)
deepspeed/runtime/engine.py:803
↓ 8 callersFunctioninstrument_w_nvtx
decorator that causes an NVTX range to be recorded for the duration of the function call.
deepspeed/utils/nvtx.py:9
↓ 8 callersMethodis_available
(self)
deepspeed/accelerator/cpu_accelerator.py:160
↓ 8 callersMethodload_state_dict
(self, state_dict, strict=True)
DeepSpeedExample/megatron/fp16/fp16.py:84
↓ 8 callersMethodlog
Log a group of timers.
DeepSpeedExample/megatron/global_vars.py:221
↓ 8 callersMethodmatch
(self, module)
deepspeed/module_inject/containers/vae.py:24
↓ 8 callersMethodpartition
(param_list=None, hierarchy=0, has_been_updated=False)
deepspeed/runtime/zero/partition_parameters.py:948
← previousnext →101–200 of 4,989, ranked by callers