MCPcopy Create free account

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

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

Methodforward
(ctx, input_)
DeepSpeedExample/megatron/mpu/mappings.py:100
Methodforward
(ctx, input_)
DeepSpeedExample/megatron/mpu/mappings.py:116
Methodforward
(ctx, input_)
DeepSpeedExample/megatron/mpu/mappings.py:132
Methodforward
(self)
DeepSpeedExample/megatron/mpu/tests/test_layers.py:182
Methodforward
(self)
DeepSpeedExample/megatron/mpu/tests/test_layers.py:324
Methodforward
(self)
DeepSpeedExample/megatron/mpu/tests/commons.py:30
Methodforward
Applies forward phase of bert sparse self attention Arguments: hidden_states: required: hidden_states tensor of the bert model
deepspeed/ops/sparse_attention/bert_sparse_self_attention.py:51
Methodforward
Applies forward phase of sparse self attention Arguments: query: required: query tensor key: required: key tensor
deepspeed/ops/sparse_attention/sparse_self_attention.py:98
Methodforward
(ctx, x, scale, rpe, key_padding_mask, attn_mask, kp_mask_mode, attn_mask_mode, spdims, block, lut,
deepspeed/ops/sparse_attention/softmax.py:150
Methodforward
(ctx, a, b, trans_a, trans_b, trans_c, mode, spdims, block, c_lut, c_num_locks, c_width, c_packs,
deepspeed/ops/sparse_attention/matmul.py:578
Methodforward
(ctx, activations: torch.Tensor, sorted_indices: torch.Tensor, batch_first: bool)
deepspeed/ops/random_ltd/dropping_utils.py:85
Methodforward
(ctx, all_activations: torch.Tensor, layer_activations: torch.Tensor, sorted_indices: torch.Tensor,
deepspeed/ops/random_ltd/dropping_utils.py:109
Methodforward
(ctx, input, input_mask, self, grads, layer_id, attn_qkvw, attn_qkvb, attn_ow, attn_ob, attn_nw,
deepspeed/ops/transformer/transformer.py:146
Methodforward
(self, hidden_states, attention_mask=None, head_mask=None,
deepspeed/ops/transformer/transformer.py:397
Methodforward
(ctx, input, inter_w, inter_b, config, output_b, output_w, q_scales, q_groups, merge_count, mp_group,
deepspeed/ops/transformer/inference/moe_inference.py:112
Methodforward
(self, input, async_op=False)
deepspeed/ops/transformer/inference/moe_inference.py:154
Methodforward
(self, input, input_mask=None, attention_mask=None,
deepspeed/ops/transformer/inference/moe_inference.py:287
Methodforward
(self, input, residual, residual_norm, bias)
deepspeed/ops/transformer/inference/ds_mlp.py:91
Methodforward
(self, input, input_mask, head_mask=None, laye
deepspeed/ops/transformer/inference/ds_attention.py:125
Methodforward
(ctx, input, context, input_mask, config, attn_qkvw, attn_qw, attn_kw, attn_vw, attn_qkvb, num
deepspeed/ops/transformer/inference/diffusers_attention.py:37
Methodforward
(self, input, context=None, input_mask=None)
deepspeed/ops/transformer/inference/diffusers_attention.py:183
Methodforward
(self, hidden_states, context=None, timestep=None, **kwargs)
deepspeed/ops/transformer/inference/diffusers_transformer_block.py:82
Methodforward
(self, q, k, v, sm_scale, block_128=True)
deepspeed/ops/transformer/inference/triton_ops.py:112
Methodforward
(self, input: torch.Tensor, weight: torch.Tensor, bias: torch.
deepspeed/ops/transformer/inference/op_binding/linear.py:28
Methodforward
(self, input: torch.Tensor, residual: torch.Tensor, weight_int
deepspeed/ops/transformer/inference/op_binding/mlp_gemm.py:58
Methodforward
(self, query_key_value: torch.Tensor, attn_mask: torch.Tensor, heads: int, norm_factor: float,
deepspeed/ops/transformer/inference/op_binding/softmax_context.py:31
Methodforward
(self, input: torch.Tensor, weight: torch.Tensor, bias: torch.Tensor, weight_out: torch.Tensor)
deepspeed/ops/transformer/inference/op_binding/gelu_gemm.py:28
Methodforward
(self, hidden_state: torch.Tensor, residual: torch.Tensor, add
deepspeed/ops/transformer/inference/op_binding/residual_add.py:29
Methodforward
(self, input: torch.Tensor, weight: torch.Tensor, bias: torch.Tensor, gamma: torch.Tensor, bet
deepspeed/ops/transformer/inference/op_binding/qkv_gemm.py:53
Methodforward
(self, input: torch.Tensor, weight: torch.Tensor, async_op: bool = False)
deepspeed/ops/transformer/inference/op_binding/vector_matmul.py:32
Methodforward
(self, attn_scores: torch.Tensor, attn_mask: torch.Tensor, alibi: torch.Tensor, triangular: bool,
deepspeed/ops/transformer/inference/op_binding/softmax.py:47
Methodforward
Execute forward propagation Arguments: *inputs: Variable length input list **kwargs: variable length keyword argument
deepspeed/inference/engine.py:592
Methodforward
( self, input=None, input_mask=None, attention_mask=None,
deepspeed/model_implementations/transformers/ds_transformer.py:94
Methodforward
(self, *inputs, **kwargs)
deepspeed/model_implementations/transformers/clip_encoder.py:44
Methodforward
(self, *inputs, **kwargs)
deepspeed/model_implementations/diffusers/unet.py:35
Methodforward
(self, *inputs, **kwargs)
deepspeed/model_implementations/diffusers/vae.py:119
Methodforward
r"""Execute forward propagation Arguments: *inputs: Variable length input list **kwargs: variable length keyword argum
deepspeed/runtime/engine.py:1681
Methodforward
(ctx, input, weight, bias=None)
deepspeed/runtime/zero/linear.py:49
Methodforward
(self, input: Tensor)
deepspeed/runtime/zero/linear.py:170
Methodforward
(ctx, module, pre_backward_function, outputs)
deepspeed/runtime/zero/parameter_offload.py:156
Methodforward
(ctx, module, pre_backward_function, output)
deepspeed/runtime/zero/parameter_offload.py:176
Methodforward
(self, input_)
deepspeed/runtime/zero/tiling.py:128
Methodforward
(self, forward_input)
deepspeed/runtime/pipe/module.py:302
Methodforward
(self, hidden_states, **kwargs)
deepspeed/runtime/data_pipeline/data_routing/basic_layer.py:66
Methodforward
(ctx, run_function, all_outputs, *args)
deepspeed/runtime/activation_checkpointing/checkpointing.py:486
Methodforward
Args: inputs (`torch.FloatTensor`) The input matrix from which the binarizer computes the binary mask.
deepspeed/compression/utils.py:21
Methodforward
Args: inputs (`torch.FloatTensor`) The input which needs to be quantized num_bits (int, >=4)
deepspeed/compression/utils.py:68
Methodforward
Args: inputs (`torch.FloatTensor`) The input which needs to be quantized num_bits (int, >=4)
deepspeed/compression/utils.py:110
Methodforward
Args: inputs (`torch.FloatTensor`) The input which needs to be quantized num_bits (int)
deepspeed/compression/utils.py:154
Methodforward
Args: inputs (`torch.FloatTensor`) The input which needs to be quantized num_bits (int)
deepspeed/compression/utils.py:195
Methodforward
(self, input)
deepspeed/compression/basic_layer.py:109
Methodforward
(self, input, skip_bias_add=False)
deepspeed/compression/basic_layer.py:364
Methodforward
(self, input)
deepspeed/compression/basic_layer.py:581
Methodforward
(ctx, input_)
deepspeed/compression/basic_layer.py:702
Methodforward
(ctx, input_)
deepspeed/compression/basic_layer.py:714
Methodforward
(ctx, input_)
deepspeed/compression/basic_layer.py:726
Methodforward
(ctx, input_)
deepspeed/compression/basic_layer.py:738
Methodforward
(self, input_)
deepspeed/compression/basic_layer.py:785
Methodforward
(self, input_)
deepspeed/compression/basic_layer.py:820
Methodforward
(self, input)
deepspeed/module_inject/layers.py:23
Methodforward
(self, input)
deepspeed/module_inject/layers.py:49
Methodforward
(self, input)
deepspeed/module_inject/layers.py:87
Methodforward
`input_ids_shape` is expected to be [bsz x seqlen].
deepspeed/module_inject/layers.py:102
Methodforward
(self, hidden_states)
deepspeed/module_inject/layers.py:126
Methodforward
( ctx: Any, # TODO: replace with DS process group group: torch.distributed
deepspeed/moe/sharded_moe.py:93
Methodforward
(self, input: torch.Tensor, used_token: torch.Tensor = None, u
deepspeed/moe/sharded_moe.py:388
Methodforward
(self, *input: Tensor, **kwargs: Any)
deepspeed/moe/sharded_moe.py:472
Methodforward
(self, inputs)
deepspeed/moe/experts.py:25
Methodforward
MoE forward Arguments: hidden_states (Tensor): input to the layer used_token (Tensor, optional): default: None, mask
deepspeed/moe/layer.py:99
Methodforward
(ctx, input_, dim)
deepspeed/moe/mappings.py:67
Methodforward
(ctx, input_, dim)
deepspeed/moe/mappings.py:84
Functionforward_backward_no_pipelining
Run forward and backward passes with no pipeline parallelism (no inter-stage communication). Returns dictionary with losses. See get_fo
DeepSpeedExample/megatron/core/pipeline_parallel/schedules.py:302
Functionforward_backward_pipelining_with_interleaving
Run interleaved 1F1B schedule (model split into model chunks), with communication between pipeline stages as needed. Returns dictionary with
DeepSpeedExample/megatron/core/pipeline_parallel/schedules.py:367
Functionforward_backward_pipelining_without_interleaving
Run non-interleaved 1F1B schedule, with communication between pipeline stages. Returns dictionary with losses if the last stage, empty dict o
DeepSpeedExample/megatron/core/pipeline_parallel/schedules.py:986
Functionforward_step
Forward step.
DeepSpeedExample/pretrain_bert.py:69
Functionforward_step
Forward step.
DeepSpeedExample/pretrain_gpt2.py:89
Methodfree_cpu_locked_tensor
deepspeed/ops/csrc/aio/py_lib/deepspeed_py_aio_handle.cpp:295
Methodfree_grad_in_param_list
(self, param_list)
deepspeed/runtime/zero/stage3.py:1633
Methodfrom_json_file
(cls, json_file)
deepspeed/ops/transformer/transformer.py:137
Methodfrom_json_file
(cls, json_file)
deepspeed/ops/transformer/inference/config.py:121
Methodfrom_json_file
(cls, json_file)
deepspeed/ops/transformer/inference/moe_inference.py:103
Methodfrom_pretrained
Instantiate a PreTrainedBertModel from a pre-trained model file. Download and cache the pre-trained model file if needed.
DeepSpeedExample/megatron/deprecated_data_utils/tokenization_gpt2.py:97
Methodfrom_pretrained
Instantiate a PreTrainedBertModel from a pre-trained model file. Download and cache the pre-trained model file if needed.
DeepSpeedExample/megatron/tokenizer/gpt2_tokenization.py:98
Functionfused_gemm_gelu
deepspeed/ops/csrc/transformer/inference/csrc/pt_binding.cpp:1684
Functionfwd
DeepSpeedExample/megatron/fused_kernels/scaled_upper_triang_masked_softmax.cpp:34
Functionfwd
DeepSpeedExample/megatron/fused_kernels/scaled_masked_softmax.cpp:35
Functiongather_from_sequence_parallel_region
(input_, tensor_parallel_output_grad=True)
DeepSpeedExample/megatron/core/tensor_parallel/mappings.py:274
Methodgelu_gemm_fallback
(self, input, weight, scale, bias, out, out_scale, dtype, transpose)
deepspeed/ops/transformer/inference/op_binding/gelu_gemm.py:25
Functiongen_combinations
(d: dict)
deepspeed/autotuning/tuner/utils.py:45
Methodgen_helper
()
DeepSpeedExample/megatron/deprecated_data_utils/datasets.py:409
Methodget_2d_parallel_state
(self, tp_index: int, pp_index: int)
deepspeed/checkpoint/deepspeed_checkpoint.py:157
Functionget_alignment_padding
(tensor_list, alignment)
deepspeed/runtime/zero/stage_1_and_2.py:66
Functionget_amax_reduction_group
Get the FP8 amax reduction group the caller rank belongs to.
DeepSpeedExample/megatron/core/parallel_state.py:399
Methodget_args
(self)
deepspeed/checkpoint/deepspeed_checkpoint.py:151
Methodget_attn_params
(self)
deepspeed/module_inject/containers/features/split_qkv.py:156
Functionget_available_dataset_impl
()
DeepSpeedExample/megatron/data/indexed_dataset.py:31
Functionget_available_dataset_impl
()
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:40
Methodget_batch_info
Get all training batch related settings. Returns: train_batch_size (int): The effective training batch size. This is the amount of
deepspeed/runtime/engine.py:395
Methodget_bit16_param_group
(self, group_no)
deepspeed/runtime/zero/stage_1_and_2.py:1625
Methodget_block
Get the IDs for an evidence block plus the title of the corresponding document
DeepSpeedExample/megatron/data/ict_dataset.py:109
← previousnext →3,901–4,000 of 4,989, ranked by callers