MCPcopy Create free account

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

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

↓ 1 callersFunctionevaluate
(dataset, predictions)
fastertransformer/examples/tensorflow/bert/tensorflow_bert/squad_evaluate-v1.1.py:68
↓ 1 callersFunctionevaluate
(dataset, predictions)
fastertransformer/examples/tensorflow/bert/tensorflow_bert/squad_evaluate_v1_1.py:68
↓ 1 callersFunctionevaluate
(args, model, tokenizer, prefix="")
fastertransformer/examples/pytorch/bert/run_squad.py:58
↓ 1 callersFunctionevaluate
(args, model, tokenizer, prefix="")
fastertransformer/examples/pytorch/bert/run_glue.py:58
↓ 1 callersFunctionevaluate
Evaluation.
fastertransformer/examples/pytorch/gpt/evaluate_zeroshot_gpt.py:244
↓ 1 callersFunctionevaluate_and_print_results
Evaluate and print results on screen.
fastertransformer/3rdparty/Megatron-LM/tasks/zeroshot_gpt/evaluate.py:154
↓ 1 callersFunctionevaluate_and_print_results
Evaluate and print results on screen.
fastertransformer/examples/pytorch/gpt/evaluate_zeroshot_gpt.py:270
↓ 1 callersFunctionevaluate_f1
Evaluating F1 Score
fastertransformer/3rdparty/Megatron-LM/tasks/msdp/evaluate.py:24
↓ 1 callersFunctionexport_key_name
(key)
fastertransformer/examples/tensorflow/t5/utils/tf_saved_model_t5_ckpt_convert.py:59
↓ 1 callersFunctionexport_key_name
(key)
fastertransformer/examples/tensorflow/t5/utils/jax_t5_ckpt_convert.py:41
↓ 1 callersFunctionexport_model
Exports a checkpoint in SavedModel format in a directory structure compatible with TRTIS.
fastertransformer/examples/tensorflow/bert/bert-quantization/run_squad.py:977
↓ 1 callersMethodextended_name
Append data types if they differ from compute type.
fastertransformer/3rdparty/cutlass/tools/library/scripts/rank_k_operation.py:101
↓ 1 callersMethodextended_name
Append data types if they differ from compute type.
fastertransformer/3rdparty/cutlass/tools/library/scripts/gemm_operation.py:96
↓ 1 callersMethodextended_name
Append data types if they differ from compute type.
fastertransformer/3rdparty/cutlass/tools/library/scripts/trmm_operation.py:99
↓ 1 callersMethodextended_name
Append data types if they differ from compute type.
fastertransformer/3rdparty/cutlass/tools/library/scripts/conv2d_operation.py:69
↓ 1 callersMethodextended_name
Append data types if they differ from compute type.
fastertransformer/3rdparty/cutlass/tools/library/scripts/symm_operation.py:103
↓ 1 callersMethodextended_name
Append data types if they differ from compute type.
fastertransformer/3rdparty/cutlass/tools/library/scripts/rank_2k_operation.py:103
↓ 1 callersMethodextended_name
Append data types if they differ from compute type.
fastertransformer/3rdparty/cutlass/tools/library/scripts/conv3d_operation.py:53
↓ 1 callersMethodextended_name
Append data types if they differ from compute type.
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/gemm_operation.py:877
↓ 1 callersMethodextended_name
Append data types if they differ from compute type.
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/conv2d_operation.py:482
↓ 1 callersMethodextended_name
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/reduction_operation.py:291
↓ 1 callersMethodextent
fastertransformer/3rdparty/cutlass/include/cutlass/thread/matrix.h:120
↓ 1 callersFunctionextention_is_in_blacklist
(url)
fastertransformer/3rdparty/Megatron-LM/tools/openwebtext/blacklist_urls.py:214
↓ 1 callersFunctionextract_flags
()
fastertransformer/examples/tensorflow/bert/bert-quantization/utils/create_squad_data.py:34
↓ 1 callersFunctionf1_score
(items)
algorithm/lm_eval/metrics.py:39
↓ 1 callersMethodfaiss_wrapper
(self)
fastertransformer/3rdparty/Megatron-LM/tasks/orqa/evaluate_utils.py:67
↓ 1 callersMethodfake_quant
(self, x, scale, round_zero_point)
algorithm/quantize/quantizer.py:111
↓ 1 callersFunctionfake_quantize
Universal tensor fake quantization function Args: inputs: A Tensor of dtype float32. quant_min: Scalar (0-d Tensor), 1-d Tensor or None
fastertransformer/examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/ops/fake_quantize.py:25
↓ 1 callersFunctionfake_quantize_core
(inputs, quant_min, quant_max)
fastertransformer/examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/ops/fake_quantize.py:88
↓ 1 callersFunctionfbeta
Multi-class fbeta metric for Tensorflow Parameters ---------- labels : Tensor of tf.int32 or tf.int64 The true labels pre
fastertransformer/examples/tensorflow/bert/bert-quantization/tf_metrics.py:97
↓ 1 callersMethodfewshot_context
Returns a fewshot context string that is made up of a prepended description (if provided), the `num_fewshot` number of examples, and an append
algorithm/lm_eval/base.py:576
↓ 1 callersMethodfewshot_context
( self, doc, num_fewshot, provide_description=None, rnd=None, description=None )
algorithm/lm_eval/tasks/truthfulqa.py:228
↓ 1 callersMethodfewshot_examples
(self, k, rnd)
algorithm/lm_eval/base.py:500
↓ 1 callersFunctionfieldTypeToDataType
fastertransformer/src/fastertransformer/tensorrt_plugin/swin/swinTransformerINT8Plugin.h:41
↓ 1 callersFunctionfieldTypeToDataType
fastertransformer/src/fastertransformer/tensorrt_plugin/swin/swinTransformerPlugin.h:41
↓ 1 callersFunctionfile_based_convert_examples_to_npz
Convert a set of `InputExample`s to a NPZ file.
fastertransformer/examples/tensorflow/xlnet/convertInput.py:506
↓ 1 callersMethodfill_mode_name
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/rank_k_operation.py:132
↓ 1 callersMethodfill_mode_name
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/trmm_operation.py:135
↓ 1 callersMethodfill_mode_name
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/symm_operation.py:138
↓ 1 callersMethodfill_mode_name
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/rank_2k_operation.py:134
↓ 1 callersFunctionfilter_corpus
(filename, out_filename, print_interval=10000)
fastertransformer/3rdparty/Megatron-LM/tools/openwebtext/cleanup_dataset.py:45
↓ 1 callersMethodfilter_out_kernels
(self, kernel_name, kernel_filter_list)
fastertransformer/3rdparty/cutlass/tools/library/scripts/manifest.py:250
↓ 1 callersFunctionfinalize
(beam_width, parent_ids, sequence_lengths, outputs, end_id, max_seq_len=None)
fastertransformer/examples/tensorflow/decoder/utils/decoding.py:76
↓ 1 callersFunctionfinalize
(beam_size, output_ids, parent_ids, out_seq_lens, end_id, max_seq_len=None, args=None)
fastertransformer/examples/pytorch/decoding/utils/decoding.py:184
↓ 1 callersMethodfinalize
(self, index_file)
fastertransformer/3rdparty/Megatron-LM/megatron/data/indexed_dataset.py:314
↓ 1 callersFunctionfind_classes
(dir)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/data/cached_image_folder.py:29
↓ 1 callersFunctionfind_context_duplications
Results a tensor of {batch_to_compact_idx, compact_to_batch_idx}
fastertransformer/src/fastertransformer/th_op/common/GptOps.cc:26
↓ 1 callersFunctionfind_log2
fastertransformer/3rdparty/cutlass/include/cutlass/fast_math.h:202
↓ 1 callersFunctionfind_log_2
fastertransformer/3rdparty/fp8_qgmma_1x1/utils.h:393
↓ 1 callersFunctionfind_pair_urls_parallel
(args, lshcache, url_doc)
fastertransformer/3rdparty/Megatron-LM/tools/openwebtext/find_duplicates.py:132
↓ 1 callersFunctionfind_pair_urls_sequential
(args, lshcache, url_doc)
fastertransformer/3rdparty/Megatron-LM/tools/openwebtext/find_duplicates.py:163
↓ 1 callersFunctionfind_test_root
Search upward in the directory tree to a maximum of three layers to find and return the package root (containing the 'tests' folder)
algorithm/lm_eval/utils.py:166
↓ 1 callersFunctionfinish_mpu_init
()
fastertransformer/3rdparty/Megatron-LM/megatron/initialize.py:57
↓ 1 callersMethodfix_a_slash_b
(self, string)
algorithm/lm_eval/tasks/hendrycks_math.py:178
↓ 1 callersMethodfix_fracs
(self, string)
algorithm/lm_eval/tasks/hendrycks_math.py:147
↓ 1 callersFunctionfix_key
(s)
fastertransformer/examples/pytorch/decoding/decoding_example.py:111
↓ 1 callersFunctionfix_key
(s)
fastertransformer/examples/pytorch/decoding/utils/translation_model.py:191
↓ 1 callersMethodfix_sqrt
(self, string)
algorithm/lm_eval/tasks/hendrycks_math.py:201
↓ 1 callersMethodflatten_recursive
Flattens (potentially nested) a tuple/dictionary/list to a list.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/modeling_test.py:257
↓ 1 callersFunctionfloat16_to_fp32
Convert fp16/bf16 `val` to fp32
fastertransformer/3rdparty/Megatron-LM/megatron/model/module.py:153
↓ 1 callersMethodflops
(self, problem_size, batch_count=1)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/test/gemm_testbed.py:319
↓ 1 callersMethodflops
(self, problem_size)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/test/conv2d_testbed.py:256
↓ 1 callersFunctionfma
fastertransformer/tests/unittests/gtest_utils.h:154
↓ 1 callersFunctionformat_mrpc
(mrpc_dir)
fastertransformer/examples/pytorch/bert/utils/get_mrpc_data.py:26
↓ 1 callersMethodforward
(self, input_ids, attention_mask, inputs_embeds, beam_size, max_seq_len, top_k, top_p, beam_se
fastertransformer/examples/pytorch/bart/utils/ft_decoding.py:327
↓ 1 callersMethodforward
(self, src, mask)
fastertransformer/examples/pytorch/encoder/utils/ft_encoder.py:141
↓ 1 callersMethodforward
(self, start_ids: torch.Tensor, start_lengths: torch.Tensor, o
fastertransformer/examples/pytorch/llama2/llamav2.py:280
↓ 1 callersMethodforward
(self, input_token, inputs_embeds, beam_size, max_seq_len, top_k, top_p, beam_search_diversity
fastertransformer/examples/pytorch/t5/utils/ft_decoding.py:494
↓ 1 callersMethodforward
(self, start_ids: torch.Tensor, start_lengths: torch.Tensor, o
fastertransformer/examples/pytorch/baichuan2/baichuanv2.py:282
↓ 1 callersMethodforward_features
(self, x)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/models/swin_transformer_moe.py:794
↓ 1 callersMethodforward_features
(self, x)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/models/swin_transformer.py:588
↓ 1 callersMethodforward_features
(self, x)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/models/swin_transformer_v2.py:607
↓ 1 callersMethodforward_features
(self, x)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/models/swin_transformer.py:624
↓ 1 callersMethodforward_features
(self, x)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/models/swin_transformer_v2.py:666
↓ 1 callersMethodforward_fused_softmax
(self, input, mask)
fastertransformer/3rdparty/Megatron-LM/megatron/model/fused_softmax.py:186
↓ 1 callersFunctionforward_hook_wrapper
(gpu_id)
algorithm/parallel_utils.py:149
↓ 1 callersFunctionforward_step
Forward step.
fastertransformer/3rdparty/Megatron-LM/tasks/zeroshot_gpt/evaluate.py:85
↓ 1 callersFunctionforward_step
Forward step.
fastertransformer/examples/pytorch/gpt/evaluate_zeroshot_gpt.py:178
↓ 1 callersMethodforward_torch_softmax
(self, input, mask)
fastertransformer/3rdparty/Megatron-LM/megatron/model/fused_softmax.py:204
↓ 1 callersFunctionfp32_to_float16
Convert fp32 `val` to fp16/bf16
fastertransformer/3rdparty/Megatron-LM/megatron/model/module.py:141
↓ 1 callersFunctionfreeResources
fastertransformer/tests/unittests/fp8_gemm_test/worker.cpp:72
↓ 1 callersFunctionfreeResources
fastertransformer/tests/unittests/fp8_gemm_test/2022_03_21__fp8_stride_batch_example/worker.cpp:24
↓ 1 callersMethodfrom_dict
Constructs a `BertConfig` from a Python dictionary of parameters.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/my_modeling.py:86
↓ 1 callersMethodfrom_dict
Constructs a `BertConfig` from a Python dictionary of parameters.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/modeling.py:83
↓ 1 callersMethodfrom_dict
Constructs a `BertConfig` from a Python dictionary of parameters.
fastertransformer/examples/tensorflow/bert/bert-quantization/modeling.py:88
↓ 1 callersMethodfrom_dict
Constructs a `BertConfig` from a Python dictionary of parameters.
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/modeling.py:278
↓ 1 callersFunctionfrom_hf_longformer_weight_to_ft
(weights_file, layer_num, data_type)
fastertransformer/examples/pytorch/longformer/model.py:7
↓ 1 callersMethodfrom_nemo_package
( cls, *, args: argparse.Namespace, nemo_model_config: typing.Dict[str, typing
fastertransformer/examples/pytorch/gpt/utils/gpt.py:841
↓ 1 callersFunctionftNcclGetUniqueId
fastertransformer/src/fastertransformer/utils/nccl_utils.cc:275
↓ 1 callersFunctionft_gpt_op
Run the decoding with sampling by FasterTransformer. Args: decoder_vars: A list of tf.Tensor. The variables for decoding. A list of model
fastertransformer/examples/tensorflow/gpt/gpt_example.py:207
↓ 1 callersFunctionftt5_decoding
(mem_hidden_states, mem_seq_len, decoding_params, max_seq_len, beam_width, top_k = 1, top_p = 0.0,
fastertransformer/examples/tensorflow/t5/utils/ft_decoding.py:212
↓ 1 callersFunctionftt5_encoder
(inputs, seq_len, encoder_params)
fastertransformer/examples/tensorflow/t5/utils/ft_encoder.py:168
↓ 1 callersFunctionfuse_decoder_qkv
(model, factor, saved_dir)
fastertransformer/examples/tensorrt/t5/extractT5ModelToBIN.py:26
↓ 1 callersFunctionfuse_decoder_qkv
(model_dict, num_layers, dtype, saved_dir, tensor_para)
fastertransformer/examples/tensorflow/t5/utils/tf_saved_model_t5_ckpt_convert.py:217
↓ 1 callersFunctionfuse_decoder_qkv
(model, factor, saved_dir, np_weight_data_type)
fastertransformer/examples/pytorch/t5/utils/huggingface_t5_ckpt_convert.py:49
↓ 1 callersFunctionfusedQKV_masked_attention_dispatch
fastertransformer/src/fastertransformer/layers/attention_layers/DecoderSelfAttentionLayer.cc:36
↓ 1 callersFunctionfused_layer_norm
(inputs, center=True, scale=True, activation_fn=None,
fastertransformer/examples/tensorflow/bert/bert-quantization/fused_layer_norm.py:34
↓ 1 callersMethodfused_layer_norm
(self, x)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/modeling.py:343
↓ 1 callersFunctiongather_from_tensor_model_parallel_region
(input_)
fastertransformer/3rdparty/Megatron-LM/megatron/mpu/mappings.py:156
↓ 1 callersFunctiongather_indexes
Gathers the vectors at the specific positions over a minibatch.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/run_pretraining.py:308
← previousnext →2,701–2,800 of 14,558, ranked by callers