MCPcopy Create free account

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

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

↓ 1 callersMethodno_weight_decay_keywords
(self)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/models/swin_mlp.py:439
↓ 1 callersFunctionnormalize_question
(question)
fastertransformer/3rdparty/Megatron-LM/tasks/orqa/supervised/data.py:242
↓ 1 callersMethodnot_null
fastertransformer/3rdparty/cutlass/tools/profiler/src/problem_space.h:300
↓ 1 callersFunctionnp2th
(weights, is_conv=False)
fastertransformer/examples/pytorch/vit/VisionTransformerINT8WeightLoader.py:34
↓ 1 callersFunctionnum_gemm_k_filter_r
//////////////////////////////////////////////////////////// Methods used for strided dgrad implementation ///////////////////////////////////////////
fastertransformer/3rdparty/cutlass/include/cutlass/conv/conv2d_problem_size.h:306
↓ 1 callersFunctionnum_gemm_k_filter_s
Number of filter s positions to accumulate in gemm-k dim
fastertransformer/3rdparty/cutlass/include/cutlass/conv/conv2d_problem_size.h:312
↓ 1 callersFunctionnvidia_smi_memory_info
()
algorithm/parallel_utils.py:26
↓ 1 callersFunctionop_decoder
Run the decoder transformer layer by FasterTransformer. Args: inputs: A tf.Tensor with shape [batch_size * beam_width, 1, hidden
fastertransformer/examples/tensorflow/decoder/utils/decoder.py:329
↓ 1 callersMethodoperand_A_ref
Returns a TensorRef to the A operand
fastertransformer/3rdparty/cutlass/examples/13_two_tensor_op_fusion/threadblock/b2b_mma_base.h:174
↓ 1 callersMethodoperand_A_ref
Returns a TensorRef to the A operand
fastertransformer/3rdparty/cutlass/examples/43_dual_gemm/threadblock/dual_mma_base.h:162
↓ 1 callersMethodoperand_A_ref
Returns a TensorRef to the A operand
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/threadblock/mma_planar_complex_base.h:158
↓ 1 callersMethodoperand_A_ref
Returns a TensorRef to the A operand
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/threadblock/mma_base.h:186
↓ 1 callersMethodoperand_A_ref
Returns a TensorRef to the A operand
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/threadblock/mma_softmax_mainloop_fusion_multistage.h:159
↓ 1 callersMethodoperand_A_ref
Returns a TensorRef to the A operand
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/threadblock/mma_sparse_base.h:212
↓ 1 callersMethodoperand_A_ref
Returns a TensorRef to the A operand
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/threadblock/mma_layernorm_mainloop_fusion_multistage.h:194
↓ 1 callersMethodoperand_A_ref
Returns a TensorRef to the A operand
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/implicit_gemm_fprop_fusion_multistage.h:215
↓ 1 callersMethodoperand_A_ref
Returns a TensorRef to the A operand
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/implicit_gemm_wgrad_fusion_multistage.h:199
↓ 1 callersMethodoperand_A_ref
Returns a TensorRef to the A operand
fastertransformer/src/fastertransformer/cutlass_extensions/include/cutlass_extensions/gemm/threadblock/dq_mma_base.h:187
↓ 1 callersMethodoperator()
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/thread/activation.h:174
↓ 1 callersMethodoperator++
fastertransformer/3rdparty/cutlass/include/cutlass/transform/threadblock/regular_tile_access_iterator_pitch_linear.h:394
↓ 1 callersFunctionorqa
(Dataset)
fastertransformer/3rdparty/Megatron-LM/tasks/orqa/supervised/finetune.py:58
↓ 1 callersFunctionpad_and_convert_to_numpy
Pad sequences and convert them to numpy.
fastertransformer/3rdparty/Megatron-LM/megatron/data/t5_dataset.py:160
↓ 1 callersFunctionpad_and_convert_to_numpy
Pad sequences and convert them to numpy.
fastertransformer/3rdparty/Megatron-LM/megatron/data/bert_dataset.py:165
↓ 1 callersFunctionpad_n_with_identity
Pads each input tensors with identity values up to ``max(sequence_lengths)`` for each batch. Args: inputs: A list of ``tf.Tensor``.
fastertransformer/examples/tensorflow/bert/utils/reducer.py:62
↓ 1 callersFunctionpad_n_with_identity
Pads each input tensors with identity values up to ``max(sequence_lengths)`` for each batch. Args: inputs: A list of ``tf.Tensor``.
fastertransformer/examples/tensorflow/decoder/utils/reducer.py:62
↓ 1 callersFunctionpad_n_with_identity
Pads each input tensors with identity values up to ``max(sequence_lengths)`` for each batch. Args: inputs: A list of ``tf.Tensor``.
fastertransformer/examples/tensorflow/common_utils/reducer.py:62
↓ 1 callersFunctionpad_with_identity
Pads a tensor with identity values up to :obj:`max_sequence_length`. Args: x: A ``tf.Tensor`` of shape ``[batch_size, time, depth]``.
fastertransformer/examples/tensorflow/bert/utils/reducer.py:32
↓ 1 callersFunctionpad_with_identity
Pads a tensor with identity values up to :obj:`max_sequence_length`. Args: x: A ``tf.Tensor`` of shape ``[batch_size, time, depth]``.
fastertransformer/examples/tensorflow/decoder/utils/reducer.py:32
↓ 1 callersFunctionpad_with_identity
Pads a tensor with identity values up to :obj:`max_sequence_length`. Args: x: A ``tf.Tensor`` of shape ``[batch_size, time, depth]``.
fastertransformer/examples/tensorflow/common_utils/reducer.py:32
↓ 1 callersMethodparse_answer
(cls, answer)
algorithm/lm_eval/tasks/drop.py:102
↓ 1 callersFunctionparse_args
()
algorithm/generate_act_scale_shift.py:119
↓ 1 callersFunctionparse_args
Parse all arguments.
fastertransformer/3rdparty/Megatron-LM/megatron/arguments.py:23
↓ 1 callersFunctionparse_args
(parser=argparse.ArgumentParser())
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/run_glue.py:159
↓ 1 callersFunctionparse_arguments
()
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/run_pretraining.py:139
↓ 1 callersFunctionparse_option
()
fastertransformer/examples/tensorrt/vit/infer_visiontransformer_plugin.py:53
↓ 1 callersFunctionparse_option
()
fastertransformer/examples/tensorrt/vit/infer_visiontransformer_int8_plugin.py:58
↓ 1 callersFunctionparse_option
()
fastertransformer/examples/tensorrt/swin/builder.py:33
↓ 1 callersFunctionparse_option
()
fastertransformer/examples/tensorrt/swin/infer_swintransformer_plugin_int8.py:38
↓ 1 callersFunctionparse_option
()
fastertransformer/examples/tensorrt/swin/builder_int8.py:34
↓ 1 callersFunctionparse_option
()
fastertransformer/examples/tensorrt/swin/infer_swintransformer_plugin.py:53
↓ 1 callersFunctionparse_option
()
fastertransformer/examples/pytorch/vit/infer_visiontransformer_int8_op.py:61
↓ 1 callersFunctionparse_option
()
fastertransformer/examples/pytorch/vit/infer_visiontransformer_op.py:48
↓ 1 callersFunctionparse_option
()
fastertransformer/examples/pytorch/vit/ViT-quantization/main.py:327
↓ 1 callersFunctionparse_option
()
fastertransformer/examples/pytorch/vit/ViT-quantization/eval_engine.py:432
↓ 1 callersFunctionparse_option
()
fastertransformer/examples/pytorch/swin/infer_swintransformer_int8_op.py:42
↓ 1 callersFunctionparse_option
()
fastertransformer/examples/pytorch/swin/infer_swintransformer_acc.py:67
↓ 1 callersFunctionparse_option
()
fastertransformer/examples/pytorch/swin/infer_swintransformer_op.py:37
↓ 1 callersFunctionparse_option
()
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/main.py:67
↓ 1 callersFunctionparse_option
()
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/main_moe.py:37
↓ 1 callersFunctionparse_option
()
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/main.py:33
↓ 1 callersMethodparticipates_in_reduction
Returns true if the threadblock computes the reduction
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/thread/linear_combination_drelu.h:154
↓ 1 callersMethodpass_binary_2_unary
(self, tree, nid)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/parser.py:440
↓ 1 callersMethodpass_inject_epilogue_op
(self, tree, nid)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/parser.py:512
↓ 1 callersMethodpass_inject_reduction
(self, tree, nid)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/parser.py:474
↓ 1 callersFunctionpattern_match
(patterns, source_list)
algorithm/lm_eval/evaluator.py:11
↓ 1 callersMethodper_token_dynamic_calibration
(self, x)
algorithm/quantize/quantizer.py:149
↓ 1 callersFunctionpermute_B_rows_for_mixed_gemm
Permutes the rows of B for Turing and Ampere. Throws an error for other architectures. The data is permuted such that: For int8, each group of 16 rows
fastertransformer/src/fastertransformer/kernels/cutlass_kernels/cutlass_preprocessors.cc:139
↓ 1 callersMethodplan
(self, arguments: Conv2dArguments)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/conv2d_operation.py:329
↓ 1 callersMethodplan
(self, arguments: ReductionArguments)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/reduction_operation.py:218
↓ 1 callersFunctionpop_quant_desc_in_kwargs
Pop quant descriptors in kwargs If there is no descriptor in kwargs, the default one in quant_cls will be used Arguments: quant_cls: A class
fastertransformer/examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/layers/utils.py:52
↓ 1 callersFunctionpopulate_request
fastertransformer/examples/cpp/multi_gpu_gpt/gpt_example_utils.cc:330
↓ 1 callersMethodpossibly_transpose_problem
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/kernel/grouped_problem_visitor.h:158
↓ 1 callersFunctionpost_language_model_processing
(lm_output, labels, logit_weights, parallel_output,
fastertransformer/3rdparty/Megatron-LM/megatron/model/gpt_model.py:31
↓ 1 callersFunctionpost_language_model_processing
(lm_output, pooled_output, lm_head, binary_head,
fastertransformer/3rdparty/Megatron-LM/megatron/model/bert_model.py:99
↓ 1 callersFunctionpostprocess_predictions
(all_predictions, all_labels, args)
fastertransformer/3rdparty/Megatron-LM/tasks/ensemble_classifier.py:79
↓ 1 callersMethodprecompute
Precomputes scheduling information for the grouped GEMM
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/device/base_grouped.h:145
↓ 1 callersFunctionpreds_and_labels_to_text
(tokenizer, preds, labels)
fastertransformer/examples/pytorch/t5/mnli_task_example.py:59
↓ 1 callersFunctionpreds_and_labels_to_text
(tokenizer, preds, labels)
fastertransformer/examples/pytorch/t5/xnli_task_example.py:74
↓ 1 callersFunctionprefetch
fastertransformer/3rdparty/cutlass/examples/42_fused_multi_head_attention/iterators/epilogue_predicated_tile_iterator.h:290
↓ 1 callersMethodprefetch
(self, indices)
fastertransformer/3rdparty/Megatron-LM/megatron/data/indexed_dataset.py:222
↓ 1 callersFunctionprefix_prompt_convert
(args, config, weight_data_type)
fastertransformer/examples/pytorch/gptneox/utils/huggingface_jp_gptneox_convert.py:34
↓ 1 callersFunctionprepareRequest
fastertransformer/examples/cpp/multi_gpu_gpt/multi_gpu_gpt_triton_example.cc:212
↓ 1 callersFunctionprepareRequest
fastertransformer/examples/cpp/llamaV2/llamaV2_triton_example.cc:221
↓ 1 callersFunctionprepareRequest
fastertransformer/examples/cpp/gptneox/gptneox_triton_example.cc:221
↓ 1 callersFunctionprepareRequest
fastertransformer/examples/cpp/gpt_fp8/gpt_fp8_triton_example.cc:182
↓ 1 callersFunctionprepareRequest
fastertransformer/examples/cpp/gptj/gptj_triton_example.cc:228
↓ 1 callersFunctionprepare_input_for_response_generation
Preparing inputs for the response generation
fastertransformer/3rdparty/Megatron-LM/tasks/msdp/preprocessing.py:547
↓ 1 callersFunctionprepare_model_and_optimizer
(args, device)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/run_pretraining.py:358
↓ 1 callersFunctionpreprocess_text
(inputs, lower=False, remove_space=True, keep_accents=False)
fastertransformer/examples/tensorflow/xlnet/convertInput.py:330
↓ 1 callersFunctionpreprocess_tokenized_text
converts an example into a feature
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/inference.py:57
↓ 1 callersFunctionpreprocess_weights_for_mixed_gemm
fastertransformer/src/fastertransformer/kernels/cutlass_kernels/cutlass_preprocessors.cc:500
↓ 1 callersFunctionprintBatchPerfStructure
fastertransformer/src/fastertransformer/utils/gemm_test/encoder_igemm_func.cc:133
↓ 1 callersFunctionprintPerfStructure
Utility function to print customMatmulPerf_t structure
fastertransformer/src/fastertransformer/utils/gemm_test/encoder_igemm_func.cc:68
↓ 1 callersMethodprint_csv
Pretty-prints the layout to the console
fastertransformer/3rdparty/cutlass/examples/03_visualize_layout/visualize_layout.h:343
↓ 1 callersFunctionprint_layout
engine/gen_layout.cpp:29
↓ 1 callersMethodprint_problem_size
(self, p, mode, batch_count)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/test/gemm_testbed.py:206
↓ 1 callersMethodprint_problem_size
(self, p)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/test/gemm_grouped_testbed.py:104
↓ 1 callersMethodprint_problem_size
(self, p, split_k_mode=1)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/test/conv2d_testbed.py:209
↓ 1 callersFunctionprint_quant_summary
Print summary of all quantizer modules in the model.
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/quant_utils.py:187
↓ 1 callersMethodproblem_index
Gets the index of the problem
fastertransformer/src/fastertransformer/cutlass_extensions/include/cutlass_extensions/gemm/kernel/moe_problem_visitor.h:137
↓ 1 callersMethodprocedural_name
The full procedural name indicates architecture, extended name, tile size, and layout.
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/conv2d_operation.py:448
↓ 1 callersMethodprocess
inputs: total_probs: float tensor, [batch_size * beam_width, vocab_size] beam_width: int scalar outp
fastertransformer/examples/tensorflow/decoder/utils/beam_search.py:86
↓ 1 callersFunctionprocess_batch
Process batch and produce inputs for the model.
fastertransformer/3rdparty/Megatron-LM/tasks/zeroshot_gpt/evaluate.py:64
↓ 1 callersFunctionprocess_batch
Process batch and produce inputs for the model.
fastertransformer/examples/pytorch/gpt/evaluate_zeroshot_gpt.py:157
↓ 1 callersFunctionprocess_by_model_param
Process conversion parameter by parameter.
fastertransformer/examples/pytorch/gpt/utils/huggingface_bloom_convert.py:382
↓ 1 callersFunctionprocess_by_model_shard
Process conversion shard by shard. Benchmarks @ 64C(Intel Xeon 6326 2.90GH) x 756G: | model | format | by-shard | nproc
fastertransformer/examples/pytorch/gpt/utils/huggingface_bloom_convert.py:431
↓ 1 callersFunctionprocess_files
(args)
fastertransformer/3rdparty/Megatron-LM/tasks/ensemble_classifier.py:9
↓ 1 callersFunctionprocess_nq_batch
(batch)
fastertransformer/3rdparty/Megatron-LM/tasks/orqa/unsupervised/nq.py:44
↓ 1 callersMethodprocess_results
Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of
algorithm/lm_eval/base.py:535
↓ 1 callersMethodprocess_samples_from_single_path
(filename)
fastertransformer/3rdparty/Megatron-LM/megatron/data/orqa_wiki_dataset.py:176
← previousnext →3,301–3,400 of 14,558, ranked by callers