Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/FasterTransformer
/ types & classes
Types & classes
1,417 in github.com/NVIDIA/FasterTransformer
⨍
Functions
4,228
◇
Types & classes
1,417
↓ 47 callers
Class
Tensor
src/fastertransformer/utils/Tensor.h:107
↓ 41 callers
Class
cublasMMWrapper
src/fastertransformer/utils/cublasMMWrapper.h:30
↓ 29 callers
Class
INIReader
Read an INI file into easy-to-access name/value pairs. (Note that I've gone for simplicity here rather than speed, but it should be pretty decent.)
3rdparty/INIReader.h:306
↓ 27 callers
Class
AverageMeter
Computes and stores the average and current value
examples/pytorch/vit/ViT-quantization/main.py:46
↓ 24 callers
Class
TensorMap
src/fastertransformer/utils/Tensor.h:304
↓ 21 callers
Enum
PositionEmbeddingType
src/fastertransformer/kernels/gen_relative_pos_bias.h:27
↓ 17 callers
Class
KeyHandler
examples/pytorch/gptneox/utils/eleutherai_gpt_neox_convert.py:86
↓ 13 callers
Class
FakeQuantizer
Fake Tensor quantizer module This module quantize a tensor and wraps variable. It also can collect relevant variables for calibration. Args:
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/layers/tensor_quantizer.py:126
↓ 13 callers
Class
GemmNotSupportedException
src/fastertransformer/utils/gemm.h:571
↓ 12 callers
Class
QuantDescriptor
Supportive descriptor of quantization. Describe how a tensor should be quantized. Args: collection_name_prefix: A string. Determine which colle
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/layers/tensor_quantizer.py:28
↓ 10 callers
Class
LinearActivation
r"""Fused Linear and Activation Module.
examples/pytorch/swin/Swin-Transformer-Quantization/models/linear_activation.py:91
↓ 9 callers
Class
VisionTransformerINT8
examples/pytorch/vit/ViT-quantization/vit_int8.py:399
↓ 8 callers
Class
LinearActivation
r"""Fused Linear and activation Module.
examples/pytorch/bert/bert-quantization-sparsity/modeling.py:150
↓ 8 callers
Class
TranslationResult
examples/tensorflow/t5/translate_example.py:67
↓ 8 callers
Class
TranslationResult
examples/pytorch/bart/translate_example.py:48
↓ 8 callers
Class
TranslationResult
examples/pytorch/t5/translate_example.py:81
↓ 8 callers
Class
TranslationResult
examples/pytorch/t5/perf_benchmark.py:46
↓ 8 callers
Class
UnpackedNemoCheckpointDir
examples/pytorch/nemo.py:76
↓ 7 callers
Class
BertModel
BERT model ("Bidirectional Embedding Representations from a Transformer"). Params: config: a BertConfig class instance with the configura
examples/pytorch/bert/bert-quantization-sparsity/modeling.py:855
↓ 7 callers
Class
Tensor
src/fastertransformer/triton_backend/transformer_triton_backend.hpp:101
↓ 7 callers
Class
TranslationResult
examples/tensorflow/decoding/translate_example.py:266
↓ 6 callers
Class
LinearActivation
r"""Fused Linear and Activation Module.
examples/pytorch/vit/ViT-quantization/vit_int8.py:80
↓ 5 callers
Class
AverageMeter
Computes and stores the average and current value
examples/pytorch/vit/ViT-quantization/eval_engine.py:48
↓ 5 callers
Class
DecodingArgumentNew
examples/tensorflow/decoder/utils/common.py:214
↓ 5 callers
Class
DecodingWeights
examples/pytorch/decoding/utils/decoding.py:49
↓ 5 callers
Class
FTT5
examples/pytorch/t5/utils/ft_decoding.py:488
↓ 5 callers
Class
FTT5Decoding
examples/pytorch/t5/utils/ft_decoding.py:426
↓ 5 callers
Class
FTT5DecodingWeight
examples/pytorch/t5/utils/ft_decoding.py:22
↓ 5 callers
Class
FTT5Encoder
examples/pytorch/t5/utils/ft_encoder.py:360
↓ 5 callers
Class
FTT5EncoderWeight
examples/pytorch/t5/utils/ft_encoder.py:23
↓ 5 callers
Class
InputExample
A single training/test example for simple sequence classification.
examples/tensorflow/bert/bert-quantization/utils/create_glue_data.py:69
↓ 5 callers
Class
cublasINT8MMWrapper
src/fastertransformer/utils/cublasINT8MMWrapper.h:31
↓ 4 callers
Class
BertLayerNorm
examples/pytorch/bert/bert-quantization-sparsity/modeling.py:333
↓ 4 callers
Class
BertTokenizer
Runs end-to-end tokenization: punctuation splitting + wordpiece
examples/pytorch/bert/bert-quantization-sparsity/tokenization.py:95
↓ 4 callers
Class
CustomEncoder
examples/pytorch/bert/utils/encoder.py:270
↓ 4 callers
Class
EncoderWeights
examples/pytorch/bert/utils/encoder.py:25
↓ 4 callers
Class
FeatureWriter
Writes InputFeature to TF example file.
examples/tensorflow/bert/bert-quantization/utils/create_squad_data.py:472
↓ 4 callers
Class
InputExample
A single training/test example for simple sequence classification.
examples/tensorflow/xlnet/convertInput.py:70
↓ 4 callers
Class
InputExample
A single training/test example for simple sequence classification.
examples/pytorch/bert/bert-quantization-sparsity/processors/glue.py:22
↓ 4 callers
Class
NcclParam
src/fastertransformer/utils/nccl_utils.h:60
↓ 4 callers
Class
ParallelGPT
examples/pytorch/gpt/utils/parallel_gpt.py:20
↓ 4 callers
Class
TransformerArgument
examples/tensorflow/decoder/utils/common.py:22
↓ 4 callers
Class
cublasFP8MMWrapper
src/fastertransformer/utils/cublasFP8MMWrapper.h:33
↓ 3 callers
Class
BeamSearch
examples/tensorflow/decoder/utils/beam_search.py:81
↓ 3 callers
Class
BertAdam
Implements BERT version of Adam algorithm with weight decay fix. Params: lr: learning rate warmup: portion of t_total for the warm
examples/pytorch/bert/bert-quantization-sparsity/optimization.py:64
↓ 3 callers
Class
BertConfig
Configuration class to store the configuration of a `BertModel`.
examples/pytorch/bert/bert-quantization-sparsity/modeling.py:214
↓ 3 callers
Class
BertEncoder
examples/pytorch/bert/bert-quantization-sparsity/modeling.py:546
↓ 3 callers
Class
Checkpoint
examples/pytorch/gptj/utils/reference_gptj.py:23
↓ 3 callers
Class
CustomEncoder
examples/pytorch/encoder/utils/ft_encoder.py:92
↓ 3 callers
Class
DecodingBeamsearchArgument
examples/tensorflow/decoder/utils/common.py:102
↓ 3 callers
Class
Embeddings
Construct the embeddings from patch, position embeddings.
examples/pytorch/vit/ViT-quantization/vit_int8.py:236
↓ 3 callers
Class
SwinTransformerINT8Weight
examples/pytorch/swin/SwinTransformerINT8Weight.py:20
↓ 3 callers
Class
SwinTransformerWeightTransposeQKVWeight
examples/pytorch/swin/SwinTransformerWeightTransposeQKVWeight.py:18
↓ 3 callers
Class
TorchDecoding
examples/pytorch/decoding/utils/decoding.py:423
↓ 3 callers
Class
TransformerArgument
examples/tensorflow/bert/utils/common.py:22
↓ 3 callers
Class
ViTINT8WeightLoader
examples/pytorch/vit/VisionTransformerINT8WeightLoader.py:40
↓ 2 callers
Class
ArgHelper
examples/pytorch/decoding/utils/decoding.py:415
↓ 2 callers
Class
BasicTokenizer
Runs basic tokenization (punctuation splitting, lower casing, etc.).
examples/tensorflow/bert/bert-quantization/tokenization.py:239
↓ 2 callers
Class
BasicTokenizer
Runs basic tokenization (punctuation splitting, lower casing, etc.).
examples/pytorch/bert/bert-quantization-sparsity/tokenization.py:178
↓ 2 callers
Class
BertEmbeddings
Construct the embeddings from word, position and token_type embeddings.
examples/pytorch/bert/bert-quantization-sparsity/modeling.py:360
↓ 2 callers
Class
BertLMPredictionHead
examples/pytorch/bert/bert-quantization-sparsity/modeling.py:622
↓ 2 callers
Class
BertModel
BERT model ("Bidirectional Encoder Representations from Transformers"). Example usage: ```python # Already been converted into WordPiece token
examples/tensorflow/bert/tensorflow_bert/my_modeling.py:110
↓ 2 callers
Class
BertModel
examples/pytorch/bert/utils/modeling_bert.py:25
↓ 2 callers
Class
BertPooler
examples/pytorch/bert/bert-quantization-sparsity/modeling.py:597
↓ 2 callers
Class
CustomDecoding
examples/pytorch/decoding/utils/ft_decoding.py:130
↓ 2 callers
Class
DecodingSamplingArgument
examples/tensorflow/decoder/utils/common.py:136
↓ 2 callers
Class
EncoderDecoderConfig
examples/pytorch/t5/mnli_task_example.py:114
↓ 2 callers
Class
EncoderDecoderConfig
examples/pytorch/t5/xnli_task_example.py:116
↓ 2 callers
Class
EncoderWeights
examples/pytorch/encoder/utils/ft_encoder.py:23
↓ 2 callers
Class
FTDecoder
examples/pytorch/decoder/utils/ft_decoder.py:119
↓ 2 callers
Class
FtDecoderWeights
examples/pytorch/decoder/utils/ft_decoder.py:30
↓ 2 callers
Class
FtDecodingWeights
examples/pytorch/decoding/utils/ft_decoding.py:26
↓ 2 callers
Class
GPT
examples/pytorch/gpt/utils/gpt.py:441
↓ 2 callers
Class
GPTFp8
examples/pytorch/gpt/utils/gpt_fp8.py:224
↓ 2 callers
Class
GptLayerWeights
examples/pytorch/gpt/utils/gpt_decoder.py:84
↓ 2 callers
Class
InputFeatures
A single set of features of data.
examples/tensorflow/bert/bert-quantization/utils/create_glue_data.py:100
↓ 2 callers
Class
InputFeatures
A single set of features of data.
examples/tensorflow/xlnet/convertInput.py:393
↓ 2 callers
Class
JiebaBPETokenizer
SentencePiece BPE tokenizer with Jieba integration
examples/pytorch/gpt/utils/tokenizer.py:20
↓ 2 callers
Class
LinearWarmUpScheduler
Applies a warm up period to the learning rate.
examples/pytorch/bert/bert-quantization-sparsity/schedulers.py:87
↓ 2 callers
Class
LogEvalRunHook
examples/tensorflow/bert/bert-quantization/utils/utils.py:18
↓ 2 callers
Class
Sampling
examples/tensorflow/decoder/utils/sampling.py:17
↓ 2 callers
Class
SinusoidalPositionEncoder
Encodes positions with sine waves as described in https://arxiv.org/abs/1706.03762.
examples/tensorflow/bert/utils/position.py:69
↓ 2 callers
Class
SinusoidalPositionEncoder
Encodes positions with sine waves as described in https://arxiv.org/abs/1706.03762.
examples/tensorflow/decoder/utils/position.py:69
↓ 2 callers
Class
WordpieceTokenizer
Runs WordPiece tokenization.
examples/tensorflow/bert/bert-quantization/tokenization.py:352
↓ 2 callers
Class
cublasAlgoMap
src/fastertransformer/utils/cublasAlgoMap.h:82
↓ 2 callers
Class
pretraining_dataset
examples/pytorch/bert/bert-quantization-sparsity/run_pretraining.py:95
↓ 1 callers
Class
AdamWeightDecayOptimizer
A basic Adam optimizer that includes "correct" L2 weight decay.
examples/tensorflow/bert/bert-quantization/optimization.py:180
↓ 1 callers
Class
Args
examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/test/toy_problem.py:75
↓ 1 callers
Class
Args
examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/test/checkpointing_test_part1.py:76
↓ 1 callers
Class
Args
examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/test/checkpointing_test_reference.py:79
↓ 1 callers
Class
Args
examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/test/checkpointing_test_part2.py:61
↓ 1 callers
Class
Arguments
Parameters structure
src/fastertransformer/cutlass_extensions/include/cutlass_extensions/gemm/kernel/fpA_intB_gemm.h:99
↓ 1 callers
Class
Attention
examples/pytorch/vit/ViT-quantization/vit_int8.py:145
↓ 1 callers
Class
BasicLayer
A basic Swin Transformer layer for one stage. Args: dim (int): Number of input channels. input_resolution (tuple[int]): Input re
examples/pytorch/swin/Swin-Transformer-Quantization/models/swin_transformer.py:402
↓ 1 callers
Class
BasicLayer
A basic Swin Transformer layer for one stage. Args: dim (int): Number of input channels. input_resolution (tuple[int]): Input re
examples/pytorch/swin/Swin-Transformer-Quantization/models/swin_transformer_v2.py:435
↓ 1 callers
Class
BertAttention
examples/pytorch/bert/bert-quantization-sparsity/modeling.py:486
↓ 1 callers
Class
BertConfig
Configuration for `BertModel`.
examples/tensorflow/bert/tensorflow_bert/my_modeling.py:34
↓ 1 callers
Class
BertConfig
Configuration for `BertModel`.
examples/tensorflow/bert/bert-quantization/modeling.py:36
↓ 1 callers
Class
BertForMultipleChoice
BERT model for multiple choice tasks. This module is composed of the BERT model with a linear layer on top of the pooled output. Params:
examples/pytorch/bert/bert-quantization-sparsity/modeling.py:1176
↓ 1 callers
Class
BertForQuestionAnswering
BERT model for Question Answering (span extraction). This module is composed of the BERT model with a linear layer on top of the sequence outp
examples/pytorch/bert/bert-quantization-sparsity/modeling.py:1319
next →
1–100 of 1,417, ranked by callers