MCPcopy Create free account

hub / github.com/NVIDIA/FasterTransformer / functions

Functions4,228 in github.com/NVIDIA/FasterTransformer

Functionprint_abs_mean
src/fastertransformer/utils/cuda_utils.cc:57
Functionprint_memory_usage
(info="")
examples/pytorch/utils.py:20
Functionprint_to_file
src/fastertransformer/utils/cuda_utils.cc:25
Functionprint_to_screen
src/fastertransformer/utils/cuda_utils.cc:110
Functionprintable_text
Returns text encoded in a way suitable for print or `tf.logging`.
examples/tensorflow/bert/bert-quantization/tokenization.py:102
Methodprocess
(self, total_probs, beam_width, vocab_size)
examples/tensorflow/decoder/utils/beam_search.py:78
Methodprocess
inputs: total_probs: float tensor, [batch_size * beam_width, vocab_size] outputs: sample_ids: int te
examples/tensorflow/decoder/utils/beam_search.py:115
FunctionpruneMatrixB
src/fastertransformer/utils/gemm.cc:1106
Methodprune_trained_model
(cls, model, optimizer)
examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/asp.py:212
Methodqgmma1x1Launcher
3rdparty/fp8_qgmma_1x1/fp8_qgmma_1x1_utils.h:58
MethodqgmmaDimsKey
constructor
3rdparty/fp8_qgmma_1x1/fp8_qgmma_1x1_utils.h:34
Functionqk_dot_
src/fastertransformer/kernels/decoder_masked_multihead_attention/decoder_masked_multihead_attention_template.hpp:596
Methodquant_max
(self)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/layers/tensor_quantizer.py:166
Methodquant_max_name
(self)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/calibrator.py:287
Methodquant_min
(self)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/layers/tensor_quantizer.py:162
Methodquant_min_name
(self)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/calibrator.py:283
Functionread_set_from_file
Extract a de-duped collection (set) of text from a file. Expected file format is one item per line.
examples/pytorch/bert/bert-quantization-sparsity/file_utils.py:248
Functionrecall
Multi-class recall metric for Tensorflow Parameters ---------- labels : Tensor of tf.int32 or tf.int64 The true labels pr
examples/tensorflow/bert/bert-quantization/tf_metrics.py:53
Methodreduce_sequence
(self, inputs, sequence_lengths)
examples/tensorflow/bert/utils/reducer.py:136
Methodreduce_sequence
(self, inputs, sequence_lengths)
examples/tensorflow/decoder/utils/reducer.py:136
Methodreduce_sequence
(self, inputs, sequence_lengths)
examples/tensorflow/common_utils/reducer.py:136
Methodreference_interleave
(self, tensor, quant_type)
tests/weight_only_quant_ops/th_weight_quant_ops_unit_tests.py:31
MethodregisterCallback
src/fastertransformer/models/multi_gpu_gpt/ParallelGpt.cc:520
MethodregisterCallback
src/fastertransformer/models/gptneox/GptNeoX.cc:357
MethodregisterCallback
src/fastertransformer/models/gptj/GptJ.cc:364
MethodregisterCallback
src/fastertransformer/models/t5/T5Decoding.cc:341
Methodregister_param
(name, p)
examples/pytorch/gpt/utils/gpt_decoder.py:793
Functionregression_loss
(hidden, labels, initializer, scope, reuse=None, return_logits=False)
examples/tensorflow/xlnet/modeling.py:768
Methodreplace_encoder
(self, encoder)
examples/pytorch/bert/utils/modeling_bert.py:216
Functionreset
()
examples/pytorch/gpt/utils/profiler.py:50
Methodreset
Reset the collected values
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/max.py:81
Methodreset
Reset the collected histogram
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/histogram.py:88
MethodresetBatch
src/fastertransformer/models/vit/ViT.cc:422
MethodresetBatch
src/fastertransformer/models/vit_int8/ViTINT8.cc:447
FunctionresetDeviceDomain
src/fastertransformer/utils/nvtx_utils.cc:49
MethodresetSeqLen
src/fastertransformer/models/vit_int8/ViTINT8.cc:457
Functionreshape_from_matrix
(output_tensor, orig_shape_list)
examples/tensorflow/encoder/utils/encoder.py:171
Functionreshape_from_matrix
(output_tensor, orig_shape_list)
examples/tensorflow/bert/utils/bert.py:313
Functionreshape_to_matrix
Reshapes a >= rank 2 tensor to a rank 2 tensor (i.e., a matrix).
examples/tensorflow/encoder/utils/encoder.py:157
MethodresizeLayer
src/fastertransformer/models/multi_gpu_gpt/ParallelGptWeight.cc:364
MethodresizeLayer
src/fastertransformer/models/bart/BartDecodingWeight.cc:275
MethodresizeLayer
src/fastertransformer/models/bart/BartEncoderWeight.cc:267
MethodresizeLayer
src/fastertransformer/models/gptneox/GptNeoXWeight.cc:282
MethodresizeLayer
src/fastertransformer/models/gpt_fp8/GptFP8Weight.cc:200
MethodresizeLayer
src/fastertransformer/models/t5/T5DecodingWeight.cc:298
MethodreturnStream
src/fastertransformer/utils/allocator.h:198
MethodreturnStream
src/fastertransformer/utils/allocator.h:414
Functionrun
()
examples/tensorflow/encoder/encoder_example.py:227
Functionrun
()
examples/tensorflow/bert/bert_example.py:214
Functionrun
()
examples/pytorch/bert/bert_example.py:287
Methodrun
3rdparty/trt_fp8_fmha/fused_multihead_attention.h:232
Methodrun
3rdparty/trt_fused_multihead_attention/fused_multihead_attention_v2.h:5278
Methodrun
3rdparty/trt_fused_multihead_attention/fused_multihead_attention.h:365
Methodrun_gemm
src/fastertransformer/kernels/cutlass_kernels/int8_gemm/int8_gemm_template.h:504
Methodrun_gemm<EpilogueTag>
src/fastertransformer/kernels/cutlass_kernels/moe_gemm/moe_gemm_kernels_template.h:757
Methodrun_gemm<EpilogueTag>
src/fastertransformer/kernels/cutlass_kernels/fpA_intB_gemm/fpA_intB_gemm_template.h:461
Methodrun_kernel
src/fastertransformer/cutlass_extensions/include/cutlass_extensions/gemm/kernel/fpA_intB_gemm.h:289
Methodrun_kernel
src/fastertransformer/cutlass_extensions/include/cutlass_extensions/gemm/kernel/fpA_intB_gemm.h:298
Methodrun_kernel
src/fastertransformer/cutlass_extensions/include/cutlass_extensions/gemm/kernel/moe_cutlass_kernel.h:351
Methodrun_kernel
src/fastertransformer/cutlass_extensions/include/cutlass_extensions/gemm/kernel/moe_cutlass_kernel.h:360
Functionrun_mma
src/fastertransformer/cutlass_extensions/include/cutlass_extensions/gemm/kernel/moe_cutlass_kernel.h:67
Functionrun_moe_fc
tests/moe/th_moe_ops.cc:356
Functionrun_moe_fc_helper
tests/moe/th_moe_ops.cc:252
Functionrun_profile
(graph_fn, jit_xla, num_iter, profiler=None, init_checkpoint=None, check_result=True, dryrun_iter=1)
examples/tensorflow/bert/tensorflow_bert/profile_util.py:47
Methodrun_translate
(self, beam_width, datatype, test_time, topk=4, topp=0.0, batch_size=-1, decoder_bleu_sc
tests/decoding/tf_decoding_unit_test.py:57
Functions3_request
Wrapper function for s3 requests in order to create more helpful error messages.
examples/pytorch/bert/bert-quantization-sparsity/file_utils.py:140
Methodsafe_extract
(tar, path=".", members=None, *, numeric_owner=False)
examples/pytorch/bert/bert-quantization-sparsity/modeling.py:780
Functionsafe_transpose
(tensor)
examples/pytorch/utils.py:40
Functionsample_model
Run the sample_model. :model_name=124M : String, which model to use :nsamples=0 : Number of samples to return, if 0, continues to genera
examples/tensorflow/gpt/gpt_example.py:58
FunctionsaveToTxt
(x, name, clean=False)
examples/pytorch/swin/infer_swintransformer_acc.py:44
MethodsendStopSignal
examples/cpp/multi_gpu_gpt/multi_gpu_gpt_async_example.cc:179
MethodsendTensorsToFirstPipelineNode
src/fastertransformer/models/multi_gpu_gpt/ParallelGpt.cc:1592
MethodsendTensorsToFirstPipelineNode
src/fastertransformer/models/gptneox/GptNeoX.cc:1048
MethodsendTensorsToFirstPipelineNode
src/fastertransformer/models/gptj/GptJ.cc:1086
MethodsendTensorsToFirstPipelineNode
src/fastertransformer/models/t5/T5Decoding.cc:487
Methodserialize
src/fastertransformer/tensorrt_plugin/vit/ViTPlugin.cpp:285
Methodserialize
src/fastertransformer/tensorrt_plugin/vit/ViTINT8Plugin.cpp:297
Methodserialize
src/fastertransformer/tensorrt_plugin/bert_fp8/bertFp8Plugin.h:141
Methodserialize
src/fastertransformer/tensorrt_plugin/wenet/DecoderPlugin.cc:171
Methodserialize
src/fastertransformer/tensorrt_plugin/wenet/EncoderPlugin.cc:216
Methodserialize
src/fastertransformer/tensorrt_plugin/swin/swinTransformerINT8Plugin.cpp:706
Methodserialize
src/fastertransformer/tensorrt_plugin/swin/serialize.hpp:49
Methodserialize
src/fastertransformer/tensorrt_plugin/swin/serialize.hpp:69
Methodserialize
src/fastertransformer/tensorrt_plugin/swin/serialize.hpp:92
Methodserialize
src/fastertransformer/tensorrt_plugin/swin/swinTransformerPlugin.cpp:616
Methodserialize
src/fastertransformer/models/vit/ViTLayerWeight.h:197
Methodserialize
src/fastertransformer/models/vit/ViTWeight.h:171
Methodserialize
src/fastertransformer/models/vit_int8/ViTLayerINT8Weight.h:222
Methodserialize
src/fastertransformer/models/vit_int8/ViTINT8Weight.h:170
Methodserialize
src/fastertransformer/models/bert_fp8/BertFP8LayerWeight.cc:466
Methodserialize
src/fastertransformer/models/bert_fp8/BertFP8Weight.cc:158
Methodserialize_engine
(self, engine, file_folder='./')
examples/tensorrt/vit/plugin_loader.py:171
Functionserialized_size
src/fastertransformer/tensorrt_plugin/swin/serialize.hpp:115
Methodserialized_size
src/fastertransformer/tensorrt_plugin/swin/serialize.hpp:45
Methodserialized_size
src/fastertransformer/tensorrt_plugin/swin/serialize.hpp:65
Methodserialized_size
src/fastertransformer/tensorrt_plugin/swin/serialize.hpp:88
Functionserving_input_fn
()
examples/tensorflow/bert/bert-quantization/run_squad.py:981
MethodsetAllocator
src/fastertransformer/utils/gemm.cc:60
MethodsetBartStructureDiff
src/fastertransformer/models/bart/BartDecodingWeight.cc:288
MethodsetBartWithBias
src/fastertransformer/models/bart/BartDecoderLayerWeight.cc:284
← previousnext →3,501–3,600 of 4,228, ranked by callers