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
__call__
(self, inputs)
fastertransformer/examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/layers/tensor_quantizer.py:171
Method
__call__
Reduces all input elements. Args: inputs: A list of ``tf.Tensor``. sequence_length: The length of each input, if reducing
fastertransformer/examples/tensorflow/decoder/utils/reducer.py:104
Method
__call__
Reduces all input elements. Args: inputs: A list of ``tf.Tensor``. sequence_length: The length of each input, if reducing
fastertransformer/examples/tensorflow/common_utils/reducer.py:104
Method
__call__
(self, id)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/run_pretraining.py:82
Method
__call__
(self, loss, optimizer, clip_grad=None, parameters=None, create_graph=False, update_grad=True)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/utils.py:201
Method
__copy__
(self)
fastertransformer/examples/pytorch/gptj/utils/reference_gptj.py:41
Method
__del__
(self)
fastertransformer/3rdparty/Megatron-LM/megatron/data/indexed_dataset.py:162
Method
__del__
(self)
fastertransformer/3rdparty/Megatron-LM/megatron/data/indexed_dataset.py:422
Method
__del__
(self)
fastertransformer/3rdparty/Megatron-LM/megatron/data/indexed_dataset.py:472
Method
__del__
(self)
fastertransformer/3rdparty/Megatron-LM/tasks/orqa/unsupervised/tokenizers.py:152
Method
__delitem__
(self, key, value)
fastertransformer/examples/pytorch/gptj/utils/reference_gptj.py:34
Method
__enter__
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/rank_k_operation.py:343
Method
__enter__
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/gemm_operation.py:923
Method
__enter__
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/trmm_operation.py:363
Method
__enter__
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/manifest.py:76
Method
__enter__
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/manifest.py:147
Method
__enter__
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/conv2d_operation.py:312
Method
__enter__
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/symm_operation.py:356
Method
__enter__
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/rank_2k_operation.py:354
Method
__enter__
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/conv3d_operation.py:284
Method
__enter__
(self)
fastertransformer/3rdparty/Megatron-LM/megatron/data/indexed_dataset.py:342
Method
__eq__
(self, other)
algorithm/lm_eval/base.py:872
Method
__eq__
(self, other)
algorithm/lm_eval/tasks/hendrycks_math.py:216
Method
__exit__
(self, exception_type, exception_value, traceback)
fastertransformer/3rdparty/cutlass/tools/library/scripts/rank_k_operation.py:370
Method
__exit__
(self, exception_type, exception_value, traceback)
fastertransformer/3rdparty/cutlass/tools/library/scripts/gemm_operation.py:962
Method
__exit__
(self, exception_type, exception_value, traceback)
fastertransformer/3rdparty/cutlass/tools/library/scripts/trmm_operation.py:390
Method
__exit__
(self, exception_type, exception_value, traceback)
fastertransformer/3rdparty/cutlass/tools/library/scripts/manifest.py:102
Method
__exit__
(self, exception_type, exception_value, traceback)
fastertransformer/3rdparty/cutlass/tools/library/scripts/manifest.py:169
Method
__exit__
(self, exception_type, exception_value, traceback)
fastertransformer/3rdparty/cutlass/tools/library/scripts/conv2d_operation.py:330
Method
__exit__
(self, exception_type, exception_value, traceback)
fastertransformer/3rdparty/cutlass/tools/library/scripts/symm_operation.py:383
Method
__exit__
(self, exception_type, exception_value, traceback)
fastertransformer/3rdparty/cutlass/tools/library/scripts/rank_2k_operation.py:381
Method
__exit__
(self, exception_type, exception_value, traceback)
fastertransformer/3rdparty/cutlass/tools/library/scripts/conv3d_operation.py:302
Method
__exit__
(self, type, value, tb)
fastertransformer/3rdparty/Megatron-LM/megatron/dist_signal_handler.py:72
Method
__exit__
(self, exc_type, exc_val, exc_tb)
fastertransformer/3rdparty/Megatron-LM/megatron/data/indexed_dataset.py:380
Function
__get_type_name
fastertransformer/3rdparty/cutlass/examples/42_fused_multi_head_attention/debug_utils.h:33
Method
__getattr__
(self, attr)
algorithm/lm_eval/base.py:801
Method
__getattr__
(self, attr)
algorithm/lm_eval/base.py:884
Method
__getitem__
(self, i)
algorithm/lm_eval/base.py:867
Method
__getitem__
Get an ICT example of a pseudo-query and the block of text from which it was extracted
fastertransformer/3rdparty/Megatron-LM/megatron/data/ict_dataset.py:77
Method
__getitem__
(self, idx)
fastertransformer/3rdparty/Megatron-LM/megatron/data/blendable_dataset.py:65
Method
__getitem__
(self, idx)
fastertransformer/3rdparty/Megatron-LM/megatron/data/orqa_wiki_dataset.py:162
Method
__getitem__
(self, idx)
fastertransformer/3rdparty/Megatron-LM/megatron/data/t5_dataset.py:73
Method
__getitem__
(self, idx)
fastertransformer/3rdparty/Megatron-LM/megatron/data/bert_dataset.py:75
Method
__getitem__
(self, idx)
fastertransformer/3rdparty/Megatron-LM/megatron/data/gpt_dataset.py:161
Method
__getitem__
(self, idx)
fastertransformer/3rdparty/Megatron-LM/megatron/data/indexed_dataset.py:167
Method
__getitem__
(self, idx)
fastertransformer/3rdparty/Megatron-LM/megatron/data/indexed_dataset.py:247
Method
__getitem__
(self, i)
fastertransformer/3rdparty/Megatron-LM/megatron/data/indexed_dataset.py:439
Method
__getitem__
(self, idx)
fastertransformer/3rdparty/Megatron-LM/megatron/data/indexed_dataset.py:481
Method
__getitem__
Args: index (int): Index Returns: tuple: (sample, target) where target is class_index of the target class.
fastertransformer/3rdparty/Megatron-LM/megatron/data/image_folder.py:207
Method
__getitem__
Get the data associated with an indexed sample.
fastertransformer/3rdparty/Megatron-LM/megatron/data/realm_dataset_utils.py:104
Method
__getitem__
(self, idx)
fastertransformer/3rdparty/Megatron-LM/megatron/data/data_samplers.py:124
Method
__getitem__
Get the data associated with an indexed sample.
fastertransformer/3rdparty/Megatron-LM/megatron/data/biencoder_dataset_utils.py:114
Method
__getitem__
(self, idx)
fastertransformer/3rdparty/Megatron-LM/tasks/orqa/supervised/data.py:185
Method
__getitem__
(self, idx)
fastertransformer/3rdparty/Megatron-LM/tasks/orqa/unsupervised/nq.py:195
Method
__getitem__
(self, idx)
fastertransformer/3rdparty/Megatron-LM/tasks/zeroshot_gpt/datasets.py:64
Method
__getitem__
(self, idx)
fastertransformer/3rdparty/Megatron-LM/tasks/zeroshot_gpt/datasets.py:112
Method
__getitem__
(self, idx)
fastertransformer/3rdparty/Megatron-LM/tasks/race/data.py:49
Method
__getitem__
(self, idx)
fastertransformer/3rdparty/Megatron-LM/tasks/glue/data.py:54
Method
__getitem__
(self, idx)
fastertransformer/examples/pytorch/llama/llamav1.py:103
Method
__getitem__
(self, index)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/run_pretraining.py:110
Method
__getitem__
(self, idx)
fastertransformer/examples/pytorch/gptneox/utils/gptneox.py:104
Method
__getitem__
(self, idx)
fastertransformer/examples/pytorch/gpt/bloom_lambada.py:62
Method
__getitem__
(self, idx)
fastertransformer/examples/pytorch/gpt/lambada_task_example.py:58
Method
__getitem__
(self, idx)
fastertransformer/examples/pytorch/gpt/utils/gpt_fp8.py:117
Method
__getitem__
(self, idx)
fastertransformer/examples/pytorch/gpt/utils/gpt.py:211
Method
__getitem__
(self, idx)
fastertransformer/examples/pytorch/llama2/llamav2.py:104
Method
__getitem__
Args: index (int): Index Returns: tuple: (image, target) where target is class_index of the target class.
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/data/imagenet22k_dataset.py:33
Method
__getitem__
Args: index (int): Index Returns: tuple: (sample, target) where target is class_index of the target class.
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/data/cached_image_folder.py:145
Method
__getitem__
Args: index (int): Index Returns: tuple: (image, target) where target is class_index of the target class.
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/data/cached_image_folder.py:236
Method
__getitem__
(self, idx)
fastertransformer/examples/pytorch/baichuan2/baichuanv2.py:103
Method
__getstate__
(self)
fastertransformer/3rdparty/Megatron-LM/megatron/data/indexed_dataset.py:454
Function
__half2_raw __nv_cvt_fp8x2_to_halfraw2
fastertransformer/tests/unittests/fp8_gemm_test/2022_03_21__fp8_stride_batch_example/include/cuda_fp8.hpp:487
Function
__half_raw __nv_cvt_fp8_to_halfraw
fastertransformer/tests/unittests/fp8_gemm_test/2022_03_21__fp8_stride_batch_example/include/cuda_fp8.hpp:435
Method
__init
(self)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/data/TextSharding.py:322
Method
__init__
(self, module)
algorithm/run_pretrain_abq_model.py:56
Method
__init__
(self)
algorithm/utils.py:44
Method
__init__
( self, org_module: nn.Linear, weight_quant_params: dict = {}, act_quant_param
algorithm/quantize/int_linear.py:30
Method
__init__
support cluster quantize dynamic_method support per_token and per_cluster
algorithm/quantize/quantizer.py:38
Method
__init__
(self, module)
algorithm/quantize/abq_llm.py:130
Method
__init__
LlamaRMSNorm is equivalent to T5LayerNorm
algorithm/quantize/abq_norm.py:55
Method
__init__
( self, x1_quant_params: dict = {}, x2_quant_params: dict = {}, disable_act_qu
algorithm/quantize/int_matmul.py:22
Method
__init__
(self, arr, fn)
algorithm/lm_eval/utils.py:120
Method
__init__
(self)
algorithm/lm_eval/base.py:21
Method
__init__
:param data_dir: str Stores the path to a local folder containing the `Task`'s data files. Use this to specify the pa
algorithm/lm_eval/base.py:389
Method
__init__
(self, cachinglm)
algorithm/lm_eval/base.py:769
Method
__init__
LM wrapper that returns cached results if they exist, and uses the underlying LM if not. :param lm: LM Underlying LM :par
algorithm/lm_eval/base.py:784
Method
__init__
(self, request_type, args, index=None)
algorithm/lm_eval/base.py:851
Method
__init__
(self, f, n)
algorithm/lm_eval/metrics.py:193
Method
__init__
( self, ngram_n=13, window_to_remove=200, too_dirty_cutoff=10, minimum
algorithm/lm_eval/decontamination/janitor.py:109
Method
__init__
(self, file_path, compression_level=3)
algorithm/lm_eval/decontamination/archiver.py:22
Method
__init__
(self)
algorithm/lm_eval/decontamination/archiver.py:47
Method
__init__
(self, file_path, mode="rb+")
algorithm/lm_eval/decontamination/archiver.py:75
Method
__init__
(self, file_path)
algorithm/lm_eval/decontamination/archiver.py:95
Method
__init__
(self, file)
algorithm/lm_eval/decontamination/archiver.py:152
Method
__init__
(self)
algorithm/lm_eval/tasks/truthfulqa.py:173
Method
__init__
(self, subject)
algorithm/lm_eval/tasks/hendrycks_test.py:110
Method
__init__
(self, sacrebleu_dataset, sacrebleu_language_pair=None)
algorithm/lm_eval/tasks/translation.py:121
Method
__init__
SAT Analog Questions is not publicly available. You must request the data by emailing Peter Turney and then download it to a local di
algorithm/lm_eval/tasks/sat.py:34
Method
__init__
StoryCloze is not publicly available. You must download the data by following https://cs.rochester.edu/nlp/rocstories/ and pass the f
algorithm/lm_eval/tasks/storycloze.py:41
Method
__init__
(self)
algorithm/lm_eval/tasks/headqa.py:83
← previous
next →
5,401–5,500 of 14,558, ranked by callers