MCPcopy Create free account

hub / github.com/NVIDIA/FasterTransformer / functions

Functions4,228 in github.com/NVIDIA/FasterTransformer

Functionsplit_and_convert_process
(saved_dir, factor, key, args, config, val)
examples/pytorch/gptneox/utils/huggingface_gptneox_convert.py:22
Functionsplit_and_convert_process
(i, saved_dir,factor,key,args,config,val)
examples/pytorch/gptneox/utils/huggingface_jp_gptneox_convert.py:65
Functionsplit_and_convert_process
(i, saved_dir,factor,key,args, val)
examples/pytorch/gpt/utils/huggingface_gpt_convert.py:41
Functionsplit_and_convert_process
(i, pipeline_para_rank, saved_dir, factor, key, model_training_args, transformer_model_list, ckpt_ver, np_weig
examples/pytorch/gpt/utils/megatron_fp8_ckpt_convert.py:242
Functionsplit_and_convert_process
(i, pipeline_para_rank, saved_dir, factor, key, model_training_args, transformer_model_list, ckpt_ver, np_weig
examples/pytorch/gpt/utils/megatron_ckpt_convert.py:217
Functionsplit_and_convert_process
( tp_rank: int, pp_rank: int, saved_dir: typing.Union[str, pathlib.Path], factor: int, key
examples/pytorch/gpt/utils/nemo_ckpt_convert.py:165
Functionsplit_and_convert_process
(i, saved_dir, factor, key, args, val)
examples/pytorch/gpt/utils/huggingface_jp_gpt_convert.py:43
Functionsplit_and_convert_process
(i, saved_dir, factor, key, args, val, capture_dict, old_name, dtype)
examples/pytorch/gpt/utils/huggingface_opt_convert.py:63
Functionsplit_and_convert_process
(model_type, i, pipeline_para_rank, saved_dir, factor, key, model_args, transformer_model_list, ckpt_ver, np_w
examples/pytorch/t5/utils/megatron_t5_ckpt_convert.py:247
Functionsplit_and_convert_process
( model_type, tensor_para_rank, pipeline_para_rank, saved_dir, factor, key, nemo_m
examples/pytorch/t5/utils/nemo_t5_ckpt_convert.py:418
Functionsplit_and_convert_process
(key, val, factor, saved_dir)
examples/pytorch/t5/utils/huggingface_t5_ckpt_convert.py:70
Functionsplit_and_convert_process
(i, saved_dir,factor,key,args, val)
examples/onnx/multi_gpu_gpt/onnx_ckpt_convert.py:28
Functionsplit_heads
Splits a tensor in depth. Args: inputs: A ``tf.Tensor`` of shape :math:`[B, T, D]`. num_heads: The number of heads :math:`H`. Re
examples/tensorflow/decoder/utils/decoder.py:33
Functionstart
(tag)
examples/pytorch/gpt/utils/profiler.py:38
Methodstart
src/fastertransformer/utils/cuda_utils.h:245
Methodstart
(self)
examples/tensorflow/decoder/utils/common.py:301
Methodstart
(self)
examples/tensorflow/common_utils/common.py:116
Methodstep
(self, epoch=None)
examples/pytorch/bert/bert-quantization-sparsity/schedulers.py:34
Methodstep
(self, epoch=None)
examples/pytorch/bert/bert-quantization-sparsity/schedulers.py:116
Functionstop
(tag)
examples/pytorch/gpt/utils/profiler.py:42
Methodstop
src/fastertransformer/utils/cuda_utils.h:251
Methodstop
(self)
examples/tensorflow/bert/utils/common.py:120
Methodstop
(self)
examples/tensorflow/decoder/utils/common.py:306
Methodstop
(self)
examples/tensorflow/common_utils/common.py:121
MethodstopCriteria
* \brief Stop criteria whether to stop generation * * This function determines whether to stop generation. If a user * wants to stop by
examples/cpp/multi_gpu_gpt/multi_gpu_gpt_async_example.cc:120
MethodstreamDecoding
examples/cpp/multi_gpu_gpt/multi_gpu_gpt_async_example.cc:192
MethodstreamHook
* \brief A hook function that performs during streaming * * This function performs a custom logic just after copying generated * tokens
examples/cpp/multi_gpu_gpt/multi_gpu_gpt_async_example.cc:158
MethodstreamHook
examples/cpp/multi_gpu_gpt/multi_gpu_gpt_async_example.cc:368
MethodstridedBatchedGemm
src/fastertransformer/utils/cublasMMWrapper.cc:463
Functionsubbyte_transpose
We need to use this transpose to correctly handle packed int4 and int8 data
src/fastertransformer/th_op/common/WeightOnlyQuantOps.cc:85
Functionsubbyte_transpose_impl
src/fastertransformer/kernels/cutlass_kernels/cutlass_preprocessors.cc:208
Functionsummarize_ft_e2e
(datapoint)
examples/pytorch/gpt/gpt_summarization.py:194
Functionsummarize_ft_e2e
(datapoint)
examples/pytorch/gpt/opt_summarization.py:192
Functionsummarize_ft_sep
(datapoint)
examples/pytorch/gpt/gpt_summarization.py:221
Functionsummarize_ft_sep
(datapoint)
examples/pytorch/gpt/opt_summarization.py:219
Functionsummarize_sequence
Different classification tasks may not may not share the same parameters to summarize the sequence features. If
examples/tensorflow/xlnet/modeling.py:695
Functionsummary
()
examples/pytorch/gpt/utils/profiler.py:54
MethodsupportsFormatCombination
src/fastertransformer/tensorrt_plugin/vit/ViTPlugin.cpp:193
MethodsupportsFormatCombination
src/fastertransformer/tensorrt_plugin/vit/ViTINT8Plugin.cpp:205
MethodsupportsFormatCombination
src/fastertransformer/tensorrt_plugin/wenet/DecoderPlugin.cc:197
MethodsupportsFormatCombination
src/fastertransformer/tensorrt_plugin/wenet/EncoderPlugin.cc:247
MethodsupportsFormatCombination
src/fastertransformer/tensorrt_plugin/swin/swinTransformerINT8Plugin.cpp:602
MethodsupportsFormatCombination
src/fastertransformer/tensorrt_plugin/swin/swinTransformerPlugin.cpp:518
Functionswin_weight_quantize
src/fastertransformer/th_op/swin/WeightQuantizeOp.cc:24
Functionswish
(x)
examples/pytorch/vit/ViT-quantization/vit_int8.py:70
Functionswish
(x)
examples/pytorch/bert/bert-quantization-sparsity/modeling.py:140
Functionswish
(x)
examples/pytorch/swin/Swin-Transformer-Quantization/models/linear_activation.py:42
Functionsymmetric_quantize
src/fastertransformer/kernels/cutlass_kernels/cutlass_preprocessors.cc:577
Functionsymmetric_quantize_last_axis_of_batched_matrix
src/fastertransformer/th_op/common/WeightOnlyQuantOps.cc:224
FunctionsyncAndCheck
src/fastertransformer/utils/cuda_utils.h:127
FunctionsyncAndCheck
tests/unittests/fp8_gemm_test/worker.hpp:57
Functiont5_gemm
src/fastertransformer/tensorrt_plugin/t5/T5PluginGemm.cc:23
MethodtearDown
(self)
tests/unittests/th_op/test_th_decode_op.py:44
Methodtensor_name_prefix
(self)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/calibrator.py:267
Methodterminate
src/fastertransformer/tensorrt_plugin/vit/ViTPlugin.cpp:271
Methodterminate
src/fastertransformer/tensorrt_plugin/vit/ViTINT8Plugin.cpp:283
Methodterminate
src/fastertransformer/tensorrt_plugin/wenet/DecoderPlugin.cc:320
Methodterminate
src/fastertransformer/tensorrt_plugin/wenet/EncoderPlugin.cc:369
Methodterminate
src/fastertransformer/tensorrt_plugin/swin/swinTransformerINT8Plugin.cpp:680
Methodterminate
src/fastertransformer/tensorrt_plugin/swin/swinTransformerPlugin.cpp:596
Functiontest
examples/cpp/vit/vit_example.cc:29
Functiontest
examples/cpp/vit_int8/vit_int8_example.cc:29
Functiontest
examples/cpp/swin/swin_example.cc:30
Functiontest
examples/cpp/swin_int8/swin_int8_example.cc:31
Methodtest_add_bias_interleave_int4
(self)
tests/weight_only_quant_ops/th_weight_quant_ops_unit_tests.py:102
Methodtest_add_bias_interleave_int8
(self)
tests/weight_only_quant_ops/th_weight_quant_ops_unit_tests.py:110
Methodtest_ampere_80_int4_interleave
(self)
tests/weight_only_quant_ops/th_weight_quant_ops_unit_tests.py:90
Methodtest_ampere_80_int8_interleave
(self)
tests/weight_only_quant_ops/th_weight_quant_ops_unit_tests.py:93
Methodtest_ampere_86_int4_interleave
(self)
tests/weight_only_quant_ops/th_weight_quant_ops_unit_tests.py:96
Methodtest_ampere_86_int8_interleave
(self)
tests/weight_only_quant_ops/th_weight_quant_ops_unit_tests.py:99
Methodtest_attn_batch_fp16
(self)
tests/decoding/tf_fused_self_multihead_attention_unit_test.py:33
Methodtest_attn_batch_fp32
(self)
tests/decoding/tf_fused_self_multihead_attention_unit_test.py:28
Methodtest_attn_head_fp16
(self)
tests/decoding/tf_fused_self_multihead_attention_unit_test.py:53
Methodtest_attn_head_fp32
(self)
tests/decoding/tf_fused_self_multihead_attention_unit_test.py:48
Methodtest_attn_seq_fp16
(self)
tests/decoding/tf_fused_self_multihead_attention_unit_test.py:43
Methodtest_attn_seq_fp32
(self)
tests/decoding/tf_fused_self_multihead_attention_unit_test.py:38
Methodtest_attn_size_fp16
(self)
tests/decoding/tf_fused_self_multihead_attention_unit_test.py:63
Methodtest_attn_size_fp32
(self)
tests/decoding/tf_fused_self_multihead_attention_unit_test.py:58
Methodtest_batch_bf16
(self)
tests/bert/tf_bert_unit_test.py:86
Methodtest_batch_fp16
(self)
tests/bert/th_bert_unit_test.py:66
Methodtest_batch_fp16
(self)
tests/bert/tf_bert_unit_test.py:66
Methodtest_batch_fp32
(self)
tests/bert/th_bert_unit_test.py:50
Methodtest_batch_fp32
(self)
tests/bert/tf_bert_unit_test.py:46
Methodtest_bf16_gating_softmax
(self)
tests/moe/th_moe_unit_tests.py:112
Methodtest_bf16_int4_cublas
(self)
tests/gemm_dequantize/th_gemm_dequantize.py:202
Methodtest_bf16_int4_dequantize
(self)
tests/gemm_dequantize/th_gemm_dequantize.py:50
Methodtest_bf16_int4_dequantize
(self)
tests/moe/th_moe_unit_tests.py:187
Methodtest_bf16_int4_gemm
(self)
tests/gemm_dequantize/th_gemm_dequantize.py:132
Methodtest_bf16_int8_cublas
(self)
tests/gemm_dequantize/th_gemm_dequantize.py:193
Methodtest_bf16_int8_dequantize
(self)
tests/gemm_dequantize/th_gemm_dequantize.py:44
Methodtest_bf16_int8_dequantize
(self)
tests/moe/th_moe_unit_tests.py:181
Methodtest_bf16_int8_gemm
(self)
tests/gemm_dequantize/th_gemm_dequantize.py:125
Methodtest_bf16_moe_fc_relu
(self)
tests/moe/th_moe_unit_tests.py:270
Methodtest_bf16_with_qa_answer
(self)
tests/longformer/py_longformer_unit_test.py:170
Methodtest_bf16_with_qa_answer_2
(self)
tests/longformer/py_longformer_unit_test.py:185
Methodtest_bf16_with_qa_answer_3
(self)
tests/longformer/py_longformer_unit_test.py:200
Methodtest_decoding_beamsearch_fp16
(self)
tests/decoding/tf_decoding_unit_test.py:85
Methodtest_decoding_beamsearch_fp16_2
(self)
tests/decoding/tf_decoding_unit_test.py:93
Methodtest_decoding_beamsearch_fp32
(self)
tests/decoding/tf_decoding_unit_test.py:81
Methodtest_decoding_beamsearch_fp32_2
(self)
tests/decoding/tf_decoding_unit_test.py:89
← previousnext →3,701–3,800 of 4,228, ranked by callers