MCPcopy Create free account

hub / github.com/NVIDIA/FasterTransformer / functions

Functions4,228 in github.com/NVIDIA/FasterTransformer

↓ 1 callersFunctionformat_mrpc
(mrpc_dir)
examples/pytorch/bert/utils/get_mrpc_data.py:26
↓ 1 callersMethodforward
(self, input_ids, attention_mask, inputs_embeds, beam_size, max_seq_len, top_k, top_p, beam_se
examples/pytorch/bart/utils/ft_decoding.py:327
↓ 1 callersMethodforward
(self, src, mask)
examples/pytorch/encoder/utils/ft_encoder.py:141
↓ 1 callersMethodforward
(self, input_token, inputs_embeds, beam_size, max_seq_len, top_k, top_p, beam_search_diversity
examples/pytorch/t5/utils/ft_decoding.py:494
↓ 1 callersMethodforward_features
(self, x)
examples/pytorch/swin/Swin-Transformer-Quantization/models/swin_transformer_v2.py:666
↓ 1 callersFunctionforward_step
Forward step.
examples/pytorch/gpt/evaluate_zeroshot_gpt.py:178
↓ 1 callersFunctionfreeResources
tests/unittests/fp8_gemm_test/worker.cpp:72
↓ 1 callersFunctionfreeResources
tests/unittests/fp8_gemm_test/2022_03_21__fp8_stride_batch_example/worker.cpp:24
↓ 1 callersMethodfrom_dict
Constructs a `BertConfig` from a Python dictionary of parameters.
examples/tensorflow/bert/tensorflow_bert/my_modeling.py:86
↓ 1 callersMethodfrom_dict
Constructs a `BertConfig` from a Python dictionary of parameters.
examples/tensorflow/bert/bert-quantization/modeling.py:88
↓ 1 callersMethodfrom_dict
Constructs a `BertConfig` from a Python dictionary of parameters.
examples/pytorch/bert/bert-quantization-sparsity/modeling.py:278
↓ 1 callersFunctionfrom_hf_longformer_weight_to_ft
(weights_file, layer_num, data_type)
examples/pytorch/longformer/model.py:7
↓ 1 callersMethodfrom_nemo_package
( cls, *, args: argparse.Namespace, nemo_model_config: typing.Dict[str, typing
examples/pytorch/gpt/utils/gpt.py:841
↓ 1 callersFunctionftNcclGetUniqueId
src/fastertransformer/utils/nccl_utils.cc:275
↓ 1 callersFunctionft_gpt_op
Run the decoding with sampling by FasterTransformer. Args: decoder_vars: A list of tf.Tensor. The variables for decoding. A list of model
examples/tensorflow/gpt/gpt_example.py:207
↓ 1 callersFunctionftt5_decoding
(mem_hidden_states, mem_seq_len, decoding_params, max_seq_len, beam_width, top_k = 1, top_p = 0.0,
examples/tensorflow/t5/utils/ft_decoding.py:212
↓ 1 callersFunctionftt5_encoder
(inputs, seq_len, encoder_params)
examples/tensorflow/t5/utils/ft_encoder.py:168
↓ 1 callersFunctionfuse_decoder_qkv
(model, factor, saved_dir)
examples/tensorrt/t5/extractT5ModelToBIN.py:26
↓ 1 callersFunctionfuse_decoder_qkv
(model_dict, num_layers, dtype, saved_dir, tensor_para)
examples/tensorflow/t5/utils/tf_saved_model_t5_ckpt_convert.py:217
↓ 1 callersFunctionfuse_decoder_qkv
(model, factor, saved_dir, np_weight_data_type)
examples/pytorch/t5/utils/huggingface_t5_ckpt_convert.py:49
↓ 1 callersFunctionfusedQKV_masked_attention_dispatch
src/fastertransformer/layers/attention_layers/DecoderSelfAttentionLayer.cc:36
↓ 1 callersFunctionfused_layer_norm
(inputs, center=True, scale=True, activation_fn=None,
examples/tensorflow/bert/bert-quantization/fused_layer_norm.py:34
↓ 1 callersMethodfused_layer_norm
(self, x)
examples/pytorch/bert/bert-quantization-sparsity/modeling.py:343
↓ 1 callersFunctiongather_indexes
Gathers the vectors at the specific positions over a minibatch.
examples/tensorflow/bert/bert-quantization/run_pretraining.py:396
↓ 1 callersFunctiongather_tree
(step_ids, parent_ids, max_sequence_lengths, end_token)
examples/pytorch/decoding/utils/decoding.py:155
↓ 1 callersFunctiongenerate_gpt_config
(args)
examples/pytorch/gpt/utils/generate_gpt_config.py:18
↓ 1 callersFunctiongenerate_gpt_config
(args)
examples/pytorch/gptj/utils/generate_gptj_config.py:18
↓ 1 callersMethodgenerate_inputs
(self, num_rows, active_rows, hidden_size, num_experts, dtype, quant_type)
tests/moe/th_moe_unit_tests.py:293
↓ 1 callersMethodgenerate_pad_mask
Generate a pad mask tensor. # Args. input_lengths: (batch_size * beam_width,), input lengths memory_length: the leng
examples/pytorch/gpt/utils/gpt_decoder.py:979
↓ 1 callersFunctiongenerate_swin_igemm_config
src/fastertransformer/utils/gemm_test/swin_igemm_func.cc:166
↓ 1 callersMethodgenerate_weights
(self, hidden_size, inter_size, num_experts, dtype, quant_type)
tests/moe/th_moe_unit_tests.py:308
↓ 1 callersFunctiongetAMax
tests/unittests/fp8_gemm_test/worker.cpp:55
↓ 1 callersMethodgetCubinKernels
3rdparty/fp8_qgmma_1x1/sharedCubinLoader.h:147
↓ 1 callersFunctiongetCusparseComputeType
src/fastertransformer/utils/gemm.cc:1098
↓ 1 callersFunctiongetDefaultPenaltyValue
src/fastertransformer/kernels/penalty_types.h:32
↓ 1 callersFunctiongetDeviceDomain
src/fastertransformer/utils/nvtx_utils.cc:54
↓ 1 callersFunctiongetFieldCollectionType
src/fastertransformer/tensorrt_plugin/vit/ViTPlugin.cpp:404
↓ 1 callersFunctiongetFieldCollectionTypeINT8
src/fastertransformer/tensorrt_plugin/vit/ViTINT8Plugin.cpp:419
↓ 1 callersMethodgetFusedINT8QKVType
src/fastertransformer/utils/cublasINT8MMWrapper.cc:437
↓ 1 callersFunctiongetInput
(input_file, batch_size, i)
examples/tensorflow/xlnet/runData.py:39
↓ 1 callersFunctiongetJson
(json_file)
examples/tensorflow/xlnet/runData.py:55
↓ 1 callersFunctiongetLayoutDetailsForTransform
src/fastertransformer/kernels/cutlass_kernels/cutlass_preprocessors.cc:115
↓ 1 callersFunctiongetMpiDtype
src/fastertransformer/utils/mpi_utils.cc:23
↓ 1 callersMethodgetPipelineParallelRank
src/fastertransformer/models/gptj/GptJ.cc:1213
↓ 1 callersMethodgetPipelineParallelSize
src/fastertransformer/models/gptj/GptJ.cc:1219
↓ 1 callersFunctiongetScope
src/fastertransformer/utils/nvtx_utils.cc:25
↓ 1 callersMethodgetSparseMatrixSize
src/fastertransformer/utils/cublasMMWrapper.cc:745
↓ 1 callersFunctiongetT5DecodingPlugin
(arg)
examples/tensorrt/t5/testT5Plugin.py:90
↓ 1 callersFunctiongetT5EncoderPlugin
(arg)
examples/tensorrt/t5/testT5Plugin.py:70
↓ 1 callersMethodgetTensorParallelRank
src/fastertransformer/models/gptj/GptJ.cc:1225
↓ 1 callersMethodgetWeightPtrs
src/fastertransformer/models/xlnet/XlnetLayerWeight.h:96
↓ 1 callersMethodgetWeightSizes
src/fastertransformer/models/xlnet/XlnetLayerWeight.h:101
↓ 1 callersFunctionget_act_seq_len
(examples, tokenizer, max_seq_length, doc_stride, max_query_length)
examples/tensorflow/bert/tensorflow_bert/run_squad_wrap.py:69
↓ 1 callersFunctionget_activation
Maps a string to a Python function, e.g., "relu" => `tf.nn.relu`. Args: activation_string: String name of the activation function. Returns:
examples/tensorflow/bert/tensorflow_bert/my_modeling.py:286
↓ 1 callersFunctionget_activation
Maps a string to a Python function, e.g., "relu" => `tf.nn.relu`. Args: activation_string: String name of the activation function. Returns:
examples/tensorflow/bert/bert-quantization/modeling.py:296
↓ 1 callersMethodget_all_encoder_layers
(self)
examples/tensorflow/bert/bert-quantization/modeling.py:262
↓ 1 callersFunctionget_answer
(doc_tokens, tokens_for_postprocessing, start_logits, end_logits, args)
examples/pytorch/bert/bert-quantization-sparsity/inference.py:137
↓ 1 callersFunctionget_answers
(examples, features, results, args)
examples/pytorch/bert/bert-quantization-sparsity/run_squad.py:443
↓ 1 callersFunctionget_candidate_tiles
src/fastertransformer/kernels/cutlass_kernels/cutlass_heuristic.cc:93
↓ 1 callersFunctionget_cta_shape_for_config
src/fastertransformer/kernels/cutlass_kernels/cutlass_heuristic.cc:36
↓ 1 callersFunctionget_custom_getter
(compute_type)
examples/tensorflow/bert/bert-quantization/gpu_environment.py:35
↓ 1 callersMethodget_dev_examples
Gets a collection of `InputExample`s for the dev set.
examples/tensorflow/bert/bert-quantization/utils/create_glue_data.py:123
↓ 1 callersFunctionget_device_count
()
examples/pytorch/gpt/utils/comm.py:27
↓ 1 callersMethodget_embedding_table
(self)
examples/tensorflow/bert/bert-quantization/modeling.py:276
↓ 1 callersFunctionget_final_text
Project the tokenized prediction back to the original text.
examples/tensorflow/bert/bert-quantization/run_squad.py:816
↓ 1 callersFunctionget_final_text
Project the tokenized prediction back to the original text.
examples/pytorch/bert/bert-quantization-sparsity/run_squad.py:586
↓ 1 callersFunctionget_from_cache
Given a URL, look for the corresponding dataset in the local cache. If it's not there, download it. Then return the path to the cached file.
examples/pytorch/bert/bert-quantization-sparsity/file_utils.py:188
↓ 1 callersFunctionget_frozen_tftrt_model
(bert_config, shape, use_one_hot_embeddings, init_checkpoint)
examples/tensorflow/bert/bert-quantization/run_squad.py:349
↓ 1 callersMethodget_knowledge_distillation_loss
(self, output_student, output_teacher)
examples/pytorch/vit/ViT-quantization/main.py:70
↓ 1 callersMethodget_knowledge_distillation_loss
(self, output_student, output_teacher)
examples/pytorch/vit/ViT-quantization/eval_engine.py:72
↓ 1 callersMethodget_knowledge_distillation_loss
(self, output_student, output_teacher)
examples/pytorch/bert/bert-quantization-sparsity/run_glue.py:69
↓ 1 callersMethodget_knowledge_distillation_loss
(self, output_student, output_teacher)
examples/pytorch/swin/Swin-Transformer-Quantization/main.py:61
↓ 1 callersMethodget_labels
Gets the list of labels for this data set.
examples/tensorflow/xlnet/convertInput.py:110
↓ 1 callersMethodget_labels
See base class.
examples/tensorflow/xlnet/convertInput.py:160
↓ 1 callersMethodget_labels
(self)
examples/tensorflow/xlnet/convertInput.py:283
↓ 1 callersFunctionget_layer_num_from_weights
(model_keys)
examples/pytorch/gpt/utils/megatron_fp8_ckpt_convert.py:93
↓ 1 callersFunctionget_layer_num_from_weights
(model_keys)
examples/pytorch/gpt/utils/megatron_ckpt_convert.py:93
↓ 1 callersFunctionget_masked_lm_output
Get loss and log probs for the masked LM.
examples/tensorflow/bert/bert-quantization/run_pretraining.py:328
↓ 1 callersFunctionget_model_and_tokenizer
(args: argparse.Namespace)
examples/pytorch/gpt/bloom_lambada.py:180
↓ 1 callersFunctionget_next_sentence_output
Get loss and log probs for the next sentence prediction.
examples/tensorflow/bert/bert-quantization/run_pretraining.py:373
↓ 1 callersFunctionget_old_shape
(t, dim=2)
examples/pytorch/gptj/utils/gptj_ckpt_convert.py:55
↓ 1 callersFunctionget_op_cache_config
(size_per_head, is_fp32)
examples/pytorch/decoding/utils/decoding.py:40
↓ 1 callersFunctionget_op_cache_config
(size_per_head, is_fp16)
examples/pytorch/decoder/utils/decoder.py:22
↓ 1 callersFunctionget_op_cache_config
(size_per_head, is_fp16)
examples/pytorch/decoder/utils/ft_decoder.py:22
↓ 1 callersMethodget_pickle_info
src/fastertransformer/th_op/vit/ViTOp.cc:87
↓ 1 callersMethodget_pickle_info
src/fastertransformer/th_op/vit/ViTINT8Op.cc:92
↓ 1 callersMethodget_pickle_info
src/fastertransformer/th_op/deberta/DebertaOp.cc:186
↓ 1 callersMethodget_pickle_info
src/fastertransformer/th_op/encoder/EncoderOp.cc:137
↓ 1 callersMethodget_pickle_info
src/fastertransformer/th_op/bert/BertINT8Op.cc:126
↓ 1 callersMethodget_pickle_info
src/fastertransformer/th_op/bert/BertOp.cc:154
↓ 1 callersMethodget_pickle_info
src/fastertransformer/th_op/decoding/DecodingOp.cc:205
↓ 1 callersMethodget_pickle_info
src/fastertransformer/th_op/decoder/DecoderOp.cc:137
↓ 1 callersMethodget_pickle_info
src/fastertransformer/th_op/swin/SwinOp.cc:113
↓ 1 callersMethodget_pickle_info
src/fastertransformer/th_op/swin/SwinINT8Op.cc:116
↓ 1 callersMethodget_pooled_output
(self)
examples/tensorflow/bert/tensorflow_bert/my_modeling.py:240
↓ 1 callersMethodget_pooled_output
(self)
examples/tensorflow/bert/bert-quantization/modeling.py:250
↓ 1 callersFunctionget_rank
()
examples/pytorch/gpt/utils/comm.py:23
↓ 1 callersMethodget_sequence_output
(self)
examples/tensorflow/bert/tensorflow_bert/profile_transformer_inference.py:93
↓ 1 callersMethodget_test_examples
Gets a collection of `InputExample`s for prediction.
examples/tensorflow/xlnet/convertInput.py:106
↓ 1 callersMethodget_train_examples
Gets a collection of `InputExample`s for the train set.
examples/tensorflow/bert/bert-quantization/utils/create_glue_data.py:119
← previousnext →1,001–1,100 of 4,228, ranked by callers