Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytedance/ABQ-LLM
/ functions
Functions
14,558 in github.com/bytedance/ABQ-LLM
⨍
Functions
14,558
◇
Types & classes
4,979
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
Method
abq_parameters
(self, use_shift=True)
algorithm/models/int_opt_layer.py:434
Method
abq_parameters
(self, use_shift=True)
algorithm/models/int_falcon_layer.py:378
Method
abq_parameters
(self, use_shift=True)
algorithm/models/int_llama_layer.py:354
Method
abq_state_dict
(self, destination=None, prefix='', keep_vars=False)
algorithm/models/int_opt_layer.py:442
Method
abq_state_dict
(self, destination=None, prefix='', keep_vars=False)
algorithm/models/int_falcon_layer.py:386
Method
abq_state_dict
(self, destination=None, prefix='', keep_vars=False)
algorithm/models/int_llama_layer.py:362
Function
abs
std::abs
fastertransformer/3rdparty/cutlass/include/cutlass/platform/platform.h:194
Function
acc_all
(items)
algorithm/lm_eval/metrics.py:48
Function
acc_all_stderr
(items)
algorithm/lm_eval/metrics.py:67
Method
accumApplyLSEToSmem
fastertransformer/3rdparty/cutlass/examples/42_fused_multi_head_attention/mma_from_smem.h:1412
Method
accumApplyLSEToSmem
fastertransformer/3rdparty/cutlass/examples/42_fused_multi_head_attention/mma_from_smem.h:1592
Method
accumApplyLSEToSmem
fastertransformer/3rdparty/cutlass/examples/42_fused_multi_head_attention/mma_from_smem.h:1732
Method
accumToSmem
fastertransformer/3rdparty/cutlass/examples/42_fused_multi_head_attention/mma_from_smem.h:1397
Method
accumToSmem
fastertransformer/3rdparty/cutlass/examples/42_fused_multi_head_attention/mma_from_smem.h:1511
Method
accumToSmem
fastertransformer/3rdparty/cutlass/examples/42_fused_multi_head_attention/mma_from_smem.h:1681
Method
accum_ref
fastertransformer/3rdparty/cutlass/examples/13_two_tensor_op_fusion/threadblock/b2b_mma_base_smem_accumulator.h:139
Function
accuracy
(out, labels)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/run_glue.py:116
Function
accuracy_func_provider
Provide function that calculates accuracies.
fastertransformer/3rdparty/Megatron-LM/tasks/eval_utils.py:32
Method
acquireReader
engine/common/base.h:73
Method
acquireReader
algorithm/ABQ/csrc/common/base.h:73
Method
acquireReader
fastertransformer/src/fastertransformer/kernels/abqgemm/common/base.h:73
Method
acquireWriter
engine/common/base.h:64
Method
acquireWriter
algorithm/ABQ/csrc/common/base.h:64
Method
acquireWriter
fastertransformer/src/fastertransformer/kernels/abqgemm/common/base.h:64
Method
activation
Methods Returns Activation TensorDescription
fastertransformer/3rdparty/cutlass/tools/library/include/cutlass/library/library.h:775
Function
activation_size
Returns activation size in number of elements
fastertransformer/3rdparty/cutlass/include/cutlass/conv/conv3d_problem_size.h:257
Function
activation_size
Returns activation size in number of elements
fastertransformer/3rdparty/cutlass/include/cutlass/conv/conv2d_problem_size.h:261
Method
add
Elementwise add operator (1-by-3)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:859
Method
add
Elementwise add operator (1-by-4)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:1514
Method
add
Elementwise add operator (2-by-1)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:2142
Method
add
Elementwise add operator (2-by-2)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:2854
Method
add
Elementwise add operator (2-by-3)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:3704
Method
add
Elementwise add operator (2-by-4)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:4654
Method
add
Elementwise add operator (3-by-1)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:5404
Method
add
Elementwise add operator (3-by-2)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:6238
Method
add
Elementwise add operator (3-by-3)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:7262
Method
add
Elementwise add operator (3-by-4)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:8620
Method
add
Elementwise add operator (4-by-1)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:9515
Method
add
Elementwise add operator (4-by-2)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:10472
Method
add
Elementwise add operator (4-by-3)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:11700
Method
add
Elementwise add operator (4-by-4)
fastertransformer/3rdparty/cutlass/include/cutlass/matrix.h:13254
Method
add_args_group
(parser: argparse.ArgumentParser)
fastertransformer/examples/pytorch/gpt/utils/bloom.py:171
Function
add_arguments
Add arguments to parser for functions defined in quant_trainer.
fastertransformer/examples/pytorch/vit/ViT-quantization/quant_utils.py:40
Function
add_arguments
Add arguments to parser for functions defined in quant_trainer.
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/quant_utils.py:41
Function
add_arguments
(parser)
fastertransformer/examples/pytorch/gpt/utils/checkpoint_saver_fastertransformer.py:10
Function
add_arguments
Add arguments to parser for functions defined in quant_trainer.
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/quant_utils.py:40
Function
add_bias_and_interleave_int4s
fastertransformer/src/fastertransformer/th_op/common/WeightOnlyQuantOps.cc:237
Function
add_bias_and_interleave_int8s
fastertransformer/src/fastertransformer/th_op/common/WeightOnlyQuantOps.cc:253
Function
add_bias_residual_layernorm_test
fastertransformer/examples/cpp/decoding/layernorm_test.cc:178
Method
add_data
(self, data, meta={})
algorithm/lm_eval/decontamination/archiver.py:31
Method
add_data
(self, data)
algorithm/lm_eval/decontamination/archiver.py:86
Function
add_ia3_task
(saved_dir, saved_config, weight_dt, infer_tp, layer_name, layer)
fastertransformer/examples/pytorch/t5/utils/nemo_t5_ia3.py:127
Method
add_item
(self, tensor)
fastertransformer/3rdparty/Megatron-LM/megatron/data/indexed_dataset.py:546
Method
add_offset
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/warp/mma_tensor_op_fragment_iterator.h:189
Method
add_offset
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/warp/mma_tensor_op_fragment_iterator.h:418
Method
add_offset
fastertransformer/3rdparty/cutlass/include/cutlass/transform/warp/vector_fragment_iterator.h:155
Method
add_offset
Add offset
fastertransformer/3rdparty/cutlass/include/cutlass/transform/warp/vector_fragment_iterator.h:251
Function
add_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
Function
add_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
Function
add_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
Function
add_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
Function
add_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
← previous
next →
6,201–6,300 of 14,558, ranked by callers