MCPcopy Create free account

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

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

↓ 1 callersFunctioncreate_mask
(tensor, pattern="m4n2_1d", density=0.5)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/sparse_masklib.py:145
↓ 1 callersFunctioncreate_masked_lm_predictions
Creates the predictions for the masked LM objective.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/create_pretraining_data.py:342
↓ 1 callersFunctioncreate_masked_lm_predictions
Creates the predictions for the masked LM objective.
fastertransformer/examples/tensorflow/bert/bert-quantization/utils/create_pretraining_data.py:347
↓ 1 callersFunctioncreate_masked_lm_predictions
Creates the predictions for the masked LM objective.
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/create_pretraining_data.py:314
↓ 1 callersFunctioncreate_model
Creates a classification model.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/profile_bert_inference.py:44
↓ 1 callersFunctioncreate_model
Creates a classification model.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/run_squad.py:550
↓ 1 callersFunctioncreate_model
Creates a classification model.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/run_classifier_with_tfhub.py:37
↓ 1 callersFunctioncreate_model
Creates a classification model.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/run_classifier.py:574
↓ 1 callersMethodcreate_model
(self)
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/modeling_test.py:71
↓ 1 callersFunctioncreate_task
(subject)
algorithm/lm_eval/tasks/hendrycks_test.py:97
↓ 1 callersFunctioncreate_tokenizer_from_hub_module
Get the vocab file and casing info from the Hub module.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/run_classifier_with_tfhub.py:146
↓ 1 callersFunctioncreate_tokens_and_tokentypes
Merge segments A and B, add [CLS] and [SEP] and build tokentypes.
fastertransformer/3rdparty/Megatron-LM/megatron/data/dataset_utils.py:141
↓ 1 callersFunctioncreate_training_instances
Create `TrainingInstance`s from raw text.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/create_pretraining_data.py:179
↓ 1 callersFunctioncreate_training_instances
Create `TrainingInstance`s from raw text.
fastertransformer/examples/tensorflow/bert/bert-quantization/utils/create_pretraining_data.py:179
↓ 1 callersFunctioncreate_training_instances
Create `TrainingInstance`s from raw text.
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/create_pretraining_data.py:146
↓ 1 callersFunctioncreate_translation_task
(dataset, language_pair, version=0)
algorithm/lm_eval/tasks/translation.py:107
↓ 1 callersFunctioncross_check
(name, tf_val, op_val, atol_threshold)
fastertransformer/examples/tensorflow/decoder/utils/common.py:275
↓ 1 callersMethodcuFuncSetAttribute
fastertransformer/3rdparty/trt_fused_multihead_attention/cudaDriverWrapper.cpp:76
↓ 1 callersMethodcuGetErrorName
fastertransformer/3rdparty/common/cudaDriverWrapper.cpp:71
↓ 1 callersMethodcuGetErrorName
fastertransformer/3rdparty/trt_fused_multihead_attention/cudaDriverWrapper.cpp:71
↓ 1 callersMethodcuModuleGetFunction
fastertransformer/3rdparty/trt_fused_multihead_attention/cudaDriverWrapper.cpp:107
↓ 1 callersMethodcuModuleLoadData
fastertransformer/3rdparty/trt_fused_multihead_attention/cudaDriverWrapper.cpp:96
↓ 1 callersFunctioncublasTester
fastertransformer/tests/unittests/fp8_gemm_test/worker.cpp:207
↓ 1 callersMethodcudaError
Returns the underlying CUDA \p cudaError_t
fastertransformer/3rdparty/cutlass/tools/util/include/cutlass/util/exceptions.h:54
↓ 1 callersFunctioncustom_backward
Directly call C++ autograd engine. To make the 'deallocate_output_tensor' (above) optimization work, the C++ autograd engine must be called d
fastertransformer/3rdparty/Megatron-LM/megatron/schedules.py:65
↓ 1 callersMethoddata
Returns the pointer to referenced data
fastertransformer/3rdparty/cutlass/include/cutlass/tensor_ref_planar_complex.h:220
↓ 1 callersMethoddata
Returns a pointer to the shared memory buffer
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/threadblock/epilogue_planar_complex.h:181
↓ 1 callersMethoddecode
(self, ids)
fastertransformer/3rdparty/Megatron-LM/megatron/tokenizer/tokenizer.py:191
↓ 1 callersFunctiondeserialize_h2h
fastertransformer/src/fastertransformer/models/bert_fp8/serialize.hpp:89
↓ 1 callersMethoddetokenize
(self, text)
algorithm/lm_eval/tasks/cbt.py:57
↓ 1 callersMethoddetokenize
(self, token_ids)
fastertransformer/examples/pytorch/gptneox/utils/hftokenizer.py:32
↓ 1 callersFunctiondetokenize_generations
Detokenize the generated tokens.
fastertransformer/3rdparty/Megatron-LM/megatron/text_generation/tokenization.py:26
↓ 1 callersMethoddevice
(self)
algorithm/models/LMClass.py:63
↓ 1 callersMethoddevice_view_real
Accesses the tensor reference pointing to data
fastertransformer/3rdparty/cutlass/tools/util/include/cutlass/util/host_tensor_planar_complex.h:358
↓ 1 callersMethoddiag_type_name
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/trmm_operation.py:139
↓ 1 callersFunctiondisposition_status_color
fastertransformer/3rdparty/cutlass/tools/profiler/src/performance_report.cpp:227
↓ 1 callersMethoddistribute_articles_over_shards
(self)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/data/TextSharding.py:146
↓ 1 callersMethoddoc_to_decontamination_query
(self, doc)
algorithm/lm_eval/base.py:506
↓ 1 callersMethoddoc_to_target
(self, doc)
algorithm/lm_eval/base.py:517
↓ 1 callersMethoddoc_to_target
(self, doc)
algorithm/lm_eval/base.py:728
↓ 1 callersMethoddoc_to_target
(self, doc)
algorithm/lm_eval/tasks/lambada.py:55
↓ 1 callersMethoddoc_to_target
(self, doc)
algorithm/lm_eval/tasks/asdiv.py:75
↓ 1 callersFunctiondomain_is_in_blacklist
(url)
fastertransformer/3rdparty/Megatron-LM/tools/openwebtext/blacklist_urls.py:138
↓ 1 callersMethoddot
Computes the dot product with anotherCoord object
fastertransformer/3rdparty/cutlass/include/cutlass/coord.h:249
↓ 1 callersMethoddownload
Downloads and returns the task dataset. Override this method to download the dataset from a custom API. :param data_dir: str
algorithm/lm_eval/base.py:416
↓ 1 callersMethoddownload
(self)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/data/WikiDownloader.py:39
↓ 1 callersMethoddownload
(self, task_name)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/data/GLUEDownloader.py:29
↓ 1 callersMethoddownload
(self)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/data/BooksDownloader.py:22
↓ 1 callersMethoddownload
(self)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/data/GooglePretrainedWeightDownloader.py:116
↓ 1 callersMethoddownload
(self)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/data/SquadDownloader.py:41
↓ 1 callersMethoddownload
(self)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/data/NVIDIAPretrainedWeightDownloader.py:26
↓ 1 callersFunctiondump_predictions
(path, label_map, preds, examples)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/run_glue.py:467
↓ 1 callersMethodelapsed_time_in_sec
(self, tag)
fastertransformer/examples/pytorch/gpt/utils/profiler.py:20
↓ 1 callersFunctioneligible_modules
(model, whitelist_layer_types, allowed_layer_names, disallowed_layer_names)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/asp.py:12
↓ 1 callersMethodembed_block
Embed a batch of tokens using the block model
fastertransformer/3rdparty/Megatron-LM/megatron/model/realm_model.py:81
↓ 1 callersMethodembed_query
Embed a batch of tokens using the query model
fastertransformer/3rdparty/Megatron-LM/megatron/model/realm_model.py:72
↓ 1 callersFunctionembedding_lookup
Looks up words embeddings for id tensor. Args: input_ids: int32 Tensor of shape [batch_size, seq_length] containing word ids. vocab_s
fastertransformer/examples/tensorflow/bert/tensorflow_bert/my_modeling.py:386
↓ 1 callersFunctionembedding_lookup
Looks up words embeddings for id tensor. Args: input_ids: int32 Tensor of shape [batch_size, seq_length] containing word ids. vocab_s
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/modeling.py:380
↓ 1 callersFunctionembedding_lookup
Looks up words embeddings for id tensor. Args: input_ids: int32 Tensor of shape [batch_size, seq_length] containing word ids. vocab_s
fastertransformer/examples/tensorflow/bert/bert-quantization/modeling.py:413
↓ 1 callersFunctionembedding_lookup
TPU and GPU embedding_lookup function.
fastertransformer/examples/tensorflow/xlnet/modeling.py:39
↓ 1 callersFunctionembedding_postprocessor
Performs various post-processing on a word embedding tensor. Args: input_tensor: float Tensor of shape [batch_size, seq_length, embedding
fastertransformer/examples/tensorflow/bert/tensorflow_bert/my_modeling.py:435
↓ 1 callersFunctionembedding_postprocessor
Performs various post-processing on a word embedding tensor. Args: input_tensor: float Tensor of shape [batch_size, seq_length, embedding
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/modeling.py:428
↓ 1 callersFunctionembedding_postprocessor
Performs various post-processing on a word embedding tensor. Args: input_tensor: float Tensor of shape [batch_size, seq_length, embedding
fastertransformer/examples/tensorflow/bert/bert-quantization/modeling.py:461
↓ 1 callersMethodemit
(self, operation)
fastertransformer/3rdparty/cutlass/tools/library/scripts/rank_k_operation.py:225
↓ 1 callersMethodemit
(self, operation)
fastertransformer/3rdparty/cutlass/tools/library/scripts/gemm_operation.py:257
↓ 1 callersMethodemit
(self, operation)
fastertransformer/3rdparty/cutlass/tools/library/scripts/trmm_operation.py:241
↓ 1 callersMethodemit
(self, target = GeneratorTarget.Library)
fastertransformer/3rdparty/cutlass/tools/library/scripts/manifest.py:349
↓ 1 callersMethodemit
(self, operation)
fastertransformer/3rdparty/cutlass/tools/library/scripts/conv2d_operation.py:167
↓ 1 callersMethodemit
(self, operation)
fastertransformer/3rdparty/cutlass/tools/library/scripts/symm_operation.py:235
↓ 1 callersMethodemit
(self, operation)
fastertransformer/3rdparty/cutlass/tools/library/scripts/rank_2k_operation.py:232
↓ 1 callersMethodemit
(self, operation)
fastertransformer/3rdparty/cutlass/tools/library/scripts/conv3d_operation.py:143
↓ 1 callersMethodemit
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/conv2d_operation.py:305
↓ 1 callersMethodemit
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/reduction_operation.py:215
↓ 1 callersMethodemit_
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/rt.py:680
↓ 1 callersMethodemit_compile_
Compile a list of kernels and store them into database
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/compiler.py:202
↓ 1 callersMethodemit_visitor
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/epilogue.py:318
↓ 1 callersMethodenable
< CUTLASS_HOST_DEVICE enables all accesses guarded by mask
fastertransformer/3rdparty/cutlass/examples/42_fused_multi_head_attention/iterators/epilogue_predicated_tile_iterator.h:162
↓ 1 callersMethodenable
< CUTLASS_HOST_DEVICE enables all accesses guarded by mask
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/threadblock/predicated_tile_iterator_predicates.h:153
↓ 1 callersMethodenable
< CUTLASS_HOST_DEVICE enables all accesses guarded by mask
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/threadblock/predicated_tile_iterator_affine.h:235
↓ 1 callersMethodenable
< CUTLASS_HOST_DEVICE enables all accesses guarded by mask
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/threadblock/predicated_tile_iterator_strided_dgrad.h:163
↓ 1 callersMethodenable
< CUTLASS_HOST_DEVICE enables all accesses guarded by mask
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/threadblock/predicated_tile_iterator_blas3.h:159
↓ 1 callersMethodenable_mask
Clears the predicate set efficiently
fastertransformer/3rdparty/cutlass/include/cutlass/transform/threadblock/predicated_tile_access_iterator_triangular_matrix.h:862
↓ 1 callersMethodenable_mask
Clears the predicate set efficiently
fastertransformer/3rdparty/cutlass/include/cutlass/transform/threadblock/predicated_tile_access_iterator_2dthreadtile.h:808
↓ 1 callersFunctionencode_ids
(sp_model, text, sample=False)
fastertransformer/examples/tensorflow/xlnet/convertInput.py:386
↓ 1 callersFunctionencode_pieces
(sp_model, text, return_unicode=True, sample=False)
fastertransformer/examples/tensorflow/xlnet/convertInput.py:349
↓ 1 callersFunctionencoder_example
(args_dict)
fastertransformer/examples/tensorflow/encoder/encoder_example.py:44
↓ 1 callersMethodend_document
(self)
fastertransformer/3rdparty/Megatron-LM/megatron/data/indexed_dataset.py:291
↓ 1 callersMethodend_epilogue
Called after all steps have been completed
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/threadblock/epilogue_with_visitor.h:145
↓ 1 callersMethodend_row
Called at the end of a row
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/threadblock/epilogue_with_visitor.h:133
↓ 1 callersMethodend_step
Called after all accumulator elements have been visited
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/threadblock/epilogue_with_visitor.h:139
↓ 1 callersFunctionensemble_predictions
(args)
fastertransformer/3rdparty/Megatron-LM/tasks/ensemble_classifier.py:120
↓ 1 callersFunctionensure_directory_exists
Build filename's path if it does not already exists.
fastertransformer/3rdparty/Megatron-LM/megatron/checkpointing.py:77
↓ 1 callersMethodentities
Returns a list of named-entity-recognition tags of each token. Returns None if this annotation was not included.
fastertransformer/3rdparty/Megatron-LM/tasks/orqa/unsupervised/tokenizers.py:83
↓ 1 callersMethodepilogue_output_op
(self, element_epilogue)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/epilogue.py:346
↓ 1 callersMethodequal
(self, tensor_D, tensor_D_ref, problem_size)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/test/gemm_testbed.py:293
↓ 1 callersFunctionescape_xml_special_chars
fastertransformer/3rdparty/cutlass/tools/profiler/src/performance_report.cpp:405
↓ 1 callersFunctionevaluate
(lm, args, logger)
algorithm/main.py:67
↓ 1 callersFunctionevaluate
Instantiate and evaluate a model on a list of tasks. :param lm: obj Language Model :param task_dict: dict[str, Task] Dictiona
algorithm/lm_eval/evaluator.py:96
↓ 1 callersFunctionevaluate
Evaluation.
fastertransformer/3rdparty/Megatron-LM/megatron/training.py:765
↓ 1 callersFunctionevaluate
Evaluation.
fastertransformer/3rdparty/Megatron-LM/tasks/zeroshot_gpt/evaluate.py:128
← previousnext →2,601–2,700 of 14,558, ranked by callers