MCPcopy Create free account

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

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

↓ 1 callersMethodis_source_needed
Returns true if source is needed
fastertransformer/3rdparty/cutlass/examples/42_fused_multi_head_attention/epilogue_thread_apply_logsumexp.h:133
↓ 1 callersMethodis_source_needed
Determine if the source is needed. May return false if
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/threadblock/epilogue_with_broadcast_v2.h:119
↓ 1 callersFunctionis_split_param
(name: str)
fastertransformer/examples/pytorch/gpt/utils/huggingface_bloom_convert.py:147
↓ 1 callersFunctionis_valid_file
(x: str)
fastertransformer/3rdparty/Megatron-LM/megatron/data/image_folder.py:93
↓ 1 callersFunctionis_valid_split_k_factor
fastertransformer/src/fastertransformer/kernels/cutlass_kernels/cutlass_heuristic.cc:53
↓ 1 callersFunctionis_whitespace
(c)
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/run_squad.py:232
↓ 1 callersFunctionis_whitespace
(c)
fastertransformer/examples/tensorflow/bert/bert-quantization/utils/create_squad_data.py:157
↓ 1 callersFunctionis_whitespace
(c)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/run_squad.py:153
↓ 1 callersFunctionis_zip_path
judge if this is a zip path
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/data/zipreader.py:18
↓ 1 callersFunctionisinf
fastertransformer/3rdparty/cutlass/include/cutlass/half.h:526
↓ 1 callersFunctionispow2
Returns true if the argument is a power of 2
fastertransformer/3rdparty/cutlass/include/cutlass/array.h:64
↓ 1 callersFunctionjaccard
(set_a, set_b, args)
fastertransformer/3rdparty/Megatron-LM/tools/openwebtext/find_duplicates.py:37
↓ 1 callersFunctionlayer_norm_and_dropout
Runs layer normalization followed by dropout.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/my_modeling.py:374
↓ 1 callersFunctionlayer_norm_and_dropout
Runs layer normalization followed by dropout.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/modeling.py:368
↓ 1 callersFunctionlayer_norm_and_dropout
Runs layer normalization followed by dropout.
fastertransformer/examples/tensorflow/bert/bert-quantization/modeling.py:401
↓ 1 callersMethodlayout_name
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/rank_k_operation.py:124
↓ 1 callersMethodlayout_name
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/gemm_operation.py:119
↓ 1 callersMethodlayout_name
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/trmm_operation.py:122
↓ 1 callersMethodlayout_name
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/conv2d_operation.py:89
↓ 1 callersMethodlayout_name
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/symm_operation.py:126
↓ 1 callersMethodlayout_name
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/rank_2k_operation.py:126
↓ 1 callersMethodlayout_name
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/gemm_operation.py:900
↓ 1 callersMethodlayout_name
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/conv2d_operation.py:502
↓ 1 callersFunctionldnCalibrateWeightPerChannel
fastertransformer/src/fastertransformer/th_op/multi_gpu_gpt/WeightTransposeCalibrateQuantizeOp.cc:21
↓ 1 callersFunctionldnTransposeQuantizeWeightPerChannel
fastertransformer/src/fastertransformer/th_op/multi_gpu_gpt/WeightTransposeCalibrateQuantizeOp.cc:36
↓ 1 callersFunctionlet_parameters
(model, use_shift=True)
algorithm/quantize/utils.py:22
↓ 1 callersFunctionlexical_cast
fastertransformer/3rdparty/cutlass/tools/profiler/src/problem_space.cpp:51
↓ 1 callersMethodlisted_weight_to_dict
(self)
fastertransformer/examples/pytorch/vit/VisionTransformerINT8WeightLoader.py:132
↓ 1 callersMethodlisted_weights
(self)
fastertransformer/examples/pytorch/encoder/utils/ft_encoder.py:57
↓ 1 callersMethodlisted_weights
(self)
fastertransformer/examples/pytorch/bert/utils/encoder.py:100
↓ 1 callersFunctionllama_eval
(model, testenc, dev, dataset: str, log_wandb: bool = False)
algorithm/run_pretrain_abq_model.py:36
↓ 1 callersFunctionload
Loads a fragment from memory at the location pointed to by the iterator.
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/warp/mma_complex_tensor_op_tile_iterator_sm80.h:246
↓ 1 callersFunctionload
Loads a fragment from memory at the location pointed to by the iterator.
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/warp/mma_tensor_op_tile_iterator_sm70.h:295
↓ 1 callersFunctionload
Loads a fragment from memory at the location pointed to by the iterator.
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/warp/mma_simt_tile_iterator.h:501
↓ 1 callersMethodload
(self, ckpt_path, tensor_para_rank, pipeline_para_rank)
fastertransformer/examples/pytorch/gpt/utils/gpt_fp8.py:150
↓ 1 callersMethodload
(self, ckpt_path)
fastertransformer/examples/pytorch/baichuan2/baichuanv2.py:252
↓ 1 callersMethodloadCubinKernels
fastertransformer/3rdparty/fp8_qgmma_1x1/sharedCubinLoader.h:47
↓ 1 callersMethodloadXMMAKernels
fastertransformer/3rdparty/trt_fused_multihead_attention/fused_multihead_attention.h:324
↓ 1 callersMethodload_
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/rt.py:748
↓ 1 callersFunctionload_and_cache_examples
(args, tokenizer, evaluate=False, output_examples=False)
fastertransformer/examples/pytorch/bert/run_squad.py:163
↓ 1 callersFunctionload_and_cache_examples
(args, task, tokenizer, evaluate=False)
fastertransformer/examples/pytorch/bert/run_glue.py:131
↓ 1 callersMethodload_attributes
Load the necessary attributes: model, dataloader and empty BlockData
fastertransformer/3rdparty/Megatron-LM/megatron/indexer.py:42
↓ 1 callersFunctionload_checkpoint
(config, model, optimizer, lr_scheduler, loss_scaler, logger)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/utils.py:14
↓ 1 callersFunctionload_checkpoint
(config, model, optimizer, lr_scheduler, loss_scaler, logger)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/utils_moe.py:31
↓ 1 callersMethodload_from_model
Routine to load DeBERTa weights from a HuggingFace model. This assumes the latest DeBERT-v2 architecture and DeBERTa-v3 weights.
fastertransformer/examples/tensorflow/deberta/utils/ft_deberta.py:47
↓ 1 callersMethodload_from_model
Routine to load T5 decoding weights from a HuggingFace model. This assumes the regular T5 (NOT v1.1) architecture. Notes:
fastertransformer/examples/tensorflow/t5/utils/ft_decoding.py:59
↓ 1 callersMethodload_from_model
Routine to load T5 encoder weights from a HuggingFace model. This assumes the regular T5 (NOT v1.1) architecture. Notes:
fastertransformer/examples/tensorflow/t5/utils/ft_encoder.py:51
↓ 1 callersMethodload_from_model
Only applies to HuggingFace models. Weight loading order: PyTorch tensor order should conform to src/fastertransformer/th_op/BartDecodingOp.h
fastertransformer/examples/pytorch/bart/utils/ft_decoding.py:67
↓ 1 callersMethodload_from_model
Only applies to HuggingFace models. Weight loading order: PyTorch tensor order should conform to src/fastertransformer/th_op/BartEncoderOp.h:
fastertransformer/examples/pytorch/bart/utils/ft_encoder.py:67
↓ 1 callersMethodload_model_config
(self, config, args)
fastertransformer/examples/tensorrt/vit/plugin_loader_int8.py:45
↓ 1 callersMethodload_model_config
(self, config, args)
fastertransformer/examples/tensorrt/vit/plugin_loader.py:42
↓ 1 callersMethodload_operation
(self, op_key)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/compiler.py:161
↓ 1 callersFunctionload_pretrained
(config, model, logger)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/utils.py:41
↓ 1 callersFunctionload_pretrained
(config, model, logger)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/utils_moe.py:64
↓ 1 callersMethodload_range
load min/max values to the graph Args: sess: A TensorFlow Session.
fastertransformer/examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/calibrator.py:248
↓ 1 callersMethodload_state_dict
(self, state_dict)
algorithm/utils.py:66
↓ 1 callersFunctionload_symmetric_with_byte_offset
Loads a fragment on the diagonal of a symmetric kernel to memory
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/threadblock/predicated_tile_iterator_blas3.h:322
↓ 1 callersFunctionload_test_model
(opt, args)
fastertransformer/examples/pytorch/decoding/utils/translation_model.py:78
↓ 1 callersFunctionload_tf_weights_in_bert
Load tf checkpoints in a pytorch model
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/modeling.py:63
↓ 1 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
fastertransformer/3rdparty/Megatron-LM/megatron/tokenizer/bert_tokenization.py:121
↓ 1 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/tokenization.py:121
↓ 1 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/tokenization.py:71
↓ 1 callersFunctionload_weights
(weight_path:str)
fastertransformer/examples/tensorrt/vit/plugin_loader.py:22
↓ 1 callersFunctionload_weights
(inputbase, config)
fastertransformer/examples/tensorrt/swin/builder.py:226
↓ 1 callersFunctionload_weights
(inputbase, config)
fastertransformer/examples/tensorrt/swin/builder_int8.py:224
↓ 1 callersMethodload_weights
(self, weight_path:str)
fastertransformer/examples/pytorch/vit/VisionTransformerWeightLoader.py:127
↓ 1 callersFunctionload_with_byte_offset
Loads a fragment from memory
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/threadblock/predicated_tile_iterator_blas3.h:263
↓ 1 callersMethodload_with_byte_offset
Loads a fragment from memory
fastertransformer/3rdparty/cutlass/include/cutlass/transform/threadblock/predicated_tile_iterator_triangular_matrix.h:782
↓ 1 callersFunctionload_with_pointer_offset
Loads a fragment from memory
fastertransformer/3rdparty/cutlass/include/cutlass/transform/threadblock/predicated_scale_bias_vector_iterator.h:164
↓ 1 callersFunctionload_with_pointer_offset
Load
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/warp/tile_iterator_tensor_op_mixed.h:286
↓ 1 callersMethodload_with_pointer_offset
Loads a fragment from memory
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv2d_tile_iterator.h:135
↓ 1 callersMethodload_with_pointer_offset
Loads a fragment from memory
fastertransformer/3rdparty/cutlass/include/cutlass/transform/threadblock/predicated_tile_iterator_triangular_matrix.h:776
↓ 1 callersMethodload_with_pointer_offset
Loads a fragment from memory
fastertransformer/3rdparty/cutlass/include/cutlass/transform/threadblock/predicated_tile_iterator_2dthreadtile.h:757
↓ 1 callersMethodload_with_pointer_offset
Loads a fragment from memory
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/threadblock/shared_load_iterator_mixed.h:195
↓ 1 callersFunctionload_word_list
(filename)
fastertransformer/examples/pytorch/llama/utils/word_list.py:78
↓ 1 callersFunctionload_word_list
(filename)
fastertransformer/examples/pytorch/gpt/utils/word_list.py:78
↓ 1 callersFunctionload_word_list
(filename)
fastertransformer/examples/pytorch/llama2/utils/word_list.py:78
↓ 1 callersMethodloglikelihood
Compute log-likelihood of generating a continuation from a context. Downstream tasks should attempt to use loglikelihood instead of other
algorithm/lm_eval/base.py:25
↓ 1 callersMethodloglikelihood_rolling
Compute full log-likelihood of a string, with no truncation, for perplexity computation - We will use the full max context length of the model
algorithm/lm_eval/base.py:49
↓ 1 callersFunctionlower
(text)
algorithm/lm_eval/tasks/qasper.py:59
↓ 1 callersFunctionlower
(text)
fastertransformer/3rdparty/Megatron-LM/tasks/orqa/unsupervised/qa_utils.py:170
↓ 1 callersFunctionlower
(text)
fastertransformer/examples/tensorflow/bert/tensorflow_bert/squad_evaluate-v1.1.py:37
↓ 1 callersFunctionlower
(text)
fastertransformer/examples/tensorflow/bert/tensorflow_bert/squad_evaluate_v1_1.py:37
↓ 1 callersFunctionlwc_parameters
(model)
algorithm/quantize/utils.py:37
↓ 1 callersFunctionmain
()
algorithm/run_pretrain_abq_model.py:118
↓ 1 callersFunctionmain
()
algorithm/generate_act_scale_shift.py:138
↓ 1 callersFunctionmain
()
algorithm/main.py:202
↓ 1 callersFunctionmain
()
fastertransformer/3rdparty/Megatron-LM/tools/merge_mp_partitions.py:191
↓ 1 callersFunctionmain
()
fastertransformer/3rdparty/Megatron-LM/tools/preprocess_data.py:144
↓ 1 callersFunctionmain
()
fastertransformer/3rdparty/Megatron-LM/megatron/data/test/test_indexed_dataset.py:82
↓ 1 callersFunctionmain
()
fastertransformer/3rdparty/Megatron-LM/tasks/ensemble_classifier.py:126
↓ 1 callersFunctionmain
()
fastertransformer/3rdparty/Megatron-LM/tasks/msdp/evaluate.py:54
↓ 1 callersFunctionmain
()
fastertransformer/3rdparty/Megatron-LM/tasks/race/finetune.py:64
↓ 1 callersFunctionmain
()
fastertransformer/3rdparty/Megatron-LM/tasks/vision/classification.py:54
↓ 1 callersFunctionmain
(in_file, model_name)
fastertransformer/examples/utils/hf_detokenize.py:19
↓ 1 callersFunctionmain
(in_file, model_name)
fastertransformer/examples/utils/hf_tokenize.py:19
↓ 1 callersFunctionmain
(args)
fastertransformer/examples/tensorrt/vit/infer_visiontransformer_plugin.py:78
↓ 1 callersFunctionmain
(args)
fastertransformer/examples/tensorrt/vit/infer_visiontransformer_int8_plugin.py:94
↓ 1 callersFunctionmain
()
fastertransformer/examples/tensorrt/swin/builder.py:297
↓ 1 callersFunctionmain
(config, args)
fastertransformer/examples/tensorrt/swin/infer_swintransformer_plugin_int8.py:87
← previousnext →3,101–3,200 of 14,558, ranked by callers