MCPcopy Create free account

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

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

Methodexists
(model_path)
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:491
Methodexists
(model_path)
DeepSpeedExample/megatron/deprecated_data_utils/tokenization.py:629
Methodexists
(path)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:567
Methodextend_position_embedding
This function extends the position embedding weights of a model loaded from a checkpoint. It assumes the new max position is bigger than the o
deepspeed/ops/sparse_attention/sparse_attention_utils.py:21
Methodextra_ldflags
(self)
deepspeed/ops/op_builder/random_ltd.py:20
Methodextra_ldflags
(self)
deepspeed/ops/op_builder/async_io.py:52
Methodextra_ldflags
(self)
deepspeed/ops/op_builder/quantizer.py:31
Methodextra_ldflags
(self)
deepspeed/ops/op_builder/builder.py:697
Methodextra_ldflags
(self)
deepspeed/ops/op_builder/transformer.py:20
Methodextra_ldflags
(self)
deepspeed/ops/op_builder/transformer_inference.py:67
Methodextra_ldflags
(self)
deepspeed/ops/op_builder/cpu/comm.py:33
Methodextra_repr
(self)
deepspeed/runtime/zero/linear.py:173
Methodextra_repr
(self)
deepspeed/compression/basic_layer.py:75
Methodextra_repr
(self)
deepspeed/compression/basic_layer.py:142
Functionfeature_to_index
convert feature form (vector) to index form (single integer)
deepspeed/autotuning/tuner/utils.py:21
Functionfetch_hostfile
(hostfile_path)
deepspeed/autotuning/utils.py:150
Functionfilename_to_url
Return the url and etag (which may be ``None``) stored for `filename`. Raise ``EnvironmentError`` if `filename` or its stored metadata do not
DeepSpeedExample/megatron/deprecated_data_utils/file_utils.py:61
Methodfilter_ccs
(self, ccs)
deepspeed/ops/op_builder/transformer_inference.py:41
Methodfilter_match
Return the list of ranks whose coordinates match the provided criteria. Example: >>> X = ProcessTopology(axes=['pipe', 'data', 'm
deepspeed/runtime/pipe/topology.py:167
Methodfinalize
(self, index_file)
DeepSpeedExample/megatron/data/indexed_dataset.py:566
Methodfinalize
(self, index_file)
deepspeed/runtime/data_pipeline/data_sampling/indexed_dataset.py:613
Functionfind_replace
(target, replace_dict)
deepspeed/autotuning/utils.py:59
Methodfix_channel_pruning_helper
(self, mask=None, dim_reduction=False)
deepspeed/compression/basic_layer.py:492
Methodfix_sparse_pruning_helper
(self)
deepspeed/compression/basic_layer.py:482
Methodfix_weight_quantization
(self)
deepspeed/compression/basic_layer.py:342
Methodfix_weight_quantization
(self)
deepspeed/compression/basic_layer.py:546
Functionflatten
deepspeed/ops/csrc/utils/flatten_unflatten.cpp:15
Methodflatten_and_print
(self, message, tensors, start=0, n=5)
deepspeed/runtime/zero/stage3.py:1350
Methodflatten_and_print
(self, message, tensors, start=0, n=5)
deepspeed/runtime/zero/stage_1_and_2.py:1272
Methodfloat16_convertor
(val)
DeepSpeedExample/megatron/core/transformer/module.py:86
Methodfloat16_convertor
(val)
DeepSpeedExample/megatron/model/module.py:160
Functionfloat_conversion
(val)
DeepSpeedExample/megatron/core/transformer/module.py:65
Functionfloat_conversion
(val)
DeepSpeedExample/megatron/model/module.py:142
Functionfloat_conversion
(val)
DeepSpeedExample/megatron/fp16/fp16.py:58
Methodflops_repr
(module)
deepspeed/profiling/flops_profiler/profiler.py:325
Methodflush_gradients
(self)
deepspeed/runtime/swap_tensor/pipelined_optimizer_swapper.py:94
Methodflush_gradients
(self, use_fpga =False)
deepspeed/runtime/swap_tensor/partitioned_optimizer_swapper.py:64
Methodfork
Fork the cuda rng state, perform operations, and exit with the original state.
deepspeed/runtime/activation_checkpointing/checkpointing.py:169
Methodforward
(ctx, inp, requires_grad)
DeepSpeedExample/megatron/core/utils.py:105
Methodforward
(self, input)
DeepSpeedExample/megatron/core/fusions/fused_layer_norm.py:71
Methodforward
(ctx, inputs, scale)
DeepSpeedExample/megatron/core/fusions/fused_softmax.py:18
Methodforward
(ctx, inputs, mask, scale)
DeepSpeedExample/megatron/core/fusions/fused_softmax.py:50
Methodforward
(self, input, mask)
DeepSpeedExample/megatron/core/fusions/fused_softmax.py:143
Methodforward
(ctx, input, bias)
DeepSpeedExample/megatron/core/fusions/fused_bias_gelu.py:33
Methodforward
(self, input_)
DeepSpeedExample/megatron/core/tensor_parallel/layers.py:193
Methodforward
(self, position_ids)
DeepSpeedExample/megatron/core/tensor_parallel/layers.py:233
Methodforward
(ctx, input, weight, bias, gradient_accumulation_fusion, async_grad_allreduce, sequence_parall
DeepSpeedExample/megatron/core/tensor_parallel/layers.py:242
Methodforward
Forward of ColumnParallelLinear Args: input_: 3D tensor whose order of dimension is [sequence, batch, hidden] weight
DeepSpeedExample/megatron/core/tensor_parallel/layers.py:595
Methodforward
Forward of RowParallelLinear Args: input_: 3D tensor whose order of dimension is [sequence, batch, hidden] Returns:
DeepSpeedExample/megatron/core/tensor_parallel/layers.py:754
Methodforward
(ctx, vocab_parallel_logits, target, label_smoothing=0.0)
DeepSpeedExample/megatron/core/tensor_parallel/cross_entropy.py:17
Methodforward
(ctx, run_function, distribute_saved_activations, *args)
DeepSpeedExample/megatron/core/tensor_parallel/random.py:230
Methodforward
(ctx, input_)
DeepSpeedExample/megatron/core/tensor_parallel/mappings.py:136
Methodforward
(ctx, input_)
DeepSpeedExample/megatron/core/tensor_parallel/mappings.py:152
Methodforward
(ctx, input_)
DeepSpeedExample/megatron/core/tensor_parallel/mappings.py:168
Methodforward
(ctx, input_)
DeepSpeedExample/megatron/core/tensor_parallel/mappings.py:184
Methodforward
(ctx, input_)
DeepSpeedExample/megatron/core/tensor_parallel/mappings.py:200
Methodforward
(ctx, input_, tensor_parallel_output_grad=True)
DeepSpeedExample/megatron/core/tensor_parallel/mappings.py:216
Methodforward
(ctx, input_)
DeepSpeedExample/megatron/core/tensor_parallel/mappings.py:242
Methodforward
(ctx, vocab_seq_parallel_logits, target, label_smoothing=0.0)
DeepSpeedExample/megatron/core/sequence_parallel/cross_entropy.py:13
Methodforward
( self, input_ids: Tensor, position_ids: Tensor, attention_mask: Tensor,
DeepSpeedExample/megatron/core/models/gpt/gpt_model.py:100
Methodforward
(self, input_ids, position_ids)
DeepSpeedExample/megatron/core/models/gpt/gpt_embedding.py:57
Methodforward
(self, query_layer: Tensor, key_layer: Tensor, value_layer: Tensor, attention_mask: Tensor)
DeepSpeedExample/megatron/core/transformer/core_attention.py:70
Methodforward
( self, hidden_states, attention_mask, encoder_output=None, enc_dec_attn_mask=None, inference_params=N
DeepSpeedExample/megatron/core/transformer/transformer_layer.py:73
Methodforward
(self, hidden_states, attention_mask, key_value_states=None, inference_params=None)
DeepSpeedExample/megatron/core/transformer/attention.py:96
Methodforward
(self, hidden_states, attention_mask, inference_params=None)
DeepSpeedExample/megatron/core/transformer/transformer_block.py:180
Methodforward
(self, hidden_states)
DeepSpeedExample/megatron/core/transformer/mlp.py:66
Methodforward
(self, *inputs, **kwargs)
DeepSpeedExample/megatron/core/transformer/module.py:103
Methodforward
(self, x)
DeepSpeedExample/megatron/core/transformer/custom_layers/transformer_engine.py:67
Methodforward
(self, input_ids, attention_mask, tokentype_ids)
DeepSpeedExample/megatron/model/classification.py:53
Methodforward
(self, input_ids, attention_mask, tokentype_ids=None)
DeepSpeedExample/megatron/model/realm_model.py:169
Methodforward
(ctx, input, weight, bias, normalized_shape, eps)
DeepSpeedExample/megatron/model/fused_layer_norm.py:40
Methodforward
(self, input)
DeepSpeedExample/megatron/model/fused_layer_norm.py:101
Methodforward
(ctx, inputs, scale)
DeepSpeedExample/megatron/model/fused_softmax.py:30
Methodforward
(ctx, inputs, mask, scale)
DeepSpeedExample/megatron/model/fused_softmax.py:62
Methodforward
(self, input, mask)
DeepSpeedExample/megatron/model/fused_softmax.py:155
Methodforward
(self, *inputs, **kwargs)
DeepSpeedExample/megatron/model/distributed.py:74
Methodforward
(self, hidden_states, sequence_index=0)
DeepSpeedExample/megatron/model/language_model.py:87
Methodforward
(self, input_ids, position_ids, tokentype_ids=None)
DeepSpeedExample/megatron/model/language_model.py:180
Methodforward
(self, input_ids, position_ids, attention_mask, tokentype_ids=None, layer_past=None, get_key_v
DeepSpeedExample/megatron/model/language_model.py:321
Methodforward
(self, input_ids, position_ids, attention_mask, labels=None, tokentype_ids=None, layer_past=No
DeepSpeedExample/megatron/model/gpt2_model.py:55
Methodforward
(ctx, input, bias)
DeepSpeedExample/megatron/model/fused_bias_gelu.py:50
Methodforward
(self, hidden_states)
DeepSpeedExample/megatron/model/transformer.py:121
Methodforward
(self, hidden_states, attention_mask, layer_past=None, get_key_value=False)
DeepSpeedExample/megatron/model/transformer.py:262
Methodforward
(self, hidden_states, attention_mask, layer_past=None, get_key_value=False)
DeepSpeedExample/megatron/model/transformer.py:488
Methodforward
(self, hidden_states, attention_mask, layer_past=None, get_key_value=False)
DeepSpeedExample/megatron/model/transformer.py:597
Methodforward
(self, layernorm_input, attention_mask, presents=None, layer_past=None, get_key_value=False)
DeepSpeedExample/megatron/model/transformer.py:677
Methodforward
(self, hidden_states, attention_mask, layer_past=None, get_key_value=False)
DeepSpeedExample/megatron/model/transformer.py:970
Methodforward
(self, *inputs, **kwargs)
DeepSpeedExample/megatron/model/module.py:172
Methodforward
(self, hidden_states, word_embeddings_weight)
DeepSpeedExample/megatron/model/bert_model.py:93
Methodforward
(self, input_ids, attention_mask, tokentype_ids=None, lm_labels=None)
DeepSpeedExample/megatron/model/bert_model.py:135
Methodforward
(self, input_ids, attention_mask, tokentype_ids)
DeepSpeedExample/megatron/model/multiple_choice.py:51
Methodforward
(self, *inputs, **kwargs)
DeepSpeedExample/megatron/fp16/fp16.py:73
Methodforward
(self, input)
DeepSpeedExample/megatron/fp16/fp16util.py:38
Methodforward
(self, *inputs)
DeepSpeedExample/megatron/fp16/fp16util.py:100
Methodforward
(self, input_)
DeepSpeedExample/megatron/mpu/layers.py:153
Methodforward
(self, input_)
DeepSpeedExample/megatron/mpu/layers.py:257
Methodforward
(self, input_)
DeepSpeedExample/megatron/mpu/layers.py:353
Methodforward
(ctx, vocab_parallel_logits, target)
DeepSpeedExample/megatron/mpu/cross_entropy.py:28
Methodforward
(ctx, run_function, *args)
DeepSpeedExample/megatron/mpu/random.py:253
Methodforward
(ctx, input_)
DeepSpeedExample/megatron/mpu/mappings.py:84
← previousnext →3,801–3,900 of 4,989, ranked by callers