MCPcopy Create free account

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

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

↓ 3 callersMethodset_kgroup_index
Notify the iterator which k-group it is currently pointing to. This does not advance the iterator. Rather, it overrides its internal tracking with co
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/warp/mma_tensor_op_tile_iterator_sm70.h:1121
↓ 3 callersMethodset_kgroup_index
Notify the iterator which k-group it is currently pointing to. This does not advance the iterator. Rather, it overrides its internal tracking with co
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/warp/mma_tensor_op_tile_iterator.h:2340
↓ 3 callersFunctionset_quant_state
(self, weight_quant: bool = False, act_quant: bool = False)
algorithm/quantize/utils.py:179
↓ 3 callersFunctionset_tensor_common_0
fastertransformer/3rdparty/fp8_qgmma_1x1/utils.h:73
↓ 3 callersFunctionset_tensor_model_parallel_attributes
(tensor, is_parallel, dim, stride)
fastertransformer/3rdparty/Megatron-LM/megatron/mpu/layers.py:53
↓ 3 callersFunctionsetup_model_and_optimizer
Setup model and optimizer.
fastertransformer/3rdparty/Megatron-LM/megatron/training.py:342
↓ 3 callersFunctionshared_load
fastertransformer/3rdparty/cutlass/include/cutlass/arch/memory_sm75.h:300
↓ 3 callersMethodsize
Returns the number of elements stored in the host tensor
fastertransformer/3rdparty/cutlass/tools/util/include/cutlass/util/host_tensor_planar_complex.h:230
↓ 3 callersFunctionsmooth_q_k_inplace
(q_proj, k_proj, scales, self_attn=None)
algorithm/models/transformation.py:127
↓ 3 callersMethodsparse
(self)
fastertransformer/examples/pytorch/gpt/utils/gpt.py:546
↓ 3 callersMethodstate_dict
(self)
fastertransformer/3rdparty/Megatron-LM/megatron/optimizer/optimizer.py:551
↓ 3 callersFunctionstore
Stores a fragment to memory at the location pointed to by the iterator
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/warp/mma_simt_tile_iterator.h:525
↓ 3 callersMethodstore_with_byte_offset
Store a fragment to memory
fastertransformer/3rdparty/cutlass/examples/42_fused_multi_head_attention/iterators/predicated_tile_iterator_residual_last.h:899
↓ 3 callersMethodstore_with_byte_offset
Store a fragment to memory
fastertransformer/3rdparty/cutlass/include/cutlass/transform/threadblock/predicated_tile_iterator.h:804
↓ 3 callersFunctionstore_with_pointer_offset
Store
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/warp/tile_iterator_simt.h:195
↓ 3 callersFunctionstore_with_pointer_offset
Store
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/warp/tile_iterator_tensor_op_mixed.h:216
↓ 3 callersFunctionstore_with_pointer_offset
Store
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/warp/tile_iterator_tensor_op.h:192
↓ 3 callersFunctiontf_beamsearch_decoding
Run the decoding with beam search by TensorFlow. Args: memory_tensor: A tf.tensor with shape [batch_size * beam_width, max(memor
fastertransformer/examples/tensorflow/decoder/utils/decoding.py:200
↓ 3 callersFunctiontf_encoder_opennmt
Run the bert transformer layer by TensorFlow. Args: input_tensor: A tf.Tensor with shape [batch_size, seq_len, hidden_dimension]
fastertransformer/examples/tensorflow/encoder/utils/encoder.py:47
↓ 3 callersFunctiontf_sampling_decoding
Run the decoding with sampling by TensorFlow. Args: memory_tensor: A tf.tensor with shape [batch_size, max(memory_sequence_lengt
fastertransformer/examples/tensorflow/decoder/utils/decoding.py:341
↓ 3 callersMethodto_cuda
(self)
fastertransformer/examples/pytorch/vit/VisionTransformerINT8WeightLoader.py:97
↓ 3 callersMethodto_device
fastertransformer/3rdparty/cutlass/tools/util/include/cutlass/util/type_traits.h:53
↓ 3 callersMethodto_dict
Serializes this instance to a Python dictionary.
fastertransformer/examples/tensorflow/bert/bert-quantization/modeling.py:102
↓ 3 callersMethodto_int8
(self, ths_path='../../../lib/libth_transformer.so')
fastertransformer/examples/pytorch/vit/VisionTransformerINT8WeightLoader.py:149
↓ 3 callersFunctionto_numpy_dtype
(maybe_str_dtype: Union[str, np.dtype])
fastertransformer/examples/pytorch/gpt/utils/gpt_decoder.py:32
↓ 3 callersMethodtok_encode_batch
(self, strings: List[str])
algorithm/lm_eval/models/huggingface.py:295
↓ 3 callersMethodtokenize
Tokenizes a piece of text into its word pieces. This uses a greedy longest-match-first algorithm to perform tokenization using the given voca
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/tokenization.py:308
↓ 3 callersFunctiontrain_loop
(args, model, optimizer, step, num_steps)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/test/checkpointing_test_reference.py:35
↓ 3 callersFunctiontrain_step
Single training step.
fastertransformer/3rdparty/Megatron-LM/megatron/training.py:382
↓ 3 callersFunctiontraining_log
Log training information such as losses, timing, ....
fastertransformer/3rdparty/Megatron-LM/megatron/training.py:478
↓ 3 callersMethodtranspose_for_scores
(self, x)
fastertransformer/examples/pytorch/vit/ViT-quantization/ViT-pytorch/models/modeling.py:70
↓ 3 callersFunctiontranspose_layout
(layout: cutlass.layout)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/gemm_operation.py:49
↓ 3 callersFunctiontrt_getS
fastertransformer/examples/cpp/swin/functions.h:43
↓ 3 callersFunctionuncompress
fastertransformer/3rdparty/cutlass/tools/util/include/cutlass/util/host_uncompress.h:47
↓ 3 callersMethoduniform_init
(self, size, dtype)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/test/gemm_testbed.py:232
↓ 3 callersMethoduniform_init
(self, size, dtype)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/test/gemm_grouped_testbed.py:92
↓ 3 callersMethoduniform_init
(self, size, dtype)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/test/conv2d_testbed.py:214
↓ 3 callersFunctionv
(bw,by,bv,bx)
fastertransformer/3rdparty/cutlass/docs/jquery.js:23
↓ 3 callersFunctionvalidate
(config, data_loader, model)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/main.py:300
↓ 3 callersFunctionvalidate
(config, data_loader, model)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/main_moe.py:246
↓ 3 callersFunctionvalidate
(config, data_loader, model)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/main.py:224
↓ 3 callersMethodwarn
(self, s)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/quant_utils.py:33
↓ 3 callersFunctionwhitespace_tokenize
Runs basic whitespace cleaning and splitting on a piece of text.
fastertransformer/3rdparty/Megatron-LM/megatron/tokenizer/bert_tokenization.py:152
↓ 3 callersFunctionwhitespace_tokenize
Runs basic whitespace cleaning and splitting on a piece of text.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/tokenization.py:152
↓ 3 callersFunctionwhitespace_tokenize
Runs basic whitespace cleaning and splitting on a piece of text.
fastertransformer/examples/tensorflow/bert/bert-quantization/tokenization.py:138
↓ 3 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/models/swin_transformer.py:45
↓ 3 callersMethodwords
Returns a list of the text of each token Args: uncased: lower cases text
fastertransformer/3rdparty/Megatron-LM/tasks/orqa/unsupervised/tokenizers.py:52
↓ 2 callersFunctionBlockFillRandomUniform
fastertransformer/3rdparty/cutlass/tools/util/include/cutlass/util/reference/host/tensor_fill.h:906
↓ 2 callersMethodCachedTestResultListing
fastertransformer/3rdparty/cutlass/test/unit/conv/device/cache_testbed_output.h:161
↓ 2 callersMethodCompileCache
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/cpp/compiler.h:46
↓ 2 callersFunctionConv2d
fastertransformer/3rdparty/cutlass/tools/util/include/cutlass/util/reference/host/convolution.h:395
↓ 2 callersMethodCopyWeightsFromHostBuffers
fastertransformer/src/fastertransformer/models/vit/ViTWeight.h:203
↓ 2 callersFunctionCreateConv2dFewChannelsOperator
(manifest, layout, tile_descriptions, data_type, channel_counts, \ conv_kinds = [ConvKind.Fprop, ConvKind.Dg
fastertransformer/3rdparty/cutlass/tools/library/scripts/generator.py:478
↓ 2 callersFunctionCreateConv3dOperator
(manifest, layout, tile_descriptions, data_type, alignment, \ conv_kinds = [ConvKind.Fprop, ConvKind.Dgrad,
fastertransformer/3rdparty/cutlass/tools/library/scripts/generator.py:521
↓ 2 callersMethodDynamicDecodeOp
fastertransformer/src/fastertransformer/th_op/common/DynamicDecodeOp.cc:211
↓ 2 callersFunctionE
(e)
fastertransformer/3rdparty/cutlass/docs/jquery.js:23
↓ 2 callersFunctionEpilogueAlignment
Helper to compute the maximum alignment of the epilogue
fastertransformer/3rdparty/cutlass/tools/library/scripts/generator.py:36
↓ 2 callersFunctionFilterArchitecture
Sets flags for Unit test
fastertransformer/3rdparty/cutlass/test/unit/common/filter_architecture.cpp:39
↓ 2 callersFunctionG
(bH,bz)
fastertransformer/3rdparty/cutlass/docs/jquery.js:23
↓ 2 callersMethodGetSerializeSize
fastertransformer/src/fastertransformer/models/vit_int8/ViTINT8Weight.h:155
↓ 2 callersMethodGetWeightCount
fastertransformer/src/fastertransformer/models/vit/ViTWeight.h:236
↓ 2 callersFunctionH
()
fastertransformer/3rdparty/cutlass/docs/jquery.js:68
↓ 2 callersFunctionK
(R)
fastertransformer/3rdparty/cutlass/docs/jquery.js:68
↓ 2 callersFunctionLinearCombinationClampIsHeavy
Single source of truth for whether to unroll for `LinearCombinationClamp()`
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/thread/linear_combination_clamp.h:55
↓ 2 callersFunctionLinearCombinationRelu0IsHeavy
Single source of truth for whether to unroll for `LinearCombinationClamp()`
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/thread/linear_combination_relu0.h:60
↓ 2 callersFunctionLinearCombinationReluIsHeavy
Single source of truth for whether to unroll for `LinearCombinationClamp()`
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/thread/linear_combination_relu.h:57
↓ 2 callersMethodLlama2Op
fastertransformer/src/fastertransformer/th_op/llama2/Llama2Op.cc:23
↓ 2 callersFunctionLtIgemmCustomFind
fastertransformer/src/fastertransformer/utils/gemm_test/encoder_igemm_func.cc:281
↓ 2 callersFunctionOutputTileThreadMapDesc
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/threadblock/predicated_tile_iterator_params.h:123
↓ 2 callersFunctionPredicatedScaleBiasVectorAccessIterator
Construct a PredicatedTileAccessIterator with zero threadblock offset
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/predicated_scale_bias_vector_access_iterator.h:194
↓ 2 callersMethodSwinTransformerINT8Class
fastertransformer/src/fastertransformer/th_op/swin/SwinINT8Op.cc:22
↓ 2 callersFunctionTensorFillDiagonal
< Layout function
fastertransformer/3rdparty/cutlass/tools/util/include/cutlass/util/reference/device/tensor_fill.h:1243
↓ 2 callersFunctionTensorMul
fastertransformer/3rdparty/cutlass/tools/util/include/cutlass/util/reference/host/tensor_elementwise.h:209
↓ 2 callersMethod__init__
(self, org_module: nn.Module,args=None)
algorithm/models/int_falcon_layer.py:21
↓ 2 callersMethod__init__
( self, org_module: nn.Module, hidden_size: int, intermediate_size: int,
algorithm/models/int_llama_layer.py:21
↓ 2 callersMethod__init__
(self, numel, dtype)
fastertransformer/3rdparty/Megatron-LM/megatron/model/distributed.py:30
↓ 2 callersMethod__init__
(self, hidden_size, init_method)
fastertransformer/3rdparty/Megatron-LM/megatron/model/language_model.py:93
↓ 2 callersMethod__init__
(self, path)
fastertransformer/3rdparty/Megatron-LM/megatron/data/indexed_dataset.py:131
↓ 2 callersMethod__init__
(self, name)
fastertransformer/3rdparty/Megatron-LM/megatron/tokenizer/tokenizer.py:74
↓ 2 callersMethod__init__
(self, input_size, output_size, bias=True, input_is_parallel=False, init_met
fastertransformer/3rdparty/Megatron-LM/megatron/mpu/layers.py:370
↓ 2 callersMethod__init__
(self, config)
fastertransformer/examples/pytorch/bert/utils/modeling_bert.py:26
↓ 2 callersMethod__init__
(self, model_type=None, data_type=None, decoder_ths_path=None, decoding_ths_path=None)
fastertransformer/examples/pytorch/decoding/utils/decoding.py:416
↓ 2 callersMethod__init__
(self, num_heads: int, size_per_head: int, num_layers: int,
fastertransformer/examples/pytorch/gpt/utils/gpt_decoder.py:714
↓ 2 callersMethod__normalize_option
(self, doc, option)
algorithm/lm_eval/tasks/wsc273.py:76
↓ 2 callersMethod_allocate_memory
(self, inference_max_sequence_len, batch_size)
fastertransformer/3rdparty/Megatron-LM/megatron/model/transformer.py:182
↓ 2 callersFunction_allocate_recv_buffer
Receive happens between the layers with size [s, b, h].
fastertransformer/3rdparty/Megatron-LM/megatron/text_generation/forward_step.py:103
↓ 2 callersMethod_answer_to_bags
(self, answer)
algorithm/lm_eval/tasks/drop.py:183
↓ 2 callersFunction_append_to_models
(model, adapter, rank_weights, is_merge: bool)
fastertransformer/examples/pytorch/t5/utils/nemo_t5_ckpt_convert.py:904
↓ 2 callersFunction_build_attention_mask_and_position_ids
Build the attention mask and postition ids for the input tokens.
fastertransformer/3rdparty/Megatron-LM/megatron/text_generation/generation.py:266
↓ 2 callersFunction_build_tokenizer
Initialize tokenizer.
fastertransformer/3rdparty/Megatron-LM/megatron/global_vars.py:127
↓ 2 callersFunction_build_train_valid_test_datasets
(data_prefix, data_impl, splits_string, train_valid_test_num_samples,
fastertransformer/3rdparty/Megatron-LM/megatron/data/dataset_utils.py:472
↓ 2 callersFunction_build_train_valid_test_datasets
Build train, valid, and test datasets.
fastertransformer/3rdparty/Megatron-LM/megatron/data/gpt_dataset.py:80
↓ 2 callersFunction_compute_softmax
Compute softmax probability over raw logits.
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/run_squad.py:695
↓ 2 callersFunction_config_update_adapter
(side: str)
fastertransformer/examples/pytorch/t5/utils/nemo_t5_ckpt_convert.py:1127
↓ 2 callersMethod_create_examples
Creates examples for the training and dev sets.
fastertransformer/examples/tensorflow/xlnet/convertInput.py:216
↓ 2 callersMethod_create_examples
(self, data_dir)
fastertransformer/examples/tensorflow/xlnet/convertInput.py:240
↓ 2 callersMethod_create_examples
Creates examples for the training and dev sets.
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/processors/glue.py:103
↓ 2 callersMethod_create_examples
Creates examples for the training and dev sets.
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/processors/glue.py:142
↓ 2 callersMethod_create_examples
Creates examples for the training and dev sets.
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/processors/glue.py:181
↓ 2 callersMethod_create_examples
Creates examples for the training and dev sets.
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/processors/glue.py:215
← previousnext →1,301–1,400 of 14,558, ranked by callers