MCPcopy Create free account

hub / github.com/NVIDIA/FasterTransformer / functions

Functions4,228 in github.com/NVIDIA/FasterTransformer

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
Functionaccuracy
(out, labels)
examples/pytorch/bert/bert-quantization-sparsity/run_glue.py:116
Functionadd
tests/unittests/gtest_utils.h:142
Methodadd_args_group
(parser: argparse.ArgumentParser)
examples/pytorch/gpt/utils/bloom.py:171
Functionadd_arguments
Add arguments to parser for functions defined in quant_trainer.
examples/pytorch/vit/ViT-quantization/quant_utils.py:40
Functionadd_arguments
Add arguments to parser for functions defined in quant_trainer.
examples/pytorch/bert/bert-quantization-sparsity/quant_utils.py:41
Functionadd_arguments
(parser)
examples/pytorch/gpt/utils/checkpoint_saver_fastertransformer.py:10
Functionadd_arguments
Add arguments to parser for functions defined in quant_trainer.
examples/pytorch/swin/Swin-Transformer-Quantization/quant_utils.py:40
Functionadd_bias_and_interleave_int4s
src/fastertransformer/th_op/common/WeightOnlyQuantOps.cc:237
Functionadd_bias_and_interleave_int8s
src/fastertransformer/th_op/common/WeightOnlyQuantOps.cc:253
Functionadd_bias_residual_layernorm_test
examples/cpp/decoding/layernorm_test.cc:178
Functionadd_ia3_task
(saved_dir, saved_config, weight_dt, infer_tp, layer_name, layer)
examples/pytorch/t5/utils/nemo_t5_ia3.py:127
Methodadd_sparse_attributes
(module_name, module)
examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/asp.py:95
Methodaffine
(self)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/layers/tensor_quantizer.py:95
Methodaffine
(self)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/histogram.py:103
Functionaffine_quant_np
Affine quantize x using numpy.
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/utils/utils.py:44
Methodafter_create_session
(self, session, coord)
examples/tensorflow/bert/bert-quantization/run_pretraining.py:126
Methodafter_create_session
(self, session, coord)
examples/tensorflow/bert/bert-quantization/utils/utils.py:52
Methodafter_run
(self, run_context, run_values)
examples/tensorflow/bert/bert-quantization/run_pretraining.py:156
Methodafter_run
(self, run_context, run_values)
examples/tensorflow/bert/bert-quantization/utils/utils.py:30
Methodafter_run
(self, run_context, run_values)
examples/tensorflow/bert/bert-quantization/utils/utils.py:60
Functionalign_in_time
Aligns the time dimension of :obj:`x` with :obj:`length`.
examples/tensorflow/bert/utils/reducer.py:23
Functionalign_in_time
Aligns the time dimension of :obj:`x` with :obj:`length`.
examples/tensorflow/decoder/utils/reducer.py:23
Functionalign_in_time
Aligns the time dimension of :obj:`x` with :obj:`length`.
examples/tensorflow/common_utils/reducer.py:23
MethodallocateBuffer
src/fastertransformer/layers/DynamicDecodeLayer.cc:29
MethodallocateBuffer
src/fastertransformer/layers/FfnLayer.cc:453
MethodallocateBuffer
src/fastertransformer/layers/FfnFP8Layer.cc:425
MethodallocateBuffer
src/fastertransformer/layers/FfnLayerINT8.cc:191
MethodallocateBuffer
src/fastertransformer/layers/sampling_layers/BaseSamplingLayer.cc:29
MethodallocateBuffer
src/fastertransformer/layers/adapter_layers/LinearAdapterLayer.cc:108
MethodallocateBuffer
src/fastertransformer/layers/attention_layers/UnfusedAttentionLayer.cc:388
MethodallocateBuffer
src/fastertransformer/layers/attention_layers/DisentangledAttentionLayer.cc:536
MethodallocateBuffer
src/fastertransformer/layers/attention_layers/GptContextAttentionLayer.cc:531
MethodallocateBuffer
src/fastertransformer/layers/attention_layers/LongformerAttentionLayer.cc:395
MethodallocateBuffer
src/fastertransformer/layers/attention_layers/WindowAttention.cc:41
MethodallocateBuffer
src/fastertransformer/layers/attention_layers/DecoderSelfAttentionLayer.cc:192
MethodallocateBuffer
src/fastertransformer/layers/attention_layers_fp8/SelfAttentionFP8Layer.cc:382
MethodallocateBuffer
src/fastertransformer/layers/attention_layers_fp8/GptContextAttentionFP8Layer.cc:417
MethodallocateBuffer
src/fastertransformer/layers/attention_layers_fp8/DecoderSelfAttentionFP8Layer.cc:137
MethodallocateBuffer
src/fastertransformer/layers/attention_layers_int8/UnfusedAttentionLayerINT8.cc:687
MethodallocateBuffer
src/fastertransformer/layers/xlnet_attention_layers/XlnetAttentionLayer.cc:232
MethodallocateBuffer
src/fastertransformer/triton_backend/multi_gpu_gpt/ParallelGptTritonModelInstance.cc:265
MethodallocateBuffer
src/fastertransformer/triton_backend/t5-encoder/T5EncoderTritonModelInstance.cc:145
MethodallocateBuffer
src/fastertransformer/triton_backend/bert/BertTritonModelInstance.cc:122
MethodallocateBuffer
src/fastertransformer/triton_backend/gptneox/GptNeoXTritonModelInstance.cc:236
MethodallocateBuffer
src/fastertransformer/triton_backend/multi_gpu_gpt_fp8/ParallelGptFP8TritonModelInstance.cc:207
MethodallocateBuffer
src/fastertransformer/triton_backend/gptj/GptJTritonModelInstance.cc:236
MethodallocateBuffer
src/fastertransformer/triton_backend/t5/T5TritonModelInstance.cc:236
MethodallocateBuffer
src/fastertransformer/models/multi_gpu_gpt/ParallelGptContextDecoder.cc:88
MethodallocateBuffer
src/fastertransformer/models/multi_gpu_gpt/ParallelGpt.cc:90
MethodallocateBuffer
src/fastertransformer/models/multi_gpu_gpt/ParallelGptDecoder.cc:160
MethodallocateBuffer
src/fastertransformer/models/bart/BartDecoding.cc:58
MethodallocateBuffer
src/fastertransformer/models/bart/BartDecoder.cc:116
MethodallocateBuffer
src/fastertransformer/models/bart/BartEncoder.cc:218
MethodallocateBuffer
src/fastertransformer/models/vit/ViT.cc:186
MethodallocateBuffer
src/fastertransformer/models/longformer/LongformerEncoder.cc:92
MethodallocateBuffer
src/fastertransformer/models/deberta/Deberta.cc:198
MethodallocateBuffer
src/fastertransformer/models/bert_int8/BertINT8.cc:126
MethodallocateBuffer
src/fastertransformer/models/bert_int8/BertLayerINT8.cc:129
MethodallocateBuffer
src/fastertransformer/models/bert/Bert.cc:211
MethodallocateBuffer
src/fastertransformer/models/decoding/Decoding.cc:51
MethodallocateBuffer
src/fastertransformer/models/gptneox/GptNeoXDecoder.cc:62
MethodallocateBuffer
src/fastertransformer/models/gptneox/GptNeoX.cc:76
MethodallocateBuffer
src/fastertransformer/models/gptneox/GptNeoXContextDecoder.cc:67
MethodallocateBuffer
src/fastertransformer/models/decoder/Decoder.cc:53
MethodallocateBuffer
src/fastertransformer/models/gpt_fp8/GptFP8.cc:66
MethodallocateBuffer
src/fastertransformer/models/gpt_fp8/GptFP8ContextDecoder.cc:49
MethodallocateBuffer
src/fastertransformer/models/gpt_fp8/GptFP8Decoder.cc:88
MethodallocateBuffer
src/fastertransformer/models/xlnet/Xlnet.cc:96
MethodallocateBuffer
src/fastertransformer/models/vit_int8/ViTINT8.cc:174
MethodallocateBuffer
src/fastertransformer/models/bert_fp8/BertFP8.cc:121
MethodallocateBuffer
src/fastertransformer/models/wenet/WenetDecoder.cc:61
MethodallocateBuffer
src/fastertransformer/models/wenet/MultiHeadedAttentionLayer.cc:385
MethodallocateBuffer
src/fastertransformer/models/wenet/RelPositionAttentionLayer.cc:393
MethodallocateBuffer
src/fastertransformer/models/wenet/WenetEncoder.cc:191
MethodallocateBuffer
src/fastertransformer/models/wenet/ConformerConvLayer.cc:381
MethodallocateBuffer
src/fastertransformer/models/gptj/GptJ.cc:77
← previousnext →2,101–2,200 of 4,228, ranked by callers