MCPcopy Create free account

hub / github.com/bytedance/ABQ-LLM / functions

Functions14,558 in github.com/bytedance/ABQ-LLM

Functionbias_dropout_add_fused_inference
(x: torch.Tensor, bias: torch.Tensor,
fastertransformer/3rdparty/Megatron-LM/megatron/model/transformer.py:393
Functionbias_dropout_add_fused_train
(x: torch.Tensor, bias: torch.Tensor, residu
fastertransformer/3rdparty/Megatron-LM/megatron/model/transformer.py:385
Functionbias_gelu
(bias, y)
fastertransformer/examples/pytorch/vit/ViT-quantization/vit_int8.py:63
Functionbias_gelu
(bias, y)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/modeling.py:127
Functionbias_gelu
(bias, y)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/models/linear_activation.py:29
Functionbias_gelu_training
(bias, y)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/modeling.py:132
Functionbias_gelu_training
(bias, y)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/models/linear_activation.py:34
Functionbias_noact
(bias, y)
fastertransformer/examples/pytorch/vit/ViT-quantization/vit_int8.py:67
Functionbias_noact
(bias, y)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/modeling.py:143
Functionbias_noact
(bias, y)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/models/linear_activation.py:45
Functionbias_tanh
(bias, y)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/modeling.py:136
Functionbias_tanh
(bias, y)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/models/linear_activation.py:38
Functionbind_conv2d_host
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/cpp/test/conv/host.h:47
Functionbind_conv2d_host_nc32hw32
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/cpp/test/conv/host.h:74
Functionbind_conv2d_host_nhwc
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/cpp/test/conv/host.h:65
Functionbind_conv2d_host_sat
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/cpp/test/conv/host.h:56
Functionbind_dgrad_swizzle
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/cpp/include/swizzling.h:109
Functionbind_host_gemm
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/cpp/test/gemm/host.h:80
Functionbind_host_gemm_multiply_add
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/cpp/test/gemm/host.h:104
Functionbind_host_gemm_multiply_add_interleaved
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/cpp/test/gemm/host.h:227
Functionbind_host_gemm_multiply_add_saturate
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/cpp/test/gemm/host.h:165
Functionbind_host_gemm_multiply_add_saturate_interleaved
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/cpp/test/gemm/host.h:288
Functionbind_host_gemm_saturate
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/cpp/test/gemm/host.h:54
Functionbind_identity_swizzle
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/cpp/include/swizzling.h:47
Functionbind_swizzle
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/cpp/include/swizzling.h:88
Functionbind_tensor_equals
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/cpp/test/conv/host.h:84
Functionbind_tensor_ref_view
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/cpp/include/tensor_ref_view.h:44
Methodbitcast
Constructs from an unsigned int
fastertransformer/3rdparty/cutlass/include/cutlass/tfloat32.h:64
Methodbitcast
Constructs from an unsigned short
fastertransformer/3rdparty/cutlass/include/cutlass/half.h:197
Methodbitcast
Constructs from an unsigned short
fastertransformer/3rdparty/cutlass/include/cutlass/bfloat16.h:66
Functionbits_per_byte
(items)
algorithm/lm_eval/metrics.py:107
Functionbk
()
fastertransformer/3rdparty/cutlass/docs/jquery.js:16
Functionbleu
The Bilingual Evaluation Understudy Score, or BLEU for short, is a metric for evaluating a generated sentence to a reference sentence. It counts m
algorithm/lm_eval/metrics.py:111
Methodblock
Forms a 2-by-2 matrix by concatenating four components
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:2843
Methodblock
Forms a 2-by-3 matrix by concatenating four components
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:3682
Methodblock
Forms a 2-by-4 matrix by concatenating four components
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:4621
Methodblock
Forms a 3-by-2 matrix by concatenating four components
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:6214
Methodblock
Forms a 3-by-3 matrix by concatenating four components
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:7214
Methodblock
Forms a 3-by-4 matrix by concatenating four components
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:8548
Methodblock
Forms a 4-by-2 matrix by concatenating four components
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:10433
Methodblock
Forms a 4-by-3 matrix by concatenating four components
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:11622
Methodblock
Forms a 4-by-4 matrix by concatenating four components
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:13137
FunctionblockReduceMax
fastertransformer/3rdparty/cutlass/tools/util/include/cutlass/util/device_utils.h:98
FunctionblockReduceSum
fastertransformer/3rdparty/cutlass/tools/util/include/cutlass/util/device_utils.h:59
Methodblock_shape
Determines the threadblock shape
fastertransformer/3rdparty/cutlass/include/cutlass/reduction/kernel/reduce_split_k.h:144
Functionblock_sum
fastertransformer/src/fastertransformer/kernels/decoder_masked_multihead_attention/decoder_masked_multihead_attention_template.hpp:692
Functionblock_sum
fastertransformer/src/fastertransformer/kernels/llama/decoder_masked_groupedquery_attention/decoder_masked_groupedquery_attention_template.hpp:692
Functionbo
(e,bv)
fastertransformer/3rdparty/cutlass/docs/jquery.js:23
Methodbos_token
Beginning of sentence token id
fastertransformer/3rdparty/Megatron-LM/megatron/tokenizer/tokenizer.py:226
Methodbos_token_id
Id of the beginning of sentence token in the vocabulary.
fastertransformer/3rdparty/Megatron-LM/megatron/tokenizer/tokenizer.py:241
MethodbroadcastFromLastPipeline
fastertransformer/src/fastertransformer/th_op/common/DynamicDecodeOp.cc:190
Functionbroadcast_data
Broadcast data from rank zero of each model parallel group to the members of the same model parallel group. Arguments: keys: list of
fastertransformer/3rdparty/Megatron-LM/megatron/mpu/data.py:76
Functionbuild_blending_indices
fastertransformer/3rdparty/Megatron-LM/megatron/data/helpers.cpp:36
Functionbuild_blocks_mapping
fastertransformer/3rdparty/Megatron-LM/megatron/data/helpers.cpp:687
Functionbuild_blocks_mapping_impl
fastertransformer/3rdparty/Megatron-LM/megatron/data/helpers.cpp:470
Methodbuild_layer
(layer_number)
fastertransformer/3rdparty/Megatron-LM/megatron/model/transformer.py:571
Functionbuild_mapping
fastertransformer/3rdparty/Megatron-LM/megatron/data/helpers.cpp:440
Functionbuild_mapping_impl
fastertransformer/3rdparty/Megatron-LM/megatron/data/helpers.cpp:204
Functionbuild_sample_idx
fastertransformer/3rdparty/Megatron-LM/megatron/data/helpers.cpp:99
Methodbulk_restore
(self, filename_tensor, saveables, preferred_shard, restore_sequentially)
fastertransformer/examples/tensorflow/ckpt_type_convert.py:55
Methodbulk_restore
(self, filename_tensor, saveables, preferred_shard, restore_sequentially)
fastertransformer/examples/tensorflow/bert/tensorflow_bert/ckpt_type_convert.py:55
Functionbwd
fastertransformer/3rdparty/Megatron-LM/megatron/fused_kernels/scaled_softmax.cpp:45
Functionbwd
fastertransformer/3rdparty/Megatron-LM/megatron/fused_kernels/scaled_upper_triang_masked_softmax.cpp:43
Functionbwd
fastertransformer/3rdparty/Megatron-LM/megatron/fused_kernels/scaled_masked_softmax.cpp:54
Methodbytes
Static member to compute the number of bytes needed for a given number of elements
fastertransformer/3rdparty/cutlass/tools/util/include/cutlass/util/device_memory.h:170
Methodc_value
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/cpp/include/types.h:55
Methodc_value
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/cpp/include/types.h:68
Methodc_value
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/cpp/include/types.h:79
Methodc_value
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/cpp/include/types.h:90
Methodcalc_em
(self, items)
algorithm/lm_eval/tasks/hendrycks_ethics.py:150
Methodcalc_em
(self, items)
algorithm/lm_eval/tasks/hendrycks_ethics.py:200
Methodcalc_em
(self, items)
algorithm/lm_eval/tasks/hendrycks_ethics.py:377
Methodcalib_bin_edges
(self)
fastertransformer/examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/histogram.py:95
Methodcalib_hist
(self)
fastertransformer/examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/histogram.py:99
Methodcalib_max
(self)
fastertransformer/examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/max.py:95
Methodcalib_max
(self)
fastertransformer/examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/calibrator.py:277
Methodcalib_min
(self)
fastertransformer/examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/max.py:91
Methodcalib_min
(self)
fastertransformer/examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/calibrator.py:271
Methodcall
Forward pass, modified from `tf.layers.Dense.call`
fastertransformer/examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/layers/dense.py:100
Methodcall
Add position encodings to :obj:`inputs`. Args: inputs: The inputs to encode. position: The single position to encode, to u
fastertransformer/examples/tensorflow/decoder/utils/position.py:34
Methodcall
Add position encodings to :obj:`inputs`. Args: inputs: The inputs to encode. position: The single position to encode, to u
fastertransformer/examples/tensorflow/common_utils/position.py:34
Functioncan_implement
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/kernel/gemm_with_fused_epilogue.h:370
Functioncan_implement
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/kernel/gemm_with_fused_epilogue_v2.h:419
Functioncan_implement
Determines whether the Implicit GEMM can execute the given problem.
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv2d_fprop_activation_tile_access_iterator_fixed_channels.h:307
Functioncan_implement
Determines whether the Implicit GEMM can execute the given problem.
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv2d_fprop_filter_tile_access_iterator_few_channels.h:259
Functioncan_implement
Determines whether the Implicit GEMM can execute the given problem.
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv2d_fprop_filter_tile_access_iterator_optimized.h:285
Functioncan_implement
Determines whether the Implicit GEMM can execute the given problem.
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv2d_fprop_activation_tile_access_iterator_analytic.h:302
Functioncan_implement
Determines whether the Implicit GEMM can execute the given problem.
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv2d_fprop_filter_tile_access_iterator_analytic.h:289
Functioncan_implement
Determines whether the Implicit GEMM can execute the given problem.
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv3d_wgrad_activation_tile_access_iterator_optimized.h:299
Functioncan_implement
Determines whether the Implicit GEMM can execute the given problem.
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv2d_dgrad_output_gradient_tile_access_iterator_optimized.h:447
Functioncan_implement
Determines whether the Implicit GEMM can execute the given problem.
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv3d_dgrad_output_gradient_tile_access_iterator_optimized.h:460
Functioncan_implement
Determines whether the Implicit GEMM can execute the given problem.
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv2d_dgrad_output_gradient_tile_access_iterator_analytic.h:335
Functioncan_implement
Determines whether the Implicit GEMM can execute the given problem.
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv2d_wgrad_output_gradient_tile_access_iterator_optimized.h:292
Functioncan_implement
Determines whether the Implicit GEMM can execute the given problem.
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv3d_dgrad_output_gradient_tile_access_iterator_analytic.h:324
Functioncan_implement
Determines whether the Implicit GEMM can execute the given problem.
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv2d_fprop_filter_tile_access_iterator_fixed_channels.h:245
Functioncan_implement
Determines whether the Implicit GEMM can execute the given problem.
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv3d_wgrad_output_gradient_tile_access_iterator_optimized.h:290
Functioncan_implement
Determines whether the Implicit GEMM can execute the given problem.
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv2d_wgrad_activation_tile_access_iterator_optimized.h:303
Functioncan_implement
Determines whether the Implicit GEMM can execute the given problem.
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv2d_dgrad_filter_tile_access_iterator_optimized.h:353
Functioncan_implement
Determines whether the Implicit GEMM can execute the given problem.
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv3d_fprop_activation_tile_access_iterator_optimized.h:454
Functioncan_implement
Determines whether the Implicit GEMM can execute the given problem.
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv3d_dgrad_filter_tile_access_iterator_optimized.h:271
← previousnext →6,801–6,900 of 14,558, ranked by callers