Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/FasterTransformer
/ functions
Functions
4,228 in github.com/NVIDIA/FasterTransformer
⨍
Functions
4,228
◇
Types & classes
1,417
Method
toString
src/fastertransformer/utils/Tensor.cc:184
Method
toString
src/fastertransformer/utils/nccl_utils.h:73
Method
toString
src/fastertransformer/triton_backend/multi_gpu_gpt/ParallelGptTritonModel.cc:432
Method
toString
src/fastertransformer/triton_backend/t5-encoder/T5EncoderTritonModel.cc:263
Method
toString
src/fastertransformer/triton_backend/bert/BertTritonModel.cc:187
Method
toString
src/fastertransformer/triton_backend/gptneox/GptNeoXTritonModel.cc:207
Method
toString
src/fastertransformer/triton_backend/multi_gpu_gpt_fp8/ParallelGptFP8TritonModel.cc:204
Method
toString
src/fastertransformer/triton_backend/gptj/GptJTritonModel.cc:345
Method
toString
src/fastertransformer/triton_backend/t5/T5TritonModel.cc:351
Method
to_bfloat16
(self)
examples/pytorch/encoder/utils/ft_encoder.py:87
Method
to_cuda
(self)
examples/pytorch/bart/utils/ft_decoding.py:255
Method
to_cuda
(self)
examples/pytorch/bart/utils/ft_encoder.py:199
Method
to_float
(self)
examples/pytorch/bart/utils/ft_decoding.py:259
Method
to_float
(self)
examples/pytorch/bart/utils/ft_encoder.py:203
Method
to_half
(self)
examples/pytorch/vit/VisionTransformerINT8WeightLoader.py:111
Method
to_half
(self)
examples/pytorch/swin/SwinTransformerINT8Weight.py:203
Method
to_host
src/fastertransformer/utils/gpu_buf.h:60
Method
to_json_string
Serializes this instance to a JSON string.
examples/tensorflow/bert/tensorflow_bert/my_modeling.py:105
Method
to_json_string
Serializes this instance to a JSON string.
examples/tensorflow/bert/bert-quantization/modeling.py:107
Method
to_single
(self)
examples/pytorch/bart/utils/ft_decoding.py:267
Method
to_single
(self)
examples/pytorch/bart/utils/ft_encoder.py:211
Function
to_word_list_format
(word_dict, tokenizer)
examples/pytorch/t5/translate_example.py:43
Method
tokenize
(self, text)
examples/tensorflow/bert/bert-quantization/tokenization.py:185
Method
tokenize
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
Method
tokenize
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
Method
tokenize_batch
(self, text_batch: Union[List[str], str])
examples/pytorch/gptneox/utils/hftokenizer.py:29
Method
top_k_logits
(self, logits, k)
examples/tensorflow/decoder/utils/sampling.py:45
Method
top_p_logits
(self, logits, p)
examples/tensorflow/decoder/utils/sampling.py:57
Function
tpu_scaffold
()
examples/tensorflow/bert/bert-quantization/extract_features.py:178
Function
transform_trt_mask_impl
src/fastertransformer/th_op/swin/SwinOp.h:316
Function
transformer_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
Method
transposeCalibrateQuantizeWeight
src/fastertransformer/models/multi_gpu_gpt/ParallelGptDecoderLayerWeight.cc:690
Method
transposeWeight
src/fastertransformer/models/multi_gpu_gpt/ParallelGptDecoderLayerWeight.cc:664
Method
transposeWeight
src/fastertransformer/models/gpt_fp8/GptFP8DecoderLayerWeight.cc:538
Method
transposeWeight
src/fastertransformer/models/bert_fp8/BertFP8LayerWeight.cc:507
Method
transposeWeight
src/fastertransformer/models/bert_fp8/BertFP8Weight.cc:117
Function
triton_stream_callback
src/fastertransformer/triton_backend/multi_gpu_gpt/ParallelGptTritonModelInstance.cc:29
Function
triton_stream_callback
src/fastertransformer/triton_backend/bert/BertTritonModelInstance.cc:23
Function
triton_stream_callback
src/fastertransformer/triton_backend/gptneox/GptNeoXTritonModelInstance.cc:29
Function
triton_stream_callback
src/fastertransformer/triton_backend/multi_gpu_gpt_fp8/ParallelGptFP8TritonModelInstance.cc:29
Function
triton_stream_callback
src/fastertransformer/triton_backend/gptj/GptJTritonModelInstance.cc:29
Function
triton_stream_callback
src/fastertransformer/triton_backend/t5/T5TritonModelInstance.cc:26
Method
trt_getS
src/fastertransformer/layers/attention_layers/WindowAttention.cc:22
Method
typeFromNumpyDesc
src/fastertransformer/utils/Tensor.cc:214
Method
unRegisterCallback
src/fastertransformer/models/multi_gpu_gpt/ParallelGpt.cc:527
Method
unRegisterCallback
src/fastertransformer/models/gptneox/GptNeoX.cc:364
Method
unRegisterCallback
src/fastertransformer/models/gptj/GptJ.cc:371
Method
unRegisterCallback
src/fastertransformer/models/t5/T5Decoding.cc:348
Function
unpack_int4_packed_tensor_to_int8
src/fastertransformer/th_op/common/WeightOnlyQuantOps.cc:268
Method
unsigned
(self)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/layers/tensor_quantizer.py:91
Method
update
src/fastertransformer/cutlass_extensions/include/cutlass_extensions/gemm/kernel/moe_cutlass_kernel.h:287
Method
update_argparser
(cls, parser)
examples/pytorch/gpt/utils/gpt_fp8.py:392
Method
update_argparser
(cls, parser)
examples/pytorch/gpt/utils/gpt_fp8.py:436
Method
update_argparser
(cls, parser)
examples/pytorch/gpt/utils/gpt.py:810
Method
update_dropout
(self, dropout, attention_dropout)
examples/pytorch/decoding/utils/decoding.py:409
Method
useBaseGemm
src/fastertransformer/utils/gemm.cc:773
Function
validate_case_matches_checkpoint
Checks whether the casing config is consistent with the checkpoint name.
examples/tensorflow/bert/bert-quantization/tokenization.py:41
Function
vec_conversion
src/fastertransformer/kernels/decoder_masked_multihead_attention/decoder_masked_multihead_attention_template.hpp:553
Function
vec_conversion<float, __nv_fp8_e4m3>
src/fastertransformer/kernels/decoder_masked_multihead_attention/decoder_masked_multihead_attention_template.hpp:560
Function
vec_conversion<float2, fp8_2_t>
src/fastertransformer/kernels/decoder_masked_multihead_attention/decoder_masked_multihead_attention_template.hpp:571
Function
vec_conversion<float4, fp8_4_t>
src/fastertransformer/kernels/decoder_masked_multihead_attention/decoder_masked_multihead_attention_template.hpp:582
Function
vec_conversion<fp8_2_t, float2>
src/fastertransformer/kernels/decoder_masked_multihead_attention/decoder_masked_multihead_attention_template.hpp:576
Function
vec_conversion<fp8_4_t, float4>
src/fastertransformer/kernels/decoder_masked_multihead_attention/decoder_masked_multihead_attention_template.hpp:587
Method
visit
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
Function
vit_weight_quantize
src/fastertransformer/th_op/vit/WeightQuantizeOp.cc:28
Method
vocab
(self)
examples/pytorch/gpt/utils/tokenizer.py:45
Method
vocab_size
(self)
examples/pytorch/gpt/utils/tokenizer.py:41
Function
warmup_constant
(x, warmup=0.002)
examples/pytorch/bert/bert-quantization-sparsity/optimization.py:41
Function
warmup_cosine
(x, warmup=0.002)
examples/pytorch/bert/bert-quantization-sparsity/optimization.py:36
Function
warmup_poly
(x, warmup=0.002, degree=0.5)
examples/pytorch/bert/bert-quantization-sparsity/optimization.py:51
Method
weightGemmHelper
src/fastertransformer/utils/gemm.cc:780
Function
weight_transpose_calibrate_quantize
src/fastertransformer/th_op/multi_gpu_gpt/WeightTransposeCalibrateQuantizeOp.cc:50
Function
wenetDecoderExample
examples/cpp/wenet/wenet_decoder_example.cc:53
Function
wenetEncoderExample
examples/cpp/wenet/wenet_encoder_example.cc:52
Method
what
src/fastertransformer/utils/gemm.h:565
Method
what
src/fastertransformer/utils/gemm.h:583
Method
what
tests/unittests/unittest_utils.h:47
Method
work
(articles, return_dict)
examples/pytorch/bert/bert-quantization-sparsity/data/TextSharding.py:82
Function
wrapper
(url, *args, **kwargs)
examples/pytorch/bert/bert-quantization-sparsity/file_utils.py:147
Function
xlnetCorrectnessExample
examples/cpp/xlnet/xlnet_correctness_example.cc:268
Function
xlnetExample
examples/cpp/xlnet/xlnet_example.cc:59
Method
zero
src/fastertransformer/utils/gpu_buf.h:72
Method
zip_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
Method
zip_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
Method
zip_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
← previous
next →
3,901–4,000 of 4,228, ranked by callers