MCPcopy Create free account

hub / github.com/NVIDIA/FasterTransformer / functions

Functions4,228 in github.com/NVIDIA/FasterTransformer

MethodtoString
src/fastertransformer/utils/Tensor.cc:184
MethodtoString
src/fastertransformer/utils/nccl_utils.h:73
MethodtoString
src/fastertransformer/triton_backend/multi_gpu_gpt/ParallelGptTritonModel.cc:432
MethodtoString
src/fastertransformer/triton_backend/t5-encoder/T5EncoderTritonModel.cc:263
MethodtoString
src/fastertransformer/triton_backend/bert/BertTritonModel.cc:187
MethodtoString
src/fastertransformer/triton_backend/gptneox/GptNeoXTritonModel.cc:207
MethodtoString
src/fastertransformer/triton_backend/multi_gpu_gpt_fp8/ParallelGptFP8TritonModel.cc:204
MethodtoString
src/fastertransformer/triton_backend/gptj/GptJTritonModel.cc:345
MethodtoString
src/fastertransformer/triton_backend/t5/T5TritonModel.cc:351
Methodto_bfloat16
(self)
examples/pytorch/encoder/utils/ft_encoder.py:87
Methodto_cuda
(self)
examples/pytorch/bart/utils/ft_decoding.py:255
Methodto_cuda
(self)
examples/pytorch/bart/utils/ft_encoder.py:199
Methodto_float
(self)
examples/pytorch/bart/utils/ft_decoding.py:259
Methodto_float
(self)
examples/pytorch/bart/utils/ft_encoder.py:203
Methodto_half
(self)
examples/pytorch/vit/VisionTransformerINT8WeightLoader.py:111
Methodto_half
(self)
examples/pytorch/swin/SwinTransformerINT8Weight.py:203
Methodto_host
src/fastertransformer/utils/gpu_buf.h:60
Methodto_json_string
Serializes this instance to a JSON string.
examples/tensorflow/bert/tensorflow_bert/my_modeling.py:105
Methodto_json_string
Serializes this instance to a JSON string.
examples/tensorflow/bert/bert-quantization/modeling.py:107
Methodto_single
(self)
examples/pytorch/bart/utils/ft_decoding.py:267
Methodto_single
(self)
examples/pytorch/bart/utils/ft_encoder.py:211
Functionto_word_list_format
(word_dict, tokenizer)
examples/pytorch/t5/translate_example.py:43
Methodtokenize
(self, text)
examples/tensorflow/bert/bert-quantization/tokenization.py:185
Methodtokenize
Tokenizes a piece of text into its word pieces. This uses a greedy longest-match-first algorithm to perform tokenization using the given voca
examples/tensorflow/bert/bert-quantization/tokenization.py:360
Methodtokenize
Tokenizes a piece of text into its word pieces. This uses a greedy longest-match-first algorithm to perform tokenization using the gi
examples/pytorch/bert/bert-quantization-sparsity/tokenization.py:303
Methodtokenize_batch
(self, text_batch: Union[List[str], str])
examples/pytorch/gptneox/utils/hftokenizer.py:29
Methodtop_k_logits
(self, logits, k)
examples/tensorflow/decoder/utils/sampling.py:45
Methodtop_p_logits
(self, logits, p)
examples/tensorflow/decoder/utils/sampling.py:57
Functiontpu_scaffold
()
examples/tensorflow/bert/bert-quantization/extract_features.py:178
Functiontransform_trt_mask_impl
src/fastertransformer/th_op/swin/SwinOp.h:316
Functiontransformer_xl
Defines a Transformer-XL computation graph with additional support for XLNet. Args: inp_k: int32 Tensor in shape [l
examples/tensorflow/xlnet/modeling.py:389
MethodtransposeCalibrateQuantizeWeight
src/fastertransformer/models/multi_gpu_gpt/ParallelGptDecoderLayerWeight.cc:690
MethodtransposeWeight
src/fastertransformer/models/multi_gpu_gpt/ParallelGptDecoderLayerWeight.cc:664
MethodtransposeWeight
src/fastertransformer/models/gpt_fp8/GptFP8DecoderLayerWeight.cc:538
MethodtransposeWeight
src/fastertransformer/models/bert_fp8/BertFP8LayerWeight.cc:507
MethodtransposeWeight
src/fastertransformer/models/bert_fp8/BertFP8Weight.cc:117
Functiontriton_stream_callback
src/fastertransformer/triton_backend/multi_gpu_gpt/ParallelGptTritonModelInstance.cc:29
Functiontriton_stream_callback
src/fastertransformer/triton_backend/bert/BertTritonModelInstance.cc:23
Functiontriton_stream_callback
src/fastertransformer/triton_backend/gptneox/GptNeoXTritonModelInstance.cc:29
Functiontriton_stream_callback
src/fastertransformer/triton_backend/multi_gpu_gpt_fp8/ParallelGptFP8TritonModelInstance.cc:29
Functiontriton_stream_callback
src/fastertransformer/triton_backend/gptj/GptJTritonModelInstance.cc:29
Functiontriton_stream_callback
src/fastertransformer/triton_backend/t5/T5TritonModelInstance.cc:26
Methodtrt_getS
src/fastertransformer/layers/attention_layers/WindowAttention.cc:22
MethodtypeFromNumpyDesc
src/fastertransformer/utils/Tensor.cc:214
MethodunRegisterCallback
src/fastertransformer/models/multi_gpu_gpt/ParallelGpt.cc:527
MethodunRegisterCallback
src/fastertransformer/models/gptneox/GptNeoX.cc:364
MethodunRegisterCallback
src/fastertransformer/models/gptj/GptJ.cc:371
MethodunRegisterCallback
src/fastertransformer/models/t5/T5Decoding.cc:348
Functionunpack_int4_packed_tensor_to_int8
src/fastertransformer/th_op/common/WeightOnlyQuantOps.cc:268
Methodunsigned
(self)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/layers/tensor_quantizer.py:91
Methodupdate
src/fastertransformer/cutlass_extensions/include/cutlass_extensions/gemm/kernel/moe_cutlass_kernel.h:287
Methodupdate_argparser
(cls, parser)
examples/pytorch/gpt/utils/gpt_fp8.py:392
Methodupdate_argparser
(cls, parser)
examples/pytorch/gpt/utils/gpt_fp8.py:436
Methodupdate_argparser
(cls, parser)
examples/pytorch/gpt/utils/gpt.py:810
Methodupdate_dropout
(self, dropout, attention_dropout)
examples/pytorch/decoding/utils/decoding.py:409
MethoduseBaseGemm
src/fastertransformer/utils/gemm.cc:773
Functionvalidate_case_matches_checkpoint
Checks whether the casing config is consistent with the checkpoint name.
examples/tensorflow/bert/bert-quantization/tokenization.py:41
Functionvec_conversion
src/fastertransformer/kernels/decoder_masked_multihead_attention/decoder_masked_multihead_attention_template.hpp:553
Functionvec_conversion<float, __nv_fp8_e4m3>
src/fastertransformer/kernels/decoder_masked_multihead_attention/decoder_masked_multihead_attention_template.hpp:560
Functionvec_conversion<float2, fp8_2_t>
src/fastertransformer/kernels/decoder_masked_multihead_attention/decoder_masked_multihead_attention_template.hpp:571
Functionvec_conversion<float4, fp8_4_t>
src/fastertransformer/kernels/decoder_masked_multihead_attention/decoder_masked_multihead_attention_template.hpp:582
Functionvec_conversion<fp8_2_t, float2>
src/fastertransformer/kernels/decoder_masked_multihead_attention/decoder_masked_multihead_attention_template.hpp:576
Functionvec_conversion<fp8_4_t, float4>
src/fastertransformer/kernels/decoder_masked_multihead_attention/decoder_masked_multihead_attention_template.hpp:587
Methodvisit
Called after accumulators have been exchanged for each accumulator vector
src/fastertransformer/cutlass_extensions/include/cutlass_extensions/epilogue/threadblock/epilogue_per_row_per_col_scale.h:274
Functionvit_weight_quantize
src/fastertransformer/th_op/vit/WeightQuantizeOp.cc:28
Methodvocab
(self)
examples/pytorch/gpt/utils/tokenizer.py:45
Methodvocab_size
(self)
examples/pytorch/gpt/utils/tokenizer.py:41
Functionwarmup_constant
(x, warmup=0.002)
examples/pytorch/bert/bert-quantization-sparsity/optimization.py:41
Functionwarmup_cosine
(x, warmup=0.002)
examples/pytorch/bert/bert-quantization-sparsity/optimization.py:36
Functionwarmup_poly
(x, warmup=0.002, degree=0.5)
examples/pytorch/bert/bert-quantization-sparsity/optimization.py:51
MethodweightGemmHelper
src/fastertransformer/utils/gemm.cc:780
Functionweight_transpose_calibrate_quantize
src/fastertransformer/th_op/multi_gpu_gpt/WeightTransposeCalibrateQuantizeOp.cc:50
FunctionwenetDecoderExample
examples/cpp/wenet/wenet_decoder_example.cc:53
FunctionwenetEncoderExample
examples/cpp/wenet/wenet_encoder_example.cc:52
Methodwhat
src/fastertransformer/utils/gemm.h:565
Methodwhat
src/fastertransformer/utils/gemm.h:583
Methodwhat
tests/unittests/unittest_utils.h:47
Methodwork
(articles, return_dict)
examples/pytorch/bert/bert-quantization-sparsity/data/TextSharding.py:82
Functionwrapper
(url, *args, **kwargs)
examples/pytorch/bert/bert-quantization-sparsity/file_utils.py:147
FunctionxlnetCorrectnessExample
examples/cpp/xlnet/xlnet_correctness_example.cc:268
FunctionxlnetExample
examples/cpp/xlnet/xlnet_example.cc:59
Methodzero
src/fastertransformer/utils/gpu_buf.h:72
Methodzip_and_reduce
Zips the :obj:`x` with :obj:`y` structures together and reduces all elements. If the structures are nested, they will be flattened first.
examples/tensorflow/bert/utils/reducer.py:86
Methodzip_and_reduce
Zips the :obj:`x` with :obj:`y` structures together and reduces all elements. If the structures are nested, they will be flattened first.
examples/tensorflow/decoder/utils/reducer.py:86
Methodzip_and_reduce
Zips the :obj:`x` with :obj:`y` structures together and reduces all elements. If the structures are nested, they will be flattened first.
examples/tensorflow/common_utils/reducer.py:86
Method~AbstractCustomComm
src/fastertransformer/utils/custom_ar_comm.h:34
Method~Allocator
src/fastertransformer/utils/allocator.h:184
Method~Allocator
src/fastertransformer/utils/allocator.h:357
Method~Allocator
src/fastertransformer/utils/allocator.h:449
Method~BartDecoder
src/fastertransformer/models/bart/BartDecoder.cc:244
Method~BartDecoderLayerWeight
src/fastertransformer/models/bart/BartDecoderLayerWeight.cc:115
Method~BartDecoding
src/fastertransformer/models/bart/BartDecoding.cc:317
Method~BartDecodingWeight
src/fastertransformer/models/bart/BartDecodingWeight.cc:122
Method~BartEncoder
src/fastertransformer/models/bart/BartEncoder.cc:201
Method~BartEncoderLayerWeight
src/fastertransformer/models/bart/BartEncoderLayerWeight.cc:98
Method~BartEncoderWeight
src/fastertransformer/models/bart/BartEncoderWeight.cc:115
Method~BaseAttentionFP8Layer
src/fastertransformer/layers/attention_layers_fp8/BaseAttentionFP8Layer.h:62
Method~BaseAttentionLayer
src/fastertransformer/layers/attention_layers/BaseAttentionLayer.h:154
Method~BaseLayer
src/fastertransformer/layers/BaseLayer.h:41
Method~BaseOp
src/fastertransformer/tf_op/BaseOp.h:59
← previousnext →3,901–4,000 of 4,228, ranked by callers