MCPcopy Create free account

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

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

↓ 1 callersFunctioncast_to_int8
fastertransformer/src/fastertransformer/kernels/decoder_masked_multihead_attention/decoder_masked_multihead_attention_template.hpp:991
↓ 1 callersFunctioncast_to_int8
fastertransformer/src/fastertransformer/kernels/llama/decoder_masked_groupedquery_attention/decoder_masked_groupedquery_attention_template.hpp:991
↓ 1 callersFunctioncategorise_answer
(answer_blob)
algorithm/lm_eval/tasks/qasper.py:65
↓ 1 callersFunctioncheck
engine/test/test_mma/test_mma.h:57
↓ 1 callersFunctioncheck
engine/test/test_wmma/test_wmma.h:57
↓ 1 callersFunctioncheckMat
fastertransformer/src/fastertransformer/kernels/layernorm_fp8_kernels_test.cc:45
↓ 1 callersFunctioncheckMat
fastertransformer/tests/unittests/fp8_gemm_test/worker.cpp:18
↓ 1 callersFunctioncheck_checkpoint_args
Ensure fixed arguments for a model are the same for the input arguments and the one retrieved from checkpoint.
fastertransformer/3rdparty/Megatron-LM/megatron/checkpointing.py:44
↓ 1 callersFunctioncheck_keywords_in_name
(name, keywords=())
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/optimizer.py:52
↓ 1 callersMethodcheck_parallel_size_validity
(tensor_para_size, pipeline_para_size)
fastertransformer/examples/pytorch/gpt/utils/comm.py:51
↓ 1 callersMethodcheckpoint_activations
(self, val)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/modeling.py:701
↓ 1 callersFunctioncheckpoint_dtype_cast
(in_checkpoint_file, out_checkpoint_file)
fastertransformer/examples/tensorflow/ckpt_type_convert.py:25
↓ 1 callersFunctioncheckpoint_dtype_cast
(in_checkpoint_file, out_checkpoint_file)
fastertransformer/examples/tensorflow/bert/tensorflow_bert/ckpt_type_convert.py:25
↓ 1 callersFunctioncheckpoint_quantization
(in_checkpoint_file, out_checkpoint_file, per_channel_quantization)
fastertransformer/examples/tensorflow/bert/tensorflow_bert/ckpt_quantization.py:35
↓ 1 callersFunctioncheckpoint_quantization
(init_dict, sparse, ths_path='./lib/libth_transformer.so', verbose=True)
fastertransformer/examples/pytorch/bert/utils/checkpoint_quantization.py:26
↓ 1 callersMethodcheckpointed_forward
(self, hidden_states, attention_mask)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/modeling.py:557
↓ 1 callersFunctionchunks
(iter, n)
algorithm/models/models_utils.py:576
↓ 1 callersFunctionclassification
()
fastertransformer/3rdparty/Megatron-LM/tasks/vision/classification.py:26
↓ 1 callersMethodclean_cpp
(self, dirty_string)
algorithm/lm_eval/decontamination/janitor.py:197
↓ 1 callersFunctionclean_ngrams_below_threshold
(args, ngrams_below_threshold, dedup_file, \ dedup_key)
fastertransformer/3rdparty/Megatron-LM/tools/openwebtext/filter_ngrams.py:342
↓ 1 callersMethodclean_python
(self, dirty_string)
algorithm/lm_eval/decontamination/janitor.py:215
↓ 1 callersMethodclear
< Efficiently disables all accesses guarded by mask
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/threadblock/predicated_tile_iterator_predicates.h:145
↓ 1 callersMethodclear
< Efficiently disables all accesses guarded by mask
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/threadblock/predicated_tile_iterator_blas3.h:151
↓ 1 callersFunctionclear_mask
Clears the predicates
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv3d_dgrad_output_gradient_tile_access_iterator_optimized.h:414
↓ 1 callersFunctionclear_mask
Clears the predicates
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv3d_fprop_activation_tile_access_iterator_optimized.h:408
↓ 1 callersMethodclear_mask
Clears the predicate set efficiently
fastertransformer/3rdparty/cutlass/include/cutlass/transform/threadblock/predicated_tile_access_iterator_triangular_matrix.h:858
↓ 1 callersMethodclear_mask
Clears the predicate set efficiently
fastertransformer/3rdparty/cutlass/include/cutlass/transform/threadblock/predicated_tile_access_iterator_2dthreadtile.h:804
↓ 1 callersFunctionclear_mask_
Clears the predicates
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv3d_dgrad_output_gradient_tile_access_iterator_optimized.h:296
↓ 1 callersFunctionclear_mask_
Clears the predicates
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv3d_fprop_activation_tile_access_iterator_optimized.h:292
↓ 1 callersFunctionclear_temp_variable
(model)
algorithm/quantize/utils.py:136
↓ 1 callersFunctionclip_grad_norm_fp32
Clips gradient norm of an iterable of parameters whose gradients are in fp32. This is adapted from torch.nn.utils.clip_grad.clip_grad_norm
fastertransformer/3rdparty/Megatron-LM/megatron/optimizer/clip_grads.py:29
↓ 1 callersFunctionclz
fastertransformer/3rdparty/cutlass/include/cutlass/fast_math.h:194
↓ 1 callersFunctionclz
fastertransformer/3rdparty/fp8_qgmma_1x1/utils.h:382
↓ 1 callersFunctioncom_parameters
(model, use_shift=True)
algorithm/quantize/utils.py:30
↓ 1 callersMethodcompare_reference
Compares computed reference with device reference and outputs to a file if incorrect
fastertransformer/3rdparty/cutlass/test/unit/gemm/device/testbed.h:196
↓ 1 callersMethodcompile_
(self, compilation_options)
fastertransformer/3rdparty/cutlass/tools/library/scripts/rt.py:705
↓ 1 callersFunctioncompile_helper
Compile helper function ar runtime. Make sure this is invoked on a single process.
fastertransformer/3rdparty/Megatron-LM/megatron/data/dataset_utils.py:76
↓ 1 callersFunctioncompressInt8Matrix
fastertransformer/src/fastertransformer/th_op/bert/WeightQuantizeOp.cc:26
↓ 1 callersMethodcompute_all_pairs
(guesses: List[str], answers: List[str])
fastertransformer/3rdparty/Megatron-LM/tasks/msdp/metrics.py:64
↓ 1 callersMethodcompute_each_pair
(guess: str, answer: str)
fastertransformer/3rdparty/Megatron-LM/tasks/msdp/metrics.py:52
↓ 1 callersFunctioncompute_exact_match
(tokens, n_tokens=[1, 10, 25, 50, 100, 150, 200, 250])
fastertransformer/examples/pytorch/gpt/gpt_summarization.py:336
↓ 1 callersFunctioncompute_exact_match
(tokens, n_tokens=[1, 10, 25, 50, 100, 150, 200, 250])
fastertransformer/examples/pytorch/gpt/opt_summarization.py:337
↓ 1 callersFunctioncompute_exact_match
(tokens, n_tokens=[1, 10, 25, 50, 100, 150, 200, 250])
fastertransformer/examples/pytorch/t5/summarization.py:352
↓ 1 callersFunctioncompute_n1_n2
fastertransformer/3rdparty/Megatron-LM/megatron/fused_kernels/layer_norm_cuda.cpp:28
↓ 1 callersMethodcompute_predicates_
Computes predicates based on internally tracked per-thread offset.
fastertransformer/3rdparty/cutlass/examples/42_fused_multi_head_attention/iterators/predicated_tile_access_iterator_residual_last.h:196
↓ 1 callersMethodcompute_scores
(gold_list, pred)
algorithm/lm_eval/tasks/coqa.py:104
↓ 1 callersFunctioncompute_tasks_ngrams
(args, ngrams)
fastertransformer/3rdparty/Megatron-LM/tools/openwebtext/filter_ngrams.py:273
↓ 1 callersFunctioncompute_valid_1d_patterns
(m,n)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/sparse_masklib.py:25
↓ 1 callersFunctioncompute_valid_2d_patterns
(m,n)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/sparse_masklib.py:103
↓ 1 callersMethodconfiguration_name
The full procedural name indicates architecture, extended name, tile size, and layout.
fastertransformer/3rdparty/cutlass/tools/library/scripts/gemm_operation.py:148
↓ 1 callersMethodconfiguration_name
The full procedural name indicates architecture, extended name, tile size, and layout.
fastertransformer/3rdparty/cutlass/tools/library/scripts/conv2d_operation.py:93
↓ 1 callersMethodconfiguration_name
The full procedural name indicates architecture, extended name, tile size, and layout.
fastertransformer/3rdparty/cutlass/tools/library/scripts/conv3d_operation.py:73
↓ 1 callersMethodconfiguration_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:453
↓ 1 callersMethodconstruct_requests
Uses RequestFactory to construct Requests and returns an iterable of Requests which will be sent to the LM. :param doc: T
algorithm/lm_eval/base.py:521
↓ 1 callersFunctionconv3x3
(cin, cout, stride=1, groups=1, bias=False)
fastertransformer/examples/pytorch/vit/ViT-quantization/ViT-pytorch/models/modeling_resnet.py:45
↓ 1 callersFunctionconvertToBinaryData
(filename)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/compiler.py:102
↓ 1 callersFunctionconvertToId
(search)
fastertransformer/3rdparty/cutlass/docs/search/search.js:1
↓ 1 callersFunctionconvert_checkpoint
(args)
fastertransformer/examples/tensorflow/t5/utils/tf_saved_model_t5_ckpt_convert.py:235
↓ 1 callersFunctionconvert_checkpoint
(args)
fastertransformer/examples/tensorflow/t5/utils/jax_t5_ckpt_convert.py:227
↓ 1 callersFunctionconvert_checkpoint
(args)
fastertransformer/examples/pytorch/gptneox/utils/eleutherai_gpt_neox_convert.py:169
↓ 1 callersFunctionconvert_checkpoint
(args)
fastertransformer/examples/pytorch/gpt/utils/megatron_gpt_moe_ckpt_convert.py:446
↓ 1 callersFunctionconvert_checkpoint
(args)
fastertransformer/examples/pytorch/gpt/utils/megatron_fp8_ckpt_convert.py:376
↓ 1 callersFunctionconvert_checkpoint
(args)
fastertransformer/examples/pytorch/gpt/utils/megatron_ckpt_convert.py:327
↓ 1 callersFunctionconvert_checkpoint
(unpacked_checkpoints_dir: UnpackedNemoCheckpointDir, args)
fastertransformer/examples/pytorch/gpt/utils/nemo_ckpt_convert.py:264
↓ 1 callersFunctionconvert_checkpoint
(args)
fastertransformer/examples/pytorch/t5/utils/megatron_t5_ckpt_convert.py:356
↓ 1 callersFunctionconvert_checkpoint
(unpacked_checkpoints_dir: UnpackedNemoCheckpointDir, args: argparse.Namespace)
fastertransformer/examples/pytorch/t5/utils/nemo_t5_ia3.py:55
↓ 1 callersFunctionconvert_checkpoint
(unpacked_checkpoints_dir: UnpackedNemoCheckpointDir, args: argparse.Namespace, unpacke
fastertransformer/examples/pytorch/t5/utils/nemo_t5_ckpt_convert.py:681
↓ 1 callersFunctionconvert_checkpoint
(args)
fastertransformer/examples/pytorch/t5/utils/huggingface_t5_ckpt_convert.py:154
↓ 1 callersFunctionconvert_examples_to_features
Loads a data file into a list of `InputBatch`s.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/extract_features.py:210
↓ 1 callersFunctionconvert_examples_to_features
Loads a data file into a list of `InputBatch`s.
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/extract_features.py:60
↓ 1 callersMethodconvert_ids_to_tokens
Converts a sequence of ids in wordpiece tokens using the vocab.
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/tokenization.py:132
↓ 1 callersFunctionconvert_single_example
Converts a single `InputExample` into a single `InputFeatures`.
fastertransformer/examples/tensorflow/xlnet/convertInput.py:426
↓ 1 callersMethodconvert_tokens_to_string
Converts a sequence of tokens (string) in a single string.
fastertransformer/3rdparty/Megatron-LM/megatron/tokenizer/bert_tokenization.py:185
↓ 1 callersFunctionconvert_type
(tensor, data_type)
fastertransformer/examples/pytorch/bert/run_glue.py:49
↓ 1 callersFunctioncopy_from_last_to_first_pipeline_stage
Copy tensor values from last stage into the first stage. Note that the input tensor is updated in place.
fastertransformer/3rdparty/Megatron-LM/megatron/text_generation/communication.py:124
↓ 1 callersFunctioncopy_to_tensor_model_parallel_region
(input_)
fastertransformer/3rdparty/Megatron-LM/megatron/mpu/mappings.py:144
↓ 1 callersFunctioncopysignf_pos
fastertransformer/src/fastertransformer/cutlass_extensions/include/cutlass_extensions/epilogue/thread/ft_fused_activations.h:54
↓ 1 callersMethodcore_name
The basic operation kind is prefixed with a letter indicating the accumulation type.
fastertransformer/3rdparty/cutlass/tools/library/scripts/rank_k_operation.py:72
↓ 1 callersMethodcore_name
The basic operation kind is prefixed with a letter indicating the accumulation type.
fastertransformer/3rdparty/cutlass/tools/library/scripts/gemm_operation.py:69
↓ 1 callersMethodcore_name
The basic operation kind is prefixed with a letter indicating the accumulation type.
fastertransformer/3rdparty/cutlass/tools/library/scripts/trmm_operation.py:72
↓ 1 callersMethodcore_name
The basic operation kind is prefixed with a letter indicating the accumulation type.
fastertransformer/3rdparty/cutlass/tools/library/scripts/conv2d_operation.py:52
↓ 1 callersMethodcore_name
The basic operation kind is prefixed with a letter indicating the accumulation type.
fastertransformer/3rdparty/cutlass/tools/library/scripts/symm_operation.py:74
↓ 1 callersMethodcore_name
The basic operation kind is prefixed with a letter indicating the accumulation type.
fastertransformer/3rdparty/cutlass/tools/library/scripts/rank_2k_operation.py:74
↓ 1 callersMethodcore_name
The basic operation kind is prefixed with a letter indicating the accumulation type.
fastertransformer/3rdparty/cutlass/tools/library/scripts/conv3d_operation.py:36
↓ 1 callersMethodcore_name
The basic operation kind is prefixed with a letter indicating the accumulation type.
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/gemm_operation.py:848
↓ 1 callersMethodcore_name
The basic operation kind is prefixed with a letter indicating the accumulation type.
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/conv2d_operation.py:506
↓ 1 callersMethodcount_bytes
(cls, doc)
algorithm/lm_eval/base.py:754
↓ 1 callersFunctioncount_parameters
(model)
fastertransformer/examples/pytorch/vit/ViT-quantization/main.py:114
↓ 1 callersFunctioncount_parameters
(model)
fastertransformer/examples/pytorch/vit/ViT-quantization/eval_engine.py:116
↓ 1 callersFunctioncount_parameters
(model)
fastertransformer/examples/pytorch/vit/ViT-quantization/ViT-pytorch/train.py:76
↓ 1 callersMethodcount_words
Downstream tasks with custom word boundaries should override this!
algorithm/lm_eval/base.py:758
↓ 1 callersFunctioncount_zeros_fp32
(parameters)
fastertransformer/3rdparty/Megatron-LM/megatron/optimizer/clip_grads.py:124
↓ 1 callersFunctioncreate_attention_mask_from_input_mask
Create 3D attention mask from a 2D tensor mask. Args: from_tensor: 2D or 3D Tensor of shape [batch_size, from_seq_length, ...]. to_mask: in
fastertransformer/examples/tensorflow/bert/tensorflow_bert/my_modeling.py:533
↓ 1 callersFunctioncreate_attention_mask_from_input_mask
Create 3D attention mask from a 2D tensor mask. Args: from_tensor: 2D or 3D Tensor of shape [batch_size, from_seq_length, ...]. to_mask: in
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/modeling.py:524
↓ 1 callersFunctioncreate_attention_mask_from_input_mask
Create 3D attention mask from a 2D tensor mask. Args: from_tensor: 2D or 3D Tensor of shape [batch_size, from_seq_length, ...]. to_mask: in
fastertransformer/examples/tensorflow/bert/bert-quantization/modeling.py:561
↓ 1 callersFunctioncreate_float_feature
(values)
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/create_pretraining_data.py:174
↓ 1 callersFunctioncreate_float_feature
(values)
fastertransformer/examples/tensorflow/bert/bert-quantization/utils/create_pretraining_data.py:174
↓ 1 callersFunctioncreate_instances_from_document
Creates `TrainingInstance`s for a single document.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/create_pretraining_data.py:223
↓ 1 callersFunctioncreate_instances_from_document
Creates `TrainingInstance`s for a single document.
fastertransformer/examples/tensorflow/bert/bert-quantization/utils/create_pretraining_data.py:224
↓ 1 callersFunctioncreate_instances_from_document
Creates `TrainingInstance`s for a single document.
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/create_pretraining_data.py:191
← previousnext →2,501–2,600 of 14,558, ranked by callers