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
Function
_eff_body
(from_tensor)
examples/tensorflow/bert/bert_example.py:162
Method
_encode
(self, positions, depth, dtype)
examples/tensorflow/bert/utils/position.py:74
Method
_encode
(self, positions, depth, dtype)
examples/tensorflow/decoder/utils/position.py:74
Method
_encode
(self, positions, depth, dtype)
examples/tensorflow/common_utils/position.py:74
Function
_ft_body
(from_tensor)
examples/tensorflow/encoder/encoder_example.py:164
Function
_ft_body
(from_tensor)
examples/tensorflow/bert/bert_example.py:155
Method
_get_position_encoding
(self)
examples/pytorch/decoding/utils/decoding.py:131
Function
_get_shape_invariants
Returns the shape of the tensor but sets middle dims to None.
examples/tensorflow/decoder/utils/common.py:250
Function
_gpu_map_location
(storage, loc)
examples/pytorch/t5/utils/megatron_t5_ckpt_convert.py:122
Method
_init_weights
(self, m)
examples/pytorch/swin/Swin-Transformer-Quantization/models/swin_transformer.py:607
Method
_init_weights
(self, m)
examples/pytorch/swin/Swin-Transformer-Quantization/models/swin_transformer_v2.py:649
Method
_inject_parallel_ranks
(tp_rank, pp_rank)
examples/pytorch/nemo.py:137
Method
_load_from_file
(fname)
examples/pytorch/gpt/utils/gpt_decoder.py:260
Method
_map_int8
(self, func)
examples/pytorch/gpt/utils/gpt_fp8.py:134
Method
_map_int8_scales
(self, func)
examples/pytorch/gpt/utils/gpt.py:251
Method
_normalize_distr
(distr)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/calibrator.py:181
Function
_project_and_split
()
examples/tensorflow/decoder/utils/decoder.py:194
Method
_recursive_map
(struct, batch_dim=0, use_batch_major_op_cache=False)
examples/pytorch/decoding/utils/decoding.py:299
Method
_safe_load_from_bin
(param: torch.nn.Parameter, fname)
examples/pytorch/gpt/utils/gpt_decoder.py:885
Method
_safe_load_lm_head_from_bin
(param, fname, ctype)
examples/pytorch/gpt/utils/gpt_decoder.py:893
Function
_symmetric_quantize_last_axis_of_batched_matrix
Same as symmetric_quantize_last_axis_of_batched_matrix but returns a tuple of: (unprocessed_quantized_weights, preprocessed_quantized_weights, scales)
src/fastertransformer/th_op/common/WeightOnlyQuantOps.cc:232
Function
_tf_body
(from_tensor)
examples/tensorflow/encoder/encoder_example.py:178
Function
_tf_body
(from_tensor)
examples/tensorflow/bert/bert_example.py:169
Function
_update_config_from_file
(config, cfg_file)
examples/pytorch/vit/ViT-quantization/config.py:172
Function
accuracy
(out, labels)
examples/pytorch/bert/bert-quantization-sparsity/run_glue.py:116
Function
add
tests/unittests/gtest_utils.h:142
Method
add_args_group
(parser: argparse.ArgumentParser)
examples/pytorch/gpt/utils/bloom.py:171
Function
add_arguments
Add arguments to parser for functions defined in quant_trainer.
examples/pytorch/vit/ViT-quantization/quant_utils.py:40
Function
add_arguments
Add arguments to parser for functions defined in quant_trainer.
examples/pytorch/bert/bert-quantization-sparsity/quant_utils.py:41
Function
add_arguments
(parser)
examples/pytorch/gpt/utils/checkpoint_saver_fastertransformer.py:10
Function
add_arguments
Add arguments to parser for functions defined in quant_trainer.
examples/pytorch/swin/Swin-Transformer-Quantization/quant_utils.py:40
Function
add_bias_and_interleave_int4s
src/fastertransformer/th_op/common/WeightOnlyQuantOps.cc:237
Function
add_bias_and_interleave_int8s
src/fastertransformer/th_op/common/WeightOnlyQuantOps.cc:253
Function
add_bias_residual_layernorm_test
examples/cpp/decoding/layernorm_test.cc:178
Function
add_ia3_task
(saved_dir, saved_config, weight_dt, infer_tp, layer_name, layer)
examples/pytorch/t5/utils/nemo_t5_ia3.py:127
Method
add_sparse_attributes
(module_name, module)
examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/asp.py:95
Method
affine
(self)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/layers/tensor_quantizer.py:95
Method
affine
(self)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/histogram.py:103
Function
affine_quant_np
Affine quantize x using numpy.
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/utils/utils.py:44
Method
after_create_session
(self, session, coord)
examples/tensorflow/bert/bert-quantization/run_pretraining.py:126
Method
after_create_session
(self, session, coord)
examples/tensorflow/bert/bert-quantization/utils/utils.py:52
Method
after_run
(self, run_context, run_values)
examples/tensorflow/bert/bert-quantization/run_pretraining.py:156
Method
after_run
(self, run_context, run_values)
examples/tensorflow/bert/bert-quantization/utils/utils.py:30
Method
after_run
(self, run_context, run_values)
examples/tensorflow/bert/bert-quantization/utils/utils.py:60
Function
align_in_time
Aligns the time dimension of :obj:`x` with :obj:`length`.
examples/tensorflow/bert/utils/reducer.py:23
Function
align_in_time
Aligns the time dimension of :obj:`x` with :obj:`length`.
examples/tensorflow/decoder/utils/reducer.py:23
Function
align_in_time
Aligns the time dimension of :obj:`x` with :obj:`length`.
examples/tensorflow/common_utils/reducer.py:23
Method
allocateBuffer
src/fastertransformer/layers/DynamicDecodeLayer.cc:29
Method
allocateBuffer
src/fastertransformer/layers/FfnLayer.cc:453
Method
allocateBuffer
src/fastertransformer/layers/FfnFP8Layer.cc:425
Method
allocateBuffer
src/fastertransformer/layers/FfnLayerINT8.cc:191
Method
allocateBuffer
src/fastertransformer/layers/sampling_layers/BaseSamplingLayer.cc:29
Method
allocateBuffer
src/fastertransformer/layers/adapter_layers/LinearAdapterLayer.cc:108
Method
allocateBuffer
src/fastertransformer/layers/attention_layers/UnfusedAttentionLayer.cc:388
Method
allocateBuffer
src/fastertransformer/layers/attention_layers/DisentangledAttentionLayer.cc:536
Method
allocateBuffer
src/fastertransformer/layers/attention_layers/GptContextAttentionLayer.cc:531
Method
allocateBuffer
src/fastertransformer/layers/attention_layers/LongformerAttentionLayer.cc:395
Method
allocateBuffer
src/fastertransformer/layers/attention_layers/WindowAttention.cc:41
Method
allocateBuffer
src/fastertransformer/layers/attention_layers/DecoderSelfAttentionLayer.cc:192
Method
allocateBuffer
src/fastertransformer/layers/attention_layers_fp8/SelfAttentionFP8Layer.cc:382
Method
allocateBuffer
src/fastertransformer/layers/attention_layers_fp8/GptContextAttentionFP8Layer.cc:417
Method
allocateBuffer
src/fastertransformer/layers/attention_layers_fp8/DecoderSelfAttentionFP8Layer.cc:137
Method
allocateBuffer
src/fastertransformer/layers/attention_layers_int8/UnfusedAttentionLayerINT8.cc:687
Method
allocateBuffer
src/fastertransformer/layers/xlnet_attention_layers/XlnetAttentionLayer.cc:232
Method
allocateBuffer
src/fastertransformer/triton_backend/multi_gpu_gpt/ParallelGptTritonModelInstance.cc:265
Method
allocateBuffer
src/fastertransformer/triton_backend/t5-encoder/T5EncoderTritonModelInstance.cc:145
Method
allocateBuffer
src/fastertransformer/triton_backend/bert/BertTritonModelInstance.cc:122
Method
allocateBuffer
src/fastertransformer/triton_backend/gptneox/GptNeoXTritonModelInstance.cc:236
Method
allocateBuffer
src/fastertransformer/triton_backend/multi_gpu_gpt_fp8/ParallelGptFP8TritonModelInstance.cc:207
Method
allocateBuffer
src/fastertransformer/triton_backend/gptj/GptJTritonModelInstance.cc:236
Method
allocateBuffer
src/fastertransformer/triton_backend/t5/T5TritonModelInstance.cc:236
Method
allocateBuffer
src/fastertransformer/models/multi_gpu_gpt/ParallelGptContextDecoder.cc:88
Method
allocateBuffer
src/fastertransformer/models/multi_gpu_gpt/ParallelGpt.cc:90
Method
allocateBuffer
src/fastertransformer/models/multi_gpu_gpt/ParallelGptDecoder.cc:160
Method
allocateBuffer
src/fastertransformer/models/bart/BartDecoding.cc:58
Method
allocateBuffer
src/fastertransformer/models/bart/BartDecoder.cc:116
Method
allocateBuffer
src/fastertransformer/models/bart/BartEncoder.cc:218
Method
allocateBuffer
src/fastertransformer/models/vit/ViT.cc:186
Method
allocateBuffer
src/fastertransformer/models/longformer/LongformerEncoder.cc:92
Method
allocateBuffer
src/fastertransformer/models/deberta/Deberta.cc:198
Method
allocateBuffer
src/fastertransformer/models/bert_int8/BertINT8.cc:126
Method
allocateBuffer
src/fastertransformer/models/bert_int8/BertLayerINT8.cc:129
Method
allocateBuffer
src/fastertransformer/models/bert/Bert.cc:211
Method
allocateBuffer
src/fastertransformer/models/decoding/Decoding.cc:51
Method
allocateBuffer
src/fastertransformer/models/gptneox/GptNeoXDecoder.cc:62
Method
allocateBuffer
src/fastertransformer/models/gptneox/GptNeoX.cc:76
Method
allocateBuffer
src/fastertransformer/models/gptneox/GptNeoXContextDecoder.cc:67
Method
allocateBuffer
src/fastertransformer/models/decoder/Decoder.cc:53
Method
allocateBuffer
src/fastertransformer/models/gpt_fp8/GptFP8.cc:66
Method
allocateBuffer
src/fastertransformer/models/gpt_fp8/GptFP8ContextDecoder.cc:49
Method
allocateBuffer
src/fastertransformer/models/gpt_fp8/GptFP8Decoder.cc:88
Method
allocateBuffer
src/fastertransformer/models/xlnet/Xlnet.cc:96
Method
allocateBuffer
src/fastertransformer/models/vit_int8/ViTINT8.cc:174
Method
allocateBuffer
src/fastertransformer/models/bert_fp8/BertFP8.cc:121
Method
allocateBuffer
src/fastertransformer/models/wenet/WenetDecoder.cc:61
Method
allocateBuffer
src/fastertransformer/models/wenet/MultiHeadedAttentionLayer.cc:385
Method
allocateBuffer
src/fastertransformer/models/wenet/RelPositionAttentionLayer.cc:393
Method
allocateBuffer
src/fastertransformer/models/wenet/WenetEncoder.cc:191
Method
allocateBuffer
src/fastertransformer/models/wenet/ConformerConvLayer.cc:381
Method
allocateBuffer
src/fastertransformer/models/gptj/GptJ.cc:77
← previous
next →
2,101–2,200 of 4,228, ranked by callers