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
allocateBuffer
src/fastertransformer/models/gptj/GptJDecoder.cc:62
Method
allocateBuffer
src/fastertransformer/models/gptj/GptJContextDecoder.cc:67
Method
allocateBuffer
src/fastertransformer/models/swin/SwinBlock.cc:22
Method
allocateBuffer
src/fastertransformer/models/swin/SwinBasicLayer.cc:22
Method
allocateBuffer
src/fastertransformer/models/swin/Swin.cc:84
Method
allocateBuffer
src/fastertransformer/models/t5/T5Encoder.cc:259
Method
allocateBuffer
src/fastertransformer/models/t5/T5Decoding.cc:61
Method
allocateBuffer
src/fastertransformer/models/t5/T5Decoder.cc:132
Method
allocateBuffer
src/fastertransformer/models/swin_int8/SwinBasicLayerINT8.cc:22
Method
allocateBuffer
src/fastertransformer/models/swin_int8/SwinBlockINT8.cc:22
Method
allocateBuffer
src/fastertransformer/models/swin_int8/SwinINT8.cc:22
Function
append_feature
(feature)
examples/tensorflow/bert/tensorflow_bert/run_squad_wrap.py:242
Function
append_feature
(feature)
examples/tensorflow/bert/bert-quantization/run_squad.py:1279
Function
append_feature
(feature)
examples/tensorflow/bert/bert-quantization/utils/create_squad_data.py:545
Method
apply_gradients
See base class.
examples/tensorflow/bert/bert-quantization/optimization.py:201
Function
arr2str
src/fastertransformer/utils/string_utils.h:71
Method
as_vec
examples/cpp/xlnet/cnpy.h:55
Method
asdict
(self)
examples/pytorch/gpt/utils/bloom.py:228
Method
attachToContext
src/fastertransformer/tensorrt_plugin/wenet/DecoderPlugin.cc:337
Method
attachToContext
src/fastertransformer/tensorrt_plugin/wenet/EncoderPlugin.cc:387
Method
axis
(self)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/layers/tensor_quantizer.py:103
Function
barrier
src/fastertransformer/utils/mpi_utils.cc:100
Method
batchedGemm
src/fastertransformer/utils/cublasMMWrapper.cc:577
Method
before_run
(self, run_context)
examples/tensorflow/bert/bert-quantization/run_squad.py:238
Method
before_run
(self, run_context)
examples/tensorflow/bert/bert-quantization/run_pretraining.py:132
Method
before_run
(self, run_context)
examples/tensorflow/bert/bert-quantization/utils/utils.py:27
Method
before_run
(self, run_context)
examples/tensorflow/bert/bert-quantization/utils/utils.py:55
Method
begin_epilogue
Called at the start of the epilogue just before iterating over accumulator slices
src/fastertransformer/cutlass_extensions/include/cutlass_extensions/epilogue/threadblock/epilogue_per_row_per_col_scale.h:226
Method
begin_row
Called at the start of a row
src/fastertransformer/cutlass_extensions/include/cutlass_extensions/epilogue/threadblock/epilogue_per_row_per_col_scale.h:267
Method
begin_step
Called at the start of one step before starting accumulator exchange
src/fastertransformer/cutlass_extensions/include/cutlass_extensions/epilogue/threadblock/epilogue_per_row_per_col_scale.h:244
Function
benchmark_against_cublas_fp
tests/gemm_dequantize/th_gemm_dequantize.cc:219
Function
bertExample
examples/cpp/bert/bert_example.cc:66
Function
bertExample
examples/cpp/bert_fp8/bert_fp8_example_squad.cc:57
Function
bertExample
examples/cpp/bert_fp8/bert_fp8_example.cc:157
Function
bertINT8Example
examples/cpp/bert_int8/bert_int8_example.cc:73
Function
bert_triton_example
examples/cpp/bert/bert_triton_example.cc:148
Method
bfloat16
(self)
examples/pytorch/gpt/utils/gpt_decoder.py:215
Method
bfloat16
(self)
examples/pytorch/gpt/utils/gpt_decoder.py:380
Function
bias_gelu
(bias, y)
examples/pytorch/vit/ViT-quantization/vit_int8.py:63
Function
bias_gelu
(bias, y)
examples/pytorch/bert/bert-quantization-sparsity/modeling.py:127
Function
bias_gelu
(bias, y)
examples/pytorch/swin/Swin-Transformer-Quantization/models/linear_activation.py:29
Function
bias_gelu_training
(bias, y)
examples/pytorch/bert/bert-quantization-sparsity/modeling.py:132
Function
bias_gelu_training
(bias, y)
examples/pytorch/swin/Swin-Transformer-Quantization/models/linear_activation.py:34
Function
bias_noact
(bias, y)
examples/pytorch/vit/ViT-quantization/vit_int8.py:67
Function
bias_noact
(bias, y)
examples/pytorch/bert/bert-quantization-sparsity/modeling.py:143
Function
bias_noact
(bias, y)
examples/pytorch/swin/Swin-Transformer-Quantization/models/linear_activation.py:45
Function
bias_tanh
(bias, y)
examples/pytorch/bert/bert-quantization-sparsity/modeling.py:136
Function
bias_tanh
(bias, y)
examples/pytorch/swin/Swin-Transformer-Quantization/models/linear_activation.py:38
Function
block_sum
src/fastertransformer/kernels/decoder_masked_multihead_attention/decoder_masked_multihead_attention_template.hpp:692
Method
broadcastFromLastPipeline
src/fastertransformer/th_op/common/DynamicDecodeOp.cc:190
Method
bulk_restore
(self, filename_tensor, saveables, preferred_shard, restore_sequentially)
examples/tensorflow/ckpt_type_convert.py:55
Method
bulk_restore
(self, filename_tensor, saveables, preferred_shard, restore_sequentially)
examples/tensorflow/bert/tensorflow_bert/ckpt_type_convert.py:55
Method
calib_bin_edges
(self)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/histogram.py:95
Method
calib_hist
(self)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/histogram.py:99
Method
calib_max
(self)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/max.py:95
Method
calib_max
(self)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/calibrator.py:277
Method
calib_min
(self)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/max.py:91
Method
calib_min
(self)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/calibrator.py:271
Method
call
Add position encodings to :obj:`inputs`. Args: inputs: The inputs to encode. position: The single position to encode, to u
examples/tensorflow/bert/utils/position.py:34
Method
call
Forward pass, modified from `tf.layers.Dense.call`
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/layers/dense.py:100
Method
call
Add position encodings to :obj:`inputs`. Args: inputs: The inputs to encode. position: The single position to encode, to u
examples/tensorflow/decoder/utils/position.py:34
Method
call
Add position encodings to :obj:`inputs`. Args: inputs: The inputs to encode. position: The single position to encode, to u
examples/tensorflow/common_utils/position.py:34
Method
can_implement
Determines whether kernel satisfies alignment
src/fastertransformer/cutlass_extensions/include/cutlass_extensions/gemm/kernel/moe_cutlass_kernel.h:319
Method
can_implement
Determines whether kernel satisfies alignment
src/fastertransformer/cutlass_extensions/include/cutlass_extensions/gemm/kernel/gemm_with_epilogue_visitor.h:314
Function
check
src/fastertransformer/utils/cuda_utils.h:116
Method
checkDataTypeValidity
src/fastertransformer/utils/gemm.cc:693
Function
checkResult
tests/unittests/unittest_utils.h:83
Function
checkResult
tests/unittests/gtest_utils.h:39
Function
check_abs_mean_val
src/fastertransformer/utils/cuda_utils.cc:313
Function
check_max_val
src/fastertransformer/utils/cuda_utils.cc:291
Method
checkpoint_name
(self)
examples/pytorch/nemo.py:165
Method
checkpoints_dir
(self)
examples/pytorch/nemo.py:126
Method
chunks
(data, size=len(self.articles))
examples/pytorch/bert/bert-quantization-sparsity/data/TextSharding.py:71
Function
classification_loss
Different classification tasks should use different scope names to ensure different dense layers (parameters) are used to pro
examples/tensorflow/xlnet/modeling.py:742
Method
clone
src/fastertransformer/tensorrt_plugin/vit/ViTINT8Plugin.cpp:181
Method
clone
src/fastertransformer/tensorrt_plugin/wenet/DecoderPlugin.cc:177
Method
clone
src/fastertransformer/tensorrt_plugin/wenet/EncoderPlugin.cc:222
Method
clone
src/fastertransformer/tensorrt_plugin/swin/swinTransformerINT8Plugin.cpp:557
Method
clone
src/fastertransformer/tensorrt_plugin/swin/swinTransformerPlugin.cpp:476
Method
collect
Collect min/max values Args: x_np: A numpy array to be processed. Raises: RuntimeError: when the input shape changed
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/max.py:45
Method
collect
Collect histogram Args: x_np: A numpy array to be processed.
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/histogram.py:51
Method
collection_name_prefix
(self)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/layers/tensor_quantizer.py:83
Function
compareTwoTensor
src/fastertransformer/utils/cuda_utils.h:430
Function
compressMatrixB
src/fastertransformer/utils/gemm.cc:1136
Method
compress_weights
src/fastertransformer/models/multi_gpu_gpt/ParallelGptWeight.cc:376
Method
compress_weights
src/fastertransformer/models/multi_gpu_gpt/ParallelGptDecoderLayerWeight.cc:617
Method
compress_weights
src/fastertransformer/models/bart/BartEncoderLayerWeight.cc:189
Method
compress_weights
src/fastertransformer/models/deberta/DebertaLayerWeight.cc:151
Method
compress_weights
src/fastertransformer/models/gpt_fp8/GptFP8Weight.cc:210
Method
compress_weights
src/fastertransformer/models/t5/T5EncoderLayerWeight.cc:230
Method
computeContextCumLogProbs
src/fastertransformer/models/multi_gpu_gpt/ParallelGpt.cc:403
Method
compute_and_load_range
wraps :func:`compute_range <quantization.Calibrator.compute_range>` and :func:`load_range <quantization.Calibrator.load_range>` for convenience
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/calibrator.py:259
Function
compute_occupancy_for_kernel
src/fastertransformer/cutlass_extensions/include/cutlass_extensions/compute_occupancy.h:26
Method
compute_total_rows_before_expert
src/fastertransformer/kernels/moe_kernels.h:266
Method
configurePlugin
src/fastertransformer/tensorrt_plugin/vit/ViTPlugin.cpp:216
Method
configurePlugin
src/fastertransformer/tensorrt_plugin/vit/ViTINT8Plugin.cpp:228
Method
configurePlugin
src/fastertransformer/tensorrt_plugin/wenet/DecoderPlugin.cc:272
Method
configurePlugin
src/fastertransformer/tensorrt_plugin/wenet/EncoderPlugin.cc:321
Method
configurePlugin
src/fastertransformer/tensorrt_plugin/swin/swinTransformerINT8Plugin.cpp:625
Method
configurePlugin
src/fastertransformer/tensorrt_plugin/swin/swinTransformerPlugin.cpp:541
← previous
next →
2,201–2,300 of 4,228, ranked by callers