MCPcopy Create free account

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

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

Method_process_doc
(self, doc)
algorithm/lm_eval/tasks/hendrycks_ethics.py:355
Method_process_doc
(self, doc)
algorithm/lm_eval/tasks/hendrycks_math.py:49
Method_process_doc
(self, doc)
algorithm/lm_eval/tasks/toxigen.py:62
Method_process_doc
(self, doc)
algorithm/lm_eval/tasks/openbookqa.py:55
Method_process_doc
(self, doc)
algorithm/lm_eval/tasks/logiqa.py:55
Method_process_doc
(self, doc)
algorithm/lm_eval/tasks/swag.py:50
Method_process_doc
(self, doc)
algorithm/lm_eval/tasks/prost.py:65
Method_process_doc
(self, doc)
algorithm/lm_eval/tasks/wikitext.py:85
Method_process_doc
(self, doc)
algorithm/lm_eval/tasks/quac.py:53
Method_process_doc
(self, doc)
algorithm/lm_eval/tasks/mathqa.py:52
Function_project_and_split
()
fastertransformer/examples/tensorflow/decoder/utils/decoder.py:194
Function_prologue
fastertransformer/3rdparty/cutlass/examples/42_fused_multi_head_attention/gemm/custom_mma_multistage.h:369
Method_recursive_map
(struct, batch_dim=0, use_batch_major_op_cache=False)
fastertransformer/examples/pytorch/decoding/utils/decoding.py:299
Method_safe_load_from_bin
(param: torch.nn.Parameter, fname)
fastertransformer/examples/pytorch/gpt/utils/gpt_decoder.py:885
Method_safe_load_lm_head_from_bin
(param, fname, ctype)
fastertransformer/examples/pytorch/gpt/utils/gpt_decoder.py:893
Method_set_param_groups
(self, value)
fastertransformer/3rdparty/Megatron-LM/megatron/optimizer/optimizer.py:163
Method_set_state
(self, value)
fastertransformer/3rdparty/Megatron-LM/megatron/optimizer/optimizer.py:151
Method_shape
(self, tensor: torch.Tensor, seq_len: int, bsz: int)
algorithm/models/int_llama_layer.py:103
Method_skip
(gram)
fastertransformer/3rdparty/Megatron-LM/tasks/orqa/unsupervised/tokenizers.py:102
Method_split_generators
(self, dl_manager)
algorithm/lm_eval/datasets/triviaqa/triviaqa.py:95
Method_split_generators
(self, dl_manager)
algorithm/lm_eval/datasets/quac/quac.py:80
Method_split_generators
(self, dl_manager)
algorithm/lm_eval/datasets/drop/drop.py:120
Method_split_generators
(self, dl_manager)
algorithm/lm_eval/datasets/logiqa/logiqa.py:79
Method_split_generators
(self, dl_manager)
algorithm/lm_eval/datasets/sat_analogies/sat_analogies.py:86
Method_split_generators
(self, dl_manager)
algorithm/lm_eval/datasets/hendrycks_math/hendrycks_math.py:84
Method_split_generators
(self, dl_manager)
algorithm/lm_eval/datasets/coqa/coqa.py:159
Method_split_generators
(self, dl_manager)
algorithm/lm_eval/datasets/mutual/mutual.py:80
Method_split_generators
(self, dl_manager)
algorithm/lm_eval/datasets/hendrycks_ethics/hendrycks_ethics.py:145
Method_split_generators
Returns SplitGenerators.
algorithm/lm_eval/datasets/headqa/headqa.py:102
Method_split_generators
(self, dl_manager)
algorithm/lm_eval/datasets/unscramble/unscramble.py:88
Method_split_generators
(self, dl_manager)
algorithm/lm_eval/datasets/pile/pile.py:99
Method_split_generators
(self, dl_manager)
algorithm/lm_eval/datasets/asdiv/asdiv.py:83
Function_squad_agg
(key, items)
algorithm/lm_eval/tasks/squad.py:40
Function_symmetric_quantize_last_axis_of_batched_matrix
Same as symmetric_quantize_last_axis_of_batched_matrix but returns a tuple of: (unprocessed_quantized_weights, preprocessed_quantized_weights, scales)
fastertransformer/src/fastertransformer/th_op/common/WeightOnlyQuantOps.cc:232
Function_tf_body
(from_tensor)
fastertransformer/examples/tensorflow/encoder/encoder_example.py:178
Function_tf_body
(from_tensor)
fastertransformer/examples/tensorflow/bert/bert_example.py:169
Function_update_config_from_file
(config, cfg_file)
fastertransformer/examples/pytorch/vit/ViT-quantization/config.py:172
Function_wrapper
(*args, **kwargs)
algorithm/lm_eval/utils.py:153
Methodabq_parameters
(self, use_shift=True)
algorithm/models/int_opt_layer.py:434
Methodabq_parameters
(self, use_shift=True)
algorithm/models/int_falcon_layer.py:378
Methodabq_parameters
(self, use_shift=True)
algorithm/models/int_llama_layer.py:354
Methodabq_state_dict
(self, destination=None, prefix='', keep_vars=False)
algorithm/models/int_opt_layer.py:442
Methodabq_state_dict
(self, destination=None, prefix='', keep_vars=False)
algorithm/models/int_falcon_layer.py:386
Methodabq_state_dict
(self, destination=None, prefix='', keep_vars=False)
algorithm/models/int_llama_layer.py:362
Functionabs
std::abs
fastertransformer/3rdparty/cutlass/include/cutlass/platform/platform.h:194
Functionacc_all
(items)
algorithm/lm_eval/metrics.py:48
Functionacc_all_stderr
(items)
algorithm/lm_eval/metrics.py:67
MethodaccumApplyLSEToSmem
fastertransformer/3rdparty/cutlass/examples/42_fused_multi_head_attention/mma_from_smem.h:1412
MethodaccumApplyLSEToSmem
fastertransformer/3rdparty/cutlass/examples/42_fused_multi_head_attention/mma_from_smem.h:1592
MethodaccumApplyLSEToSmem
fastertransformer/3rdparty/cutlass/examples/42_fused_multi_head_attention/mma_from_smem.h:1732
MethodaccumToSmem
fastertransformer/3rdparty/cutlass/examples/42_fused_multi_head_attention/mma_from_smem.h:1397
MethodaccumToSmem
fastertransformer/3rdparty/cutlass/examples/42_fused_multi_head_attention/mma_from_smem.h:1511
MethodaccumToSmem
fastertransformer/3rdparty/cutlass/examples/42_fused_multi_head_attention/mma_from_smem.h:1681
Methodaccum_ref
fastertransformer/3rdparty/cutlass/examples/13_two_tensor_op_fusion/threadblock/b2b_mma_base_smem_accumulator.h:139
Functionaccuracy
(out, labels)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/run_glue.py:116
Functionaccuracy_func_provider
Provide function that calculates accuracies.
fastertransformer/3rdparty/Megatron-LM/tasks/eval_utils.py:32
MethodacquireReader
engine/common/base.h:73
MethodacquireReader
algorithm/ABQ/csrc/common/base.h:73
MethodacquireReader
fastertransformer/src/fastertransformer/kernels/abqgemm/common/base.h:73
MethodacquireWriter
engine/common/base.h:64
MethodacquireWriter
algorithm/ABQ/csrc/common/base.h:64
MethodacquireWriter
fastertransformer/src/fastertransformer/kernels/abqgemm/common/base.h:64
Methodactivation
Methods Returns Activation TensorDescription
fastertransformer/3rdparty/cutlass/tools/library/include/cutlass/library/library.h:775
Functionactivation_size
Returns activation size in number of elements
fastertransformer/3rdparty/cutlass/include/cutlass/conv/conv3d_problem_size.h:257
Functionactivation_size
Returns activation size in number of elements
fastertransformer/3rdparty/cutlass/include/cutlass/conv/conv2d_problem_size.h:261
Methodadd
Elementwise add operator (1-by-3)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:859
Methodadd
Elementwise add operator (1-by-4)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:1514
Methodadd
Elementwise add operator (2-by-1)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:2142
Methodadd
Elementwise add operator (2-by-2)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:2854
Methodadd
Elementwise add operator (2-by-3)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:3704
Methodadd
Elementwise add operator (2-by-4)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:4654
Methodadd
Elementwise add operator (3-by-1)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:5404
Methodadd
Elementwise add operator (3-by-2)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:6238
Methodadd
Elementwise add operator (3-by-3)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:7262
Methodadd
Elementwise add operator (3-by-4)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:8620
Methodadd
Elementwise add operator (4-by-1)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:9515
Methodadd
Elementwise add operator (4-by-2)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:10472
Methodadd
Elementwise add operator (4-by-3)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:11700
Methodadd
Elementwise add operator (4-by-4)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:13254
Methodadd_args_group
(parser: argparse.ArgumentParser)
fastertransformer/examples/pytorch/gpt/utils/bloom.py:171
Functionadd_arguments
Add arguments to parser for functions defined in quant_trainer.
fastertransformer/examples/pytorch/vit/ViT-quantization/quant_utils.py:40
Functionadd_arguments
Add arguments to parser for functions defined in quant_trainer.
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/quant_utils.py:41
Functionadd_arguments
(parser)
fastertransformer/examples/pytorch/gpt/utils/checkpoint_saver_fastertransformer.py:10
Functionadd_arguments
Add arguments to parser for functions defined in quant_trainer.
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/quant_utils.py:40
Functionadd_bias_and_interleave_int4s
fastertransformer/src/fastertransformer/th_op/common/WeightOnlyQuantOps.cc:237
Functionadd_bias_and_interleave_int8s
fastertransformer/src/fastertransformer/th_op/common/WeightOnlyQuantOps.cc:253
Functionadd_bias_residual_layernorm_test
fastertransformer/examples/cpp/decoding/layernorm_test.cc:178
Methodadd_data
(self, data, meta={})
algorithm/lm_eval/decontamination/archiver.py:31
Methodadd_data
(self, data)
algorithm/lm_eval/decontamination/archiver.py:86
Functionadd_ia3_task
(saved_dir, saved_config, weight_dt, infer_tp, layer_name, layer)
fastertransformer/examples/pytorch/t5/utils/nemo_t5_ia3.py:127
Methodadd_item
(self, tensor)
fastertransformer/3rdparty/Megatron-LM/megatron/data/indexed_dataset.py:546
Methodadd_offset
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/warp/mma_tensor_op_fragment_iterator.h:189
Methodadd_offset
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/warp/mma_tensor_op_fragment_iterator.h:418
Methodadd_offset
fastertransformer/3rdparty/cutlass/include/cutlass/transform/warp/vector_fragment_iterator.h:155
Methodadd_offset
Add offset
fastertransformer/3rdparty/cutlass/include/cutlass/transform/warp/vector_fragment_iterator.h:251
Functionadd_pointer_offset
Adds a pointer offset in units of Element
fastertransformer/3rdparty/cutlass/examples/42_fused_multi_head_attention/iterators/epilogue_predicated_tile_iterator.h:276
Functionadd_pointer_offset
Adds a pointer offset in units of Element
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv2d_fprop_activation_tile_access_iterator_fixed_channels.h:192
Functionadd_pointer_offset
Adds a pointer offset in units of Element
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv2d_fprop_filter_tile_access_iterator_few_channels.h:165
Functionadd_pointer_offset
Adds a pointer offset in units of Element
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv2d_fprop_filter_tile_access_iterator_optimized.h:211
Functionadd_pointer_offset
Adds a pointer offset in units of Element
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv2d_fprop_activation_tile_access_iterator_analytic.h:192
← previousnext →6,201–6,300 of 14,558, ranked by callers