MCPcopy Create free account

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

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

↓ 1 callersMethod__init__
(self, encoder, decoding)
fastertransformer/examples/pytorch/bart/utils/ft_decoding.py:322
↓ 1 callersMethod__init__
(self)
fastertransformer/examples/pytorch/vit/ViT-quantization/main.py:48
↓ 1 callersMethod__init__
(self)
fastertransformer/examples/pytorch/vit/ViT-quantization/eval_engine.py:50
↓ 1 callersMethod__init__
(self, block_units, width_factor)
fastertransformer/examples/pytorch/vit/ViT-quantization/ViT-pytorch/models/modeling_resnet.py:132
↓ 1 callersMethod__init__
(self, num_layers, d_model, heads, d_ff, weights)
fastertransformer/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
fastertransformer/examples/pytorch/bert/utils/encoder.py:271
↓ 1 callersMethod__init__
(self, qas_id, question_text, doc_tokens,
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/run_squad.py:84
↓ 1 callersMethod__init__
(self, max_grad_norm)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/run_glue.py:129
↓ 1 callersMethod__init__
(self, seed)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/run_pretraining.py:80
↓ 1 callersMethod__init__
(self, model_type=None, data_type=None, ths_path=None)
fastertransformer/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,
fastertransformer/examples/pytorch/gpt/utils/bloom.py:234
↓ 1 callersMethod__init__
(self, head_num, kv_head_num, size_per_head, inter_size, vocab_size, rotary_
fastertransformer/examples/pytorch/llama2/llamav2.py:175
↓ 1 callersMethod__init__
(self, root, loader, extensions, ann_file='', img_prefix='', transform=None, target_transform=None,
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/data/cached_image_folder.py:92
↓ 1 callersMethod__init__
(self, in_channel, out_channel, kernel_size, stride, bias=True)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/models/linear_activation.py:57
↓ 1 callersMethod__init__
(self, encoder, decoding)
fastertransformer/examples/pytorch/t5/utils/ft_decoding.py:489
↓ 1 callersMethod__init__
(self, head_num, size_per_head, inter_size, vocab_size, rotary_embedding_dim
fastertransformer/examples/pytorch/baichuan2/baichuanv2.py:174
↓ 1 callersFunction__internal_bf16raw_to_float
fastertransformer/tests/unittests/fp8_gemm_test/2022_03_21__fp8_stride_batch_example/include/cuda_fp8.hpp:396
↓ 1 callersMethod__len__
(self)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/data/cached_image_folder.py:161
↓ 1 callersFunction__nv_fp8_e5m2
fastertransformer/tests/unittests/fp8_gemm_test/2022_03_21__fp8_stride_batch_example/include/cuda_fp8.hpp:519
↓ 1 callersFunction__nv_fp8x2_e4m3
fastertransformer/tests/unittests/fp8_gemm_test/2022_03_21__fp8_stride_batch_example/include/cuda_fp8.hpp:780
↓ 1 callersFunction__nv_fp8x2_e5m2
fastertransformer/tests/unittests/fp8_gemm_test/2022_03_21__fp8_stride_batch_example/include/cuda_fp8.hpp:593
↓ 1 callersFunction__nv_fp8x4_e4m3
fastertransformer/tests/unittests/fp8_gemm_test/2022_03_21__fp8_stride_batch_example/include/cuda_fp8.hpp:819
↓ 1 callersFunction__nv_fp8x4_e5m2
fastertransformer/tests/unittests/fp8_gemm_test/2022_03_21__fp8_stride_batch_example/include/cuda_fp8.hpp:644
↓ 1 callersMethod__repr__
(self)
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/run_squad.py:182
↓ 1 callersMethod__repr__
(self)
fastertransformer/examples/tensorflow/bert/bert-quantization/utils/create_squad_data.py:109
↓ 1 callersMethod__repr__
(self)
fastertransformer/examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/layers/tensor_quantizer.py:113
↓ 1 callersMethod__repr__
(self)
fastertransformer/examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/max.py:109
↓ 1 callersMethod__repr__
(self)
fastertransformer/examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/calibrator.py:293
↓ 1 callersMethod__repr__
(self)
fastertransformer/examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/histogram.py:109
↓ 1 callersMethod__repr__
(self)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/run_squad.py:103
↓ 1 callersMethod__repr__
(self)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/run_swag.py:72
↓ 1 callersMethod__str__
(self)
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/create_pretraining_data.py:79
↓ 1 callersMethod__str__
(self)
fastertransformer/examples/tensorflow/bert/bert-quantization/utils/create_pretraining_data.py:48
↓ 1 callersMethod__str__
(self)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/create_pretraining_data.py:48
↓ 1 callersFunction_add_autoresume_args
(parser)
fastertransformer/3rdparty/Megatron-LM/megatron/arguments.py:764
↓ 1 callersFunction_add_biencoder_args
(parser)
fastertransformer/3rdparty/Megatron-LM/megatron/arguments.py:776
↓ 1 callersFunction_add_checkpointing_args
(parser)
fastertransformer/3rdparty/Megatron-LM/megatron/arguments.py:579
↓ 1 callersFunction_add_data_args
(parser)
fastertransformer/3rdparty/Megatron-LM/megatron/arguments.py:703
↓ 1 callersFunction_add_distributed_args
(parser)
fastertransformer/3rdparty/Megatron-LM/megatron/arguments.py:642
↓ 1 callersFunction_add_inference_args
(parser)
fastertransformer/3rdparty/Megatron-LM/megatron/arguments.py:295
↓ 1 callersFunction_add_initialization_args
(parser)
fastertransformer/3rdparty/Megatron-LM/megatron/arguments.py:515
↓ 1 callersFunction_add_learning_rate_args
(parser)
fastertransformer/3rdparty/Megatron-LM/megatron/arguments.py:533
↓ 1 callersFunction_add_logging_args
(parser)
fastertransformer/3rdparty/Megatron-LM/megatron/arguments.py:350
↓ 1 callersFunction_add_mixed_precision_args
(parser)
fastertransformer/3rdparty/Megatron-LM/megatron/arguments.py:604
↓ 1 callersFunction_add_network_size_args
(parser)
fastertransformer/3rdparty/Megatron-LM/megatron/arguments.py:307
↓ 1 callersFunction_add_regularization_args
(parser)
fastertransformer/3rdparty/Megatron-LM/megatron/arguments.py:389
↓ 1 callersFunction_add_training_args
(parser)
fastertransformer/3rdparty/Megatron-LM/megatron/arguments.py:415
↓ 1 callersFunction_add_validation_args
(parser)
fastertransformer/3rdparty/Megatron-LM/megatron/arguments.py:690
↓ 1 callersFunction_add_vit_args
(parser)
fastertransformer/3rdparty/Megatron-LM/megatron/arguments.py:833
↓ 1 callersFunction_affine_fake_quantize
(inputs, quant_min, quant_max)
fastertransformer/examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/ops/fake_quantize.py:110
↓ 1 callersMethod_align_bags
Takes gold and predicted answer sets and first finds the optimal 1-1 alignment between them and gets maximum metric values over all t
algorithm/lm_eval/tasks/drop.py:196
↓ 1 callersFunction_build_dataset
(data_cfg, tokenizer)
fastertransformer/examples/pytorch/t5/mnli_task_example.py:40
↓ 1 callersFunction_build_dataset
(data_cfg, tokenizer)
fastertransformer/examples/pytorch/t5/xnli_task_example.py:42
↓ 1 callersFunction_build_doc_idx
Build an array with length = number-of-epochs * number-of-dcuments. Each index is mapped to a corresponding document.
fastertransformer/3rdparty/Megatron-LM/megatron/data/gpt_dataset.py:346
↓ 1 callersFunction_build_index_mappings
Build doc-idx, sample-idx, and shuffle-idx. doc-idx: is an array (ordered) of documents to be used in training. sample-idx: is the start docum
fastertransformer/3rdparty/Megatron-LM/megatron/data/gpt_dataset.py:190
↓ 1 callersFunction_build_infinite_size_dataloader
Build a looped dataloader with infinite size.
fastertransformer/3rdparty/Megatron-LM/tasks/finetune_utils.py:107
↓ 1 callersFunction_build_infinite_size_dataloader
Build a looped dataloader with infinite size.
fastertransformer/3rdparty/Megatron-LM/tasks/vision/finetune_utils.py:97
↓ 1 callersFunction_build_key_size_numel_dictionaries
Build the size on rank 0 and broadcast.
fastertransformer/3rdparty/Megatron-LM/megatron/mpu/data.py:33
↓ 1 callersFunction_build_lambada_dataset
Build lambada dataset.
fastertransformer/3rdparty/Megatron-LM/tasks/zeroshot_gpt/datasets.py:129
↓ 1 callersFunction_build_num_microbatches_calculator
(args)
fastertransformer/3rdparty/Megatron-LM/megatron/global_vars.py:117
↓ 1 callersFunction_build_shuffle_idx
Build the range [0, size) and shuffle.
fastertransformer/3rdparty/Megatron-LM/megatron/data/gpt_dataset.py:411
↓ 1 callersFunction_build_train_valid_dataloaders
Traing and validation dataloaders.
fastertransformer/3rdparty/Megatron-LM/tasks/finetune_utils.py:118
↓ 1 callersFunction_build_train_valid_dataloaders
Traing and validation dataloaders.
fastertransformer/3rdparty/Megatron-LM/tasks/vision/finetune_utils.py:108
↓ 1 callersFunction_build_wikitext103_dataset
()
fastertransformer/3rdparty/Megatron-LM/tasks/zeroshot_gpt/datasets.py:142
↓ 1 callersFunction_cache_mem
cache hidden states into memory.
fastertransformer/examples/tensorflow/xlnet/modeling.py:205
↓ 1 callersFunction_check_arg_is_not_none
(args, arg)
fastertransformer/3rdparty/Megatron-LM/megatron/arguments.py:291
↓ 1 callersFunction_check_data_types
Check that all the keys have the same target data type.
fastertransformer/3rdparty/Megatron-LM/megatron/mpu/data.py:26
↓ 1 callersFunction_check_is_max_context
Check if this is the 'max context' doc span for the token.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/run_squad.py:513
↓ 1 callersFunction_check_is_max_context
Check if this is the 'max context' doc span for the token.
fastertransformer/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.
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/run_squad.py:402
↓ 1 callersMethod_checkpointed_forward
Forward method with activation checkpointing.
fastertransformer/3rdparty/Megatron-LM/megatron/model/transformer.py:623
↓ 1 callersMethod_clean_text
Performs invalid character removal and whitespace cleanup on text.
fastertransformer/3rdparty/Megatron-LM/megatron/tokenizer/bert_tokenization.py:318
↓ 1 callersMethod_clean_text
Performs invalid character removal and whitespace cleanup on text.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/tokenization.py:286
↓ 1 callersMethod_clean_text
Performs invalid character removal and whitespace cleanup on text.
fastertransformer/examples/tensorflow/bert/bert-quantization/tokenization.py:338
↓ 1 callersMethod_clean_text
Performs invalid character removal and whitespace cleanup on text.
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/tokenization.py:281
↓ 1 callersFunction_compile_dependencies
()
fastertransformer/3rdparty/Megatron-LM/megatron/initialize.py:94
↓ 1 callersMethod_compute_entropy_range
compute min/max value that minimizes KL-Divergence of the collected histogram and return a tuple of (min, max)
fastertransformer/examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/calibrator.py:176
↓ 1 callersMethod_compute_f1
(self, predicted_bag, gold_bag)
algorithm/lm_eval/tasks/drop.py:215
↓ 1 callersMethod_compute_mse_range
compute min/max value that minimizes MSE of the collected histogram and return a tuple of (min, max)
fastertransformer/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
fastertransformer/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.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/run_squad.py:1035
↓ 1 callersFunction_compute_softmax
Compute softmax probability over raw logits.
fastertransformer/examples/tensorflow/bert/bert-quantization/run_squad.py:924
↓ 1 callersMethod_copy_main_params_to_model_params
(self)
fastertransformer/3rdparty/Megatron-LM/megatron/optimizer/optimizer.py:379
↓ 1 callersMethod_copy_model_grads_to_main_grads
(self)
fastertransformer/3rdparty/Megatron-LM/megatron/optimizer/optimizer.py:310
↓ 1 callersMethod_copy_model_params_to_main_params
(self)
fastertransformer/3rdparty/Megatron-LM/megatron/optimizer/optimizer.py:386
↓ 1 callersMethod_create_auto_model
Returns a pre-trained pytorch model from a pre-trained model configuration.
algorithm/lm_eval/models/huggingface.py:190
↓ 1 callersMethod_create_auto_tokenizer
Returns a pre-trained tokenizer from a pre-trained tokenizer configuration.
algorithm/lm_eval/models/huggingface.py:212
↓ 1 callersFunction_create_build_dir
(buildpath)
fastertransformer/3rdparty/Megatron-LM/megatron/fused_kernels/__init__.py:110
↓ 1 callersFunction_create_mask
create causal attention mask.
fastertransformer/examples/tensorflow/xlnet/modeling.py:191
↓ 1 callersFunction_create_model_training_args_for_checkpoint_version_0
(args, model_00)
fastertransformer/examples/pytorch/gpt/utils/megatron_fp8_ckpt_convert.py:76
↓ 1 callersFunction_create_model_training_args_for_checkpoint_version_0
(args, model_00)
fastertransformer/examples/pytorch/gpt/utils/megatron_ckpt_convert.py:76
↓ 1 callersFunction_cudaGetErrorEnum
debug tools ********************************* */
fastertransformer/tests/unittests/fp8_gemm_test/worker.hpp:16
↓ 1 callersFunction_cvtsh_ss
fastertransformer/3rdparty/cutlass/include/cutlass/half.h:99
↓ 1 callersFunction_cvtss_sh
fastertransformer/3rdparty/cutlass/include/cutlass/half.h:111
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/fast_infer_util.py:51
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/run_squad.py:701
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/run_pretraining.py:391
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/run_classifier.py:521
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
fastertransformer/examples/tensorflow/bert/bert-quantization/run_squad.py:585
↓ 1 callersFunction_decode_record
Decodes a record to a TensorFlow example.
fastertransformer/examples/tensorflow/bert/bert-quantization/run_pretraining.py:481
← previousnext →2,101–2,200 of 14,558, ranked by callers