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
↓ 1 callers
Function
create_mask
(tensor, pattern="m4n2_1d", density=0.5)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/sparse_masklib.py:145
↓ 1 callers
Function
create_masked_lm_predictions
Creates the predictions for the masked LM objective.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/create_pretraining_data.py:342
↓ 1 callers
Function
create_masked_lm_predictions
Creates the predictions for the masked LM objective.
fastertransformer/examples/tensorflow/bert/bert-quantization/utils/create_pretraining_data.py:347
↓ 1 callers
Function
create_masked_lm_predictions
Creates the predictions for the masked LM objective.
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/create_pretraining_data.py:314
↓ 1 callers
Function
create_model
Creates a classification model.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/profile_bert_inference.py:44
↓ 1 callers
Function
create_model
Creates a classification model.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/run_squad.py:550
↓ 1 callers
Function
create_model
Creates a classification model.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/run_classifier_with_tfhub.py:37
↓ 1 callers
Function
create_model
Creates a classification model.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/run_classifier.py:574
↓ 1 callers
Method
create_model
(self)
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/modeling_test.py:71
↓ 1 callers
Function
create_task
(subject)
algorithm/lm_eval/tasks/hendrycks_test.py:97
↓ 1 callers
Function
create_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 callers
Function
create_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 callers
Function
create_training_instances
Create `TrainingInstance`s from raw text.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/create_pretraining_data.py:179
↓ 1 callers
Function
create_training_instances
Create `TrainingInstance`s from raw text.
fastertransformer/examples/tensorflow/bert/bert-quantization/utils/create_pretraining_data.py:179
↓ 1 callers
Function
create_training_instances
Create `TrainingInstance`s from raw text.
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/create_pretraining_data.py:146
↓ 1 callers
Function
create_translation_task
(dataset, language_pair, version=0)
algorithm/lm_eval/tasks/translation.py:107
↓ 1 callers
Function
cross_check
(name, tf_val, op_val, atol_threshold)
fastertransformer/examples/tensorflow/decoder/utils/common.py:275
↓ 1 callers
Method
cuFuncSetAttribute
fastertransformer/3rdparty/trt_fused_multihead_attention/cudaDriverWrapper.cpp:76
↓ 1 callers
Method
cuGetErrorName
fastertransformer/3rdparty/common/cudaDriverWrapper.cpp:71
↓ 1 callers
Method
cuGetErrorName
fastertransformer/3rdparty/trt_fused_multihead_attention/cudaDriverWrapper.cpp:71
↓ 1 callers
Method
cuModuleGetFunction
fastertransformer/3rdparty/trt_fused_multihead_attention/cudaDriverWrapper.cpp:107
↓ 1 callers
Method
cuModuleLoadData
fastertransformer/3rdparty/trt_fused_multihead_attention/cudaDriverWrapper.cpp:96
↓ 1 callers
Function
cublasTester
fastertransformer/tests/unittests/fp8_gemm_test/worker.cpp:207
↓ 1 callers
Method
cudaError
Returns the underlying CUDA \p cudaError_t
fastertransformer/3rdparty/cutlass/tools/util/include/cutlass/util/exceptions.h:54
↓ 1 callers
Function
custom_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 callers
Method
data
Returns the pointer to referenced data
fastertransformer/3rdparty/cutlass/include/cutlass/tensor_ref_planar_complex.h:220
↓ 1 callers
Method
data
Returns a pointer to the shared memory buffer
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/threadblock/epilogue_planar_complex.h:181
↓ 1 callers
Method
decode
(self, ids)
fastertransformer/3rdparty/Megatron-LM/megatron/tokenizer/tokenizer.py:191
↓ 1 callers
Function
deserialize_h2h
fastertransformer/src/fastertransformer/models/bert_fp8/serialize.hpp:89
↓ 1 callers
Method
detokenize
(self, text)
algorithm/lm_eval/tasks/cbt.py:57
↓ 1 callers
Method
detokenize
(self, token_ids)
fastertransformer/examples/pytorch/gptneox/utils/hftokenizer.py:32
↓ 1 callers
Function
detokenize_generations
Detokenize the generated tokens.
fastertransformer/3rdparty/Megatron-LM/megatron/text_generation/tokenization.py:26
↓ 1 callers
Method
device
(self)
algorithm/models/LMClass.py:63
↓ 1 callers
Method
device_view_real
Accesses the tensor reference pointing to data
fastertransformer/3rdparty/cutlass/tools/util/include/cutlass/util/host_tensor_planar_complex.h:358
↓ 1 callers
Method
diag_type_name
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/trmm_operation.py:139
↓ 1 callers
Function
disposition_status_color
fastertransformer/3rdparty/cutlass/tools/profiler/src/performance_report.cpp:227
↓ 1 callers
Method
distribute_articles_over_shards
(self)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/data/TextSharding.py:146
↓ 1 callers
Method
doc_to_decontamination_query
(self, doc)
algorithm/lm_eval/base.py:506
↓ 1 callers
Method
doc_to_target
(self, doc)
algorithm/lm_eval/base.py:517
↓ 1 callers
Method
doc_to_target
(self, doc)
algorithm/lm_eval/base.py:728
↓ 1 callers
Method
doc_to_target
(self, doc)
algorithm/lm_eval/tasks/lambada.py:55
↓ 1 callers
Method
doc_to_target
(self, doc)
algorithm/lm_eval/tasks/asdiv.py:75
↓ 1 callers
Function
domain_is_in_blacklist
(url)
fastertransformer/3rdparty/Megatron-LM/tools/openwebtext/blacklist_urls.py:138
↓ 1 callers
Method
dot
Computes the dot product with anotherCoord object
fastertransformer/3rdparty/cutlass/include/cutlass/coord.h:249
↓ 1 callers
Method
download
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 callers
Method
download
(self)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/data/WikiDownloader.py:39
↓ 1 callers
Method
download
(self, task_name)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/data/GLUEDownloader.py:29
↓ 1 callers
Method
download
(self)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/data/BooksDownloader.py:22
↓ 1 callers
Method
download
(self)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/data/GooglePretrainedWeightDownloader.py:116
↓ 1 callers
Method
download
(self)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/data/SquadDownloader.py:41
↓ 1 callers
Method
download
(self)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/data/NVIDIAPretrainedWeightDownloader.py:26
↓ 1 callers
Function
dump_predictions
(path, label_map, preds, examples)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/run_glue.py:467
↓ 1 callers
Method
elapsed_time_in_sec
(self, tag)
fastertransformer/examples/pytorch/gpt/utils/profiler.py:20
↓ 1 callers
Function
eligible_modules
(model, whitelist_layer_types, allowed_layer_names, disallowed_layer_names)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/asp.py:12
↓ 1 callers
Method
embed_block
Embed a batch of tokens using the block model
fastertransformer/3rdparty/Megatron-LM/megatron/model/realm_model.py:81
↓ 1 callers
Method
embed_query
Embed a batch of tokens using the query model
fastertransformer/3rdparty/Megatron-LM/megatron/model/realm_model.py:72
↓ 1 callers
Function
embedding_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 callers
Function
embedding_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 callers
Function
embedding_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 callers
Function
embedding_lookup
TPU and GPU embedding_lookup function.
fastertransformer/examples/tensorflow/xlnet/modeling.py:39
↓ 1 callers
Function
embedding_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 callers
Function
embedding_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 callers
Function
embedding_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 callers
Method
emit
(self, operation)
fastertransformer/3rdparty/cutlass/tools/library/scripts/rank_k_operation.py:225
↓ 1 callers
Method
emit
(self, operation)
fastertransformer/3rdparty/cutlass/tools/library/scripts/gemm_operation.py:257
↓ 1 callers
Method
emit
(self, operation)
fastertransformer/3rdparty/cutlass/tools/library/scripts/trmm_operation.py:241
↓ 1 callers
Method
emit
(self, target = GeneratorTarget.Library)
fastertransformer/3rdparty/cutlass/tools/library/scripts/manifest.py:349
↓ 1 callers
Method
emit
(self, operation)
fastertransformer/3rdparty/cutlass/tools/library/scripts/conv2d_operation.py:167
↓ 1 callers
Method
emit
(self, operation)
fastertransformer/3rdparty/cutlass/tools/library/scripts/symm_operation.py:235
↓ 1 callers
Method
emit
(self, operation)
fastertransformer/3rdparty/cutlass/tools/library/scripts/rank_2k_operation.py:232
↓ 1 callers
Method
emit
(self, operation)
fastertransformer/3rdparty/cutlass/tools/library/scripts/conv3d_operation.py:143
↓ 1 callers
Method
emit
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/conv2d_operation.py:305
↓ 1 callers
Method
emit
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/reduction_operation.py:215
↓ 1 callers
Method
emit_
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/rt.py:680
↓ 1 callers
Method
emit_compile_
Compile a list of kernels and store them into database
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/compiler.py:202
↓ 1 callers
Method
emit_visitor
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/epilogue.py:318
↓ 1 callers
Method
enable
< 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 callers
Method
enable
< CUTLASS_HOST_DEVICE enables all accesses guarded by mask
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/threadblock/predicated_tile_iterator_predicates.h:153
↓ 1 callers
Method
enable
< CUTLASS_HOST_DEVICE enables all accesses guarded by mask
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/threadblock/predicated_tile_iterator_affine.h:235
↓ 1 callers
Method
enable
< CUTLASS_HOST_DEVICE enables all accesses guarded by mask
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/threadblock/predicated_tile_iterator_strided_dgrad.h:163
↓ 1 callers
Method
enable
< CUTLASS_HOST_DEVICE enables all accesses guarded by mask
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/threadblock/predicated_tile_iterator_blas3.h:159
↓ 1 callers
Method
enable_mask
Clears the predicate set efficiently
fastertransformer/3rdparty/cutlass/include/cutlass/transform/threadblock/predicated_tile_access_iterator_triangular_matrix.h:862
↓ 1 callers
Method
enable_mask
Clears the predicate set efficiently
fastertransformer/3rdparty/cutlass/include/cutlass/transform/threadblock/predicated_tile_access_iterator_2dthreadtile.h:808
↓ 1 callers
Function
encode_ids
(sp_model, text, sample=False)
fastertransformer/examples/tensorflow/xlnet/convertInput.py:386
↓ 1 callers
Function
encode_pieces
(sp_model, text, return_unicode=True, sample=False)
fastertransformer/examples/tensorflow/xlnet/convertInput.py:349
↓ 1 callers
Function
encoder_example
(args_dict)
fastertransformer/examples/tensorflow/encoder/encoder_example.py:44
↓ 1 callers
Method
end_document
(self)
fastertransformer/3rdparty/Megatron-LM/megatron/data/indexed_dataset.py:291
↓ 1 callers
Method
end_epilogue
Called after all steps have been completed
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/threadblock/epilogue_with_visitor.h:145
↓ 1 callers
Method
end_row
Called at the end of a row
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/threadblock/epilogue_with_visitor.h:133
↓ 1 callers
Method
end_step
Called after all accumulator elements have been visited
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/threadblock/epilogue_with_visitor.h:139
↓ 1 callers
Function
ensemble_predictions
(args)
fastertransformer/3rdparty/Megatron-LM/tasks/ensemble_classifier.py:120
↓ 1 callers
Function
ensure_directory_exists
Build filename's path if it does not already exists.
fastertransformer/3rdparty/Megatron-LM/megatron/checkpointing.py:77
↓ 1 callers
Method
entities
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 callers
Method
epilogue_output_op
(self, element_epilogue)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/epilogue.py:346
↓ 1 callers
Method
equal
(self, tensor_D, tensor_D_ref, problem_size)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/test/gemm_testbed.py:293
↓ 1 callers
Function
escape_xml_special_chars
fastertransformer/3rdparty/cutlass/tools/profiler/src/performance_report.cpp:405
↓ 1 callers
Function
evaluate
(lm, args, logger)
algorithm/main.py:67
↓ 1 callers
Function
evaluate
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 callers
Function
evaluate
Evaluation.
fastertransformer/3rdparty/Megatron-LM/megatron/training.py:765
↓ 1 callers
Function
evaluate
Evaluation.
fastertransformer/3rdparty/Megatron-LM/tasks/zeroshot_gpt/evaluate.py:128
← previous
next →
2,601–2,700 of 14,558, ranked by callers