MCPcopy Create free account

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

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

Method__len__
(self)
deepspeed/runtime/data_pipeline/data_sampling/data_sampler.py:114
Method__len__
(self)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:200
Method__len__
(self)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:476
Method__len__
(self)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:511
Method__new__
(cls, *values)
deepspeed/inference/config.py:25
Method__new__
(cls, *values)
deepspeed/runtime/config.py:103
Method__new__
(cls, val, custom_print_str=None)
deepspeed/runtime/config_utils.py:127
Method__next__
(self)
deepspeed/runtime/dataloader.py:115
Method__next__
(self)
deepspeed/runtime/pipe/schedule.py:129
Function__nv_bfloat16 to
deepspeed/ops/csrc/includes/conversion_utils.h:65
Function__nv_bfloat162 to
deepspeed/ops/csrc/includes/conversion_utils.h:409
Method__post_init__
Python dataclass method that is used to modify attributes after initialization. See https://docs.python.org/3/library/dataclasses.html#po
DeepSpeedExample/megatron/core/model_parallel_config.py:148
Method__post_init__
Python dataclass method that is used to modify attributes after initialization. See https://docs.python.org/3/library/dataclasses.html#po
DeepSpeedExample/megatron/core/transformer/transformer_config.py:147
Method__repr__
(self)
deepspeed/inference/config.py:34
Method__repr__
(self)
deepspeed/runtime/config.py:112
Method__repr__
(self)
deepspeed/runtime/sparse_tensor.py:67
Method__repr__
(self)
deepspeed/runtime/config_utils.py:132
Method__repr__
(self)
deepspeed/runtime/config_utils.py:177
Method__repr__
(self)
deepspeed/runtime/pipe/schedule.py:343
Method__repr__
(self)
deepspeed/runtime/pipe/module.py:65
Method__repr__
(self)
deepspeed/runtime/fp16/fused_optimizer.py:471
Method__repr__
(self)
deepspeed/runtime/fp16/unfused_optimizer.py:405
Method__repr__
(self)
deepspeed/compression/basic_layer.py:422
Method__repr__
(self)
deepspeed/elasticity/config.py:109
Method__setitem__
(self, param: Parameter, handle: AllGatherCoalescedHandle)
deepspeed/runtime/zero/partitioned_param_coordinator.py:46
Method__setstate__
(self, state)
DeepSpeedExample/megatron/data/indexed_dataset.py:457
Method__setstate__
(self, state)
DeepSpeedExample/megatron/fp16/fp16.py:265
Method__setstate__
(self, state)
deepspeed/ops/adagrad/cpu_adagrad.py:31
Method__setstate__
(self, state)
deepspeed/ops/adam/cpu_adam.py:114
Method__setstate__
(self, state)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:491
Method__str__
(self)
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:156
Method__str__
(self)
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:187
Method__str__
(self)
deepspeed/runtime/pipe/topology.py:213
Function_add_flops_compute
(input, other, *, alpha=1, out=None)
deepspeed/profiling/flops_profiler/profiler.py:712
Function_addmm_flops_compute
Count flops for the addmm operation.
deepspeed/profiling/flops_profiler/profiler.py:670
Method_alternate_post_backward_module_hook
(module, inputs)
deepspeed/runtime/zero/parameter_offload.py:432
Function_backward
(X, scale, DX, LUT, sizemax, stride_zx, stride_zdx, **meta)
deepspeed/ops/sparse_attention/softmax.py:93
Function_batch_norm_flops_compute
( input, running_mean, running_var, weight=None, bias=None, training=False, moment
deepspeed/profiling/flops_profiler/profiler.py:570
Function_batched_p2p_ops
(*, tensor_send_prev: Optional[torch.Tensor], tensor_recv_prev: Opti
DeepSpeedExample/megatron/core/pipeline_parallel/p2p_communication.py:111
Function_bias_dropout_add
(x, bias, residual, prob)
DeepSpeedExample/megatron/model/transformer.py:429
Function_block
deepspeed/ops/csrc/includes/reduction_utils.h:395
Method_build_causal_attention_mask
(self, bsz, seq_len, dtype)
deepspeed/model_implementations/transformers/clip_encoder.py:27
Function_build_sample_idx
Sample index mapping is a 2D array with sizes [number-of-samples + 1, 2] where [..., 0] contains the index into `doc_idx` and [..., 1] is the
DeepSpeedExample/megatron/data/gpt2_dataset.py:261
Function_builder
()
deepspeed/ops/op_builder/__init__.py:32
Function_chunk
deepspeed/ops/csrc/includes/quantization_utils.h:344
Method_combine_output_splits
(self, outputs)
deepspeed/runtime/zero/tiling.py:284
Method_continuous_interval
(self)
deepspeed/runtime/lr_schedules.py:327
Function_conv_flops_compute
(input, weight, bias=None, stride=1, padding=0, dilation=1, groups=1)
deepspeed/profiling/flops_profiler/profiler.py:490
Function_conv_trans_flops_compute
( input, weight, bias=None, stride=1, padding=0, output_padding=0, groups=1, d
deepspeed/profiling/flops_profiler/profiler.py:524
Method_convert_to_deepspeed_param
(self, param)
deepspeed/runtime/zero/mics.py:149
Method_convert_to_zero_parameters
overload the parent class function for convert the parameters
deepspeed/runtime/zero/mics.py:326
Method_create_cuda_graph
Create CUDA graph(s)
deepspeed/model_implementations/features/cuda_graph.py:16
Function_create_expert_and_data_parallel
Create expert and data parallel groups. Note: Caller of this function is responsible to check if the groups already exist.
deepspeed/utils/groups.py:108
Function_create_expert_data_and_model_parallel
Create expert and data parallel groups based on MPU (model parallel) group. Note: Caller of this function is responsible to check if
deepspeed/utils/groups.py:202
Function_create_model_parallel
Initialize model data parallel groups. Arguments: model_parallel_size: number of GPUs used to parallelize model. Returns:
deepspeed/utils/groups.py:59
Function_cross_entropy_forward_step
Simple forward step with cross-entropy loss.
DeepSpeedExample/tasks/finetune_utils.py:48
Method_dds_matmul
(a, b, trans_a, trans_b, trans_c, spdims, block, lut, num_locks, width, packs, bench, time)
deepspeed/ops/sparse_attention/matmul.py:473
Method_disable_class
(cls)
deepspeed/runtime/zero/partition_parameters.py:480
Function_dropout_flops_compute
(input, p=0.5, training=True, inplace=False)
deepspeed/profiling/flops_profiler/profiler.py:658
Method_dsd_matmul
(a, b, trans_a, trans_b, trans_c, spdims, block, lut, num_locks, width, packs, bench, time)
deepspeed/ops/sparse_attention/matmul.py:524
Method_dump_param_ids
(self, tag, mod_id, p_ids, step_id=None)
deepspeed/runtime/zero/partitioned_param_coordinator.py:221
Method_dump_params
(self, tag, sub_module, params, step_id=None)
deepspeed/runtime/zero/partitioned_param_coordinator.py:215
Function_einsum_flops_compute
Count flops for the einsum operation.
deepspeed/profiling/flops_profiler/profiler.py:678
Function_elu_flops_compute
(input: Tensor, alpha: float = 1.0, inplace: bool = False)
deepspeed/profiling/flops_profiler/profiler.py:458
Function_embedding_flops_compute
( input, weight, padding_idx=None, max_norm=None, norm_type=2.0, scale_grad_by_freq=Fa
deepspeed/profiling/flops_profiler/profiler.py:646
Method_enable_class
(cls)
deepspeed/runtime/zero/partition_parameters.py:395
Method_end_of_forward_hook
(module, *args)
deepspeed/runtime/zero/parameter_offload.py:326
Method_exec_backward_pass
(self, buffer_id)
deepspeed/runtime/pipe/engine.py:680
Method_exec_forward_pass
(self, buffer_id)
deepspeed/runtime/pipe/engine.py:600
Method_exec_load_micro_batch
(self, buffer_id)
deepspeed/runtime/pipe/engine.py:754
Method_exec_optimizer_step
(self, lr_kwargs=None)
deepspeed/runtime/pipe/engine.py:1105
Method_exec_recv_activations
(self, buffer_id)
deepspeed/runtime/pipe/engine.py:1005
Method_exec_recv_grads
(self, buffer_id)
deepspeed/runtime/pipe/engine.py:1048
Method_exec_reduce_grads
(self)
deepspeed/runtime/pipe/engine.py:242
Method_exec_reduce_tied_grads
(self)
deepspeed/runtime/pipe/engine.py:225
Method_exec_send_activations
(self, buffer_id)
deepspeed/runtime/pipe/engine.py:913
Method_exec_send_grads
(self, buffer_id)
deepspeed/runtime/pipe/engine.py:949
Method_filter_helper
(x)
deepspeed/runtime/pipe/topology.py:184
Function_forward
(X, scale, LUT, RPE, KP_M, ATTN_M, sizemax, stride_zx, stride_zrpe, stride_hrpe, stride_srpe, stride_zkpm,
deepspeed/ops/sparse_attention/softmax.py:37
Method_fwd
(self, input)
deepspeed/runtime/utils.py:962
Method_fwd_bias_add
(self, input)
deepspeed/runtime/utils.py:965
Function_fwd_kernel
( Q, K, V, sm_scale, TMP, Out, stride_qz, stride_qh, stride_qm, stride
deepspeed/ops/transformer/inference/triton_ops.py:16
Function_gelu_flops_compute
(input, **kwargs)
deepspeed/profiling/flops_profiler/profiler.py:474
Function_get_broadcast_src_rank
()
deepspeed/utils/groups.py:330
Function_get_data_parallel_rank
Return my rank for the data parallel group.
deepspeed/utils/groups.py:382
Function_get_data_parallel_world_size
Return world size for the data parallel group.
deepspeed/utils/groups.py:366
Function_get_expert_broadcast_src_rank
(group_name)
deepspeed/utils/groups.py:334
Function_get_expert_data_parallel_group_dict
Get the expert data parallel group dict.
deepspeed/utils/groups.py:299
Function_get_expert_data_parallel_rank
Return my rank for the expert data parallel group.
deepspeed/utils/groups.py:361
Function_get_expert_data_parallel_world_size
Return world size for the expert data parallel group.
deepspeed/utils/groups.py:343
Function_get_expert_model_parallel_world_size
()
deepspeed/utils/groups.py:390
Function_get_expert_parallel_group_dict
Get the expert parallel group dict.
deepspeed/utils/groups.py:287
Function_get_expert_parallel_rank
Return my rank for the expert parallel group.
deepspeed/utils/groups.py:348
Function_get_expert_parallel_src_rank
Calculate the global rank corresponding to a local rank zero in the expert parallel group.
deepspeed/utils/groups.py:353
Method_get_gamma
(self)
deepspeed/runtime/lr_schedules.py:754
Method_get_loss_scale
(self)
DeepSpeedExample/megatron/fp16/fp16.py:626
Method_get_loss_scale
(self)
deepspeed/runtime/zero/stage3.py:2235
Method_get_loss_scale
(self)
deepspeed/runtime/zero/stage_1_and_2.py:1929
Method_get_loss_scale
(self)
deepspeed/runtime/fp16/fused_optimizer.py:475
Method_get_loss_scale
(self)
deepspeed/runtime/fp16/unfused_optimizer.py:320
← previousnext →3,201–3,300 of 4,989, ranked by callers