MCPcopy Create free account

hub / github.com/NVIDIA/FasterTransformer / functions

Functions4,228 in github.com/NVIDIA/FasterTransformer

↓ 2 callersMethodto_single
(self)
examples/pytorch/t5/utils/ft_encoder.py:351
↓ 2 callersFunctionto_torch_dtype
(maybe_str_dtype: Union[str, torch.dtype])
examples/pytorch/gpt/utils/gpt_decoder.py:49
↓ 2 callersFunctiontokenize_fn
(text)
examples/tensorflow/xlnet/convertInput.py:608
↓ 2 callersFunctiontrain_loop
(args, model, optimizer, step, num_steps)
examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/test/checkpointing_test_part1.py:31
↓ 2 callersFunctiontranslate
(args_dict)
examples/pytorch/t5/translate_example.py:96
↓ 2 callersFunctiontranspose_for_scores
(input_tensor, batch_size, num_attention_heads, seq_length, width)
examples/tensorflow/bert/utils/bert.py:54
↓ 2 callersFunctiontranspose_for_scores
(input_tensor, batch_size, num_attention_heads, seq_length, width)
examples/tensorflow/bert/tensorflow_bert/my_modeling.py:638
↓ 2 callersFunctiontranspose_for_scores
(input_tensor, batch_size, num_attention_heads, seq_length, width)
examples/tensorflow/bert/bert-quantization/modeling.py:657
↓ 2 callersMethodtranspose_for_scores
(self, x)
examples/pytorch/bert/bert-quantization-sparsity/modeling.py:413
↓ 2 callersMethodtranspose_test_helper
(self, quant_type)
tests/weight_only_quant_ops/th_weight_quant_ops_unit_tests.py:118
↓ 2 callersMethodupdate_argparser
(cls, parser)
examples/pytorch/gpt/utils/gpt.py:751
↓ 2 callersFunctionvalid
(args, config, model, test_loader)
examples/pytorch/vit/ViT-quantization/main.py:128
↓ 2 callersFunctionvalid
(args, config, model, test_loader)
examples/pytorch/vit/ViT-quantization/eval_engine.py:130
↓ 2 callersFunctionvec_from_smem_transpose
src/fastertransformer/kernels/decoder_masked_multihead_attention_utils.h:1574
↓ 2 callersFunctionverify_collector_args
(collector_args, acceptable_args, collector_name)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/calibrator.py:337
↓ 2 callersMethodwarn
(self, s)
examples/pytorch/swin/Swin-Transformer-Quantization/quant_utils.py:32
↓ 2 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
examples/pytorch/swin/Swin-Transformer-Quantization/models/swin_transformer.py:51
↓ 2 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
examples/pytorch/swin/Swin-Transformer-Quantization/models/swin_transformer_v2.py:51
↓ 2 callersFunctionwriteOutputIds
examples/cpp/multi_gpu_gpt/multi_gpu_gpt_interactive_example.cc:630
↓ 2 callersMethodwrite_single_shard
(self, shard_name, shard)
examples/pytorch/bert/bert-quantization-sparsity/data/TextSharding.py:308
↓ 2 callersFunctionwrite_smem_transpose
src/fastertransformer/kernels/decoder_masked_multihead_attention_utils.h:1717
↓ 1 callersMethodBartDecoding
src/fastertransformer/models/bart/BartDecoding.cc:215
↓ 1 callersMethodBartEncoder
src/fastertransformer/models/bart/BartEncoder.cc:125
↓ 1 callersMethodBert
src/fastertransformer/models/bert/Bert.cc:94
↓ 1 callersMethodDecoder
src/fastertransformer/models/decoder/Decoder.cc:116
↓ 1 callersMethodDecoding
src/fastertransformer/models/decoding/Decoding.cc:179
↓ 1 callersMethodFasterTransformerBartDecoding
src/fastertransformer/th_op/bart/BartDecodingOp.cc:23
↓ 1 callersMethodFasterTransformerBartEncoder
src/fastertransformer/th_op/bart/BartEncoderOp.cc:22
↓ 1 callersMethodFasterTransformerBert
src/fastertransformer/th_op/bert/BertOp.cc:22
↓ 1 callersMethodFasterTransformerDecoder
src/fastertransformer/th_op/decoder/DecoderOp.cc:22
↓ 1 callersMethodFasterTransformerDecoding
src/fastertransformer/th_op/decoding/DecodingOp.cc:24
↓ 1 callersMethodFasterTransformerEncoder
src/fastertransformer/th_op/encoder/EncoderOp.cc:22
↓ 1 callersMethodFasterTransformerINT8Bert
src/fastertransformer/th_op/bert/BertINT8Op.cc:23
↓ 1 callersMethodFasterTransformerT5Decoding
src/fastertransformer/th_op/t5/T5DecodingOp.cc:416
↓ 1 callersMethodFasterTransformerT5Encoder
src/fastertransformer/th_op/t5/T5EncoderOp.cc:313
↓ 1 callersMethodGptFp8Op
src/fastertransformer/th_op/gpt_fp8/GptFp8Op.cc:23
↓ 1 callersMethodGptNeoXOp
src/fastertransformer/th_op/gptneox/GptNeoXOp.cc:23
↓ 1 callersMethodGptOp
src/fastertransformer/th_op/gpt/GptOp.cc:23
↓ 1 callersMethodLongformerEncoder
src/fastertransformer/models/longformer/LongformerEncoder.cc:30
↓ 1 callersFunctionLtBatchIgemmCustomFind
src/fastertransformer/utils/gemm_test/encoder_igemm_func.cc:617
↓ 1 callersMethodParallelGptContextDecoderOp
src/fastertransformer/th_op/multi_gpu_gpt/ParallelGptContextDecoderOp.cc:234
↓ 1 callersMethodParallelGptDecoderOp
src/fastertransformer/th_op/multi_gpu_gpt/ParallelGptDecoderOp.cc:247
↓ 1 callersMethodParallelGptOp
src/fastertransformer/th_op/multi_gpu_gpt/ParallelGptOp.cc:24
↓ 1 callersMethodT5Decoding
src/fastertransformer/models/t5/T5Decoding.cc:218
↓ 1 callersMethodT5Encoder
src/fastertransformer/models/t5/T5Encoder.cc:140
↓ 1 callersMethod__getitem__
(self, key)
examples/pytorch/gptj/utils/reference_gptj.py:30
↓ 1 callersMethod__init__
Constructs a LAMBOptimizer.
examples/tensorflow/bert/bert-quantization/optimization.py:287
↓ 1 callersMethod__init__
(self, encoder, decoding)
examples/pytorch/bart/utils/ft_decoding.py:322
↓ 1 callersMethod__init__
(self)
examples/pytorch/vit/ViT-quantization/main.py:48
↓ 1 callersMethod__init__
(self)
examples/pytorch/vit/ViT-quantization/eval_engine.py:50
↓ 1 callersMethod__init__
(self, num_layers, d_model, heads, d_ff, weights)
examples/pytorch/encoder/utils/ft_encoder.py:125
↓ 1 callersMethod__init__
(self, layer_num, head_num, head_size, weights, int8_mode=0, remove_padding=False, sparse=Fal
examples/pytorch/bert/utils/encoder.py:271
↓ 1 callersMethod__init__
(self, qas_id, question_text, doc_tokens,
examples/pytorch/bert/bert-quantization-sparsity/run_squad.py:84
↓ 1 callersMethod__init__
(self, max_grad_norm)
examples/pytorch/bert/bert-quantization-sparsity/run_glue.py:129
↓ 1 callersMethod__init__
(self, seed)
examples/pytorch/bert/bert-quantization-sparsity/run_pretraining.py:80
↓ 1 callersMethod__init__
(self, model_type=None, data_type=None, ths_path=None)
examples/pytorch/decoding/utils/ft_decoding.py:164
↓ 1 callersMethod__init__
(self, head_num, size_per_head, vocab_size, start_id, end_id, layer_num,
examples/pytorch/gpt/utils/bloom.py:234
↓ 1 callersMethod__init__
(self, in_channel, out_channel, kernel_size, stride, bias=True)
examples/pytorch/swin/Swin-Transformer-Quantization/models/linear_activation.py:57
↓ 1 callersMethod__init__
(self, encoder, decoding)
examples/pytorch/t5/utils/ft_decoding.py:489
↓ 1 callersFunction__internal_bf16raw_to_float
tests/unittests/fp8_gemm_test/2022_03_21__fp8_stride_batch_example/include/cuda_fp8.hpp:396
↓ 1 callersFunction__nv_fp8_e5m2
tests/unittests/fp8_gemm_test/2022_03_21__fp8_stride_batch_example/include/cuda_fp8.hpp:519
↓ 1 callersFunction__nv_fp8x2_e4m3
tests/unittests/fp8_gemm_test/2022_03_21__fp8_stride_batch_example/include/cuda_fp8.hpp:780
↓ 1 callersFunction__nv_fp8x2_e5m2
tests/unittests/fp8_gemm_test/2022_03_21__fp8_stride_batch_example/include/cuda_fp8.hpp:593
↓ 1 callersFunction__nv_fp8x4_e4m3
tests/unittests/fp8_gemm_test/2022_03_21__fp8_stride_batch_example/include/cuda_fp8.hpp:819
↓ 1 callersFunction__nv_fp8x4_e5m2
tests/unittests/fp8_gemm_test/2022_03_21__fp8_stride_batch_example/include/cuda_fp8.hpp:644
↓ 1 callersMethod__repr__
(self)
examples/tensorflow/bert/bert-quantization/utils/create_squad_data.py:109
↓ 1 callersMethod__repr__
(self)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/layers/tensor_quantizer.py:113
↓ 1 callersMethod__repr__
(self)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/max.py:109
↓ 1 callersMethod__repr__
(self)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/calibrator.py:293
↓ 1 callersMethod__repr__
(self)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/histogram.py:109
↓ 1 callersMethod__repr__
(self)
examples/pytorch/bert/bert-quantization-sparsity/run_squad.py:103
↓ 1 callersMethod__repr__
(self)
examples/pytorch/bert/bert-quantization-sparsity/run_swag.py:72
↓ 1 callersMethod__str__
(self)
examples/tensorflow/bert/bert-quantization/utils/create_pretraining_data.py:48
↓ 1 callersMethod__str__
(self)
examples/pytorch/bert/bert-quantization-sparsity/create_pretraining_data.py:48
↓ 1 callersFunction_affine_fake_quantize
(inputs, quant_min, quant_max)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/ops/fake_quantize.py:110
↓ 1 callersFunction_build_dataset
(data_cfg, tokenizer)
examples/pytorch/t5/mnli_task_example.py:40
↓ 1 callersFunction_build_dataset
(data_cfg, tokenizer)
examples/pytorch/t5/xnli_task_example.py:42
↓ 1 callersFunction_cache_mem
cache hidden states into memory.
examples/tensorflow/xlnet/modeling.py:205
↓ 1 callersFunction_check_is_max_context
Check if this is the 'max context' doc span for the token.
examples/tensorflow/bert/bert-quantization/utils/create_squad_data.py:233
↓ 1 callersFunction_check_is_max_context
Check if this is the 'max context' doc span for the token.
examples/pytorch/bert/bert-quantization-sparsity/run_squad.py:402
↓ 1 callersMethod_clean_text
Performs invalid character removal and whitespace cleanup on text.
examples/tensorflow/bert/bert-quantization/tokenization.py:338
↓ 1 callersMethod_clean_text
Performs invalid character removal and whitespace cleanup on text.
examples/pytorch/bert/bert-quantization-sparsity/tokenization.py:281
↓ 1 callersMethod_compute_entropy_range
compute min/max value that minimizes KL-Divergence of the collected histogram and return a tuple of (min, max)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/calibrator.py:176
↓ 1 callersMethod_compute_mse_range
compute min/max value that minimizes MSE of the collected histogram and return a tuple of (min, max)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/calibrator.py:154
↓ 1 callersMethod_compute_percentile_range
compute min/max value with percentile method and return a tuple of (min, max) Choose min/max to clip the top P percentile of data
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/calibrator.py:137
↓ 1 callersFunction_compute_softmax
Compute softmax probability over raw logits.
examples/tensorflow/bert/bert-quantization/run_squad.py:924
↓ 1 callersFunction_create_mask
create causal attention mask.
examples/tensorflow/xlnet/modeling.py:191
↓ 1 callersFunction_create_model_training_args_for_checkpoint_version_0
(args, model_00)
examples/pytorch/gpt/utils/megatron_fp8_ckpt_convert.py:76
↓ 1 callersFunction_create_model_training_args_for_checkpoint_version_0
(args, model_00)
examples/pytorch/gpt/utils/megatron_ckpt_convert.py:76
↓ 1 callersFunction_cudaGetErrorEnum
debug tools ********************************* */
tests/unittests/fp8_gemm_test/worker.hpp:16
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
examples/tensorflow/bert/tensorflow_bert/fast_infer_util.py:51
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
examples/tensorflow/bert/bert-quantization/run_squad.py:585
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
examples/tensorflow/bert/bert-quantization/run_pretraining.py:481
↓ 1 callersMethod_do_use_weight_decay
Whether to use L2 weight decay for `param_name`.
examples/tensorflow/bert/bert-quantization/optimization.py:266
↓ 1 callersMethod_do_use_weight_decay
Whether to use L2 weight decay for `param_name`.
examples/tensorflow/bert/bert-quantization/optimization.py:382
↓ 1 callersFunction_get_checkpoint_name
(checkpoint_dir)
examples/pytorch/gpt/utils/megatron_fp8_ckpt_convert.py:361
↓ 1 callersFunction_get_checkpoint_name
(checkpoint_dir)
examples/pytorch/gpt/utils/megatron_ckpt_convert.py:312
↓ 1 callersFunction_get_model
(args, config_reader)
examples/pytorch/gpt/lambada_task_example.py:100
↓ 1 callersMethod_get_position_encoding
(self)
examples/pytorch/decoding/utils/ft_decoding.py:121
↓ 1 callersFunction_get_special_tokens_ids
(tokenizer_config: typing.Dict)
examples/pytorch/gpt/utils/nemo_ckpt_convert.py:485
← previousnext →701–800 of 4,228, ranked by callers