MCPcopy Create free account

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

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

↓ 1 callersFunctionurl_is_malformed
(url)
fastertransformer/3rdparty/Megatron-LM/tools/openwebtext/blacklist_urls.py:229
↓ 1 callersFunctionurl_to_filename
Convert `url` into a hashed filename in a repeatable way. If `etag` is specified, append its hash to the url's, delimited by a period.
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/file_utils.py:53
↓ 1 callersFunctionusage
()
fastertransformer/examples/tensorflow/xlnet/convertInput.py:542
↓ 1 callersFunctionusage
()
fastertransformer/examples/tensorflow/xlnet/convertModel.py:34
↓ 1 callersFunctionusage
()
fastertransformer/examples/tensorflow/xlnet/runData.py:101
↓ 1 callersFunctionvalid
Returns whether access is valid or not
fastertransformer/3rdparty/cutlass/examples/42_fused_multi_head_attention/iterators/predicated_tile_access_iterator_residual_last.h:429
↓ 1 callersFunctionvalid
Returns true if the current coordinate is within the output tensor Dy
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv2d_dgrad_output_gradient_tile_access_iterator_analytic.h:288
↓ 1 callersFunctionvalid
Returns whether access is valid or not
fastertransformer/3rdparty/cutlass/include/cutlass/transform/threadblock/predicated_tile_access_iterator.h:641
↓ 1 callersFunctionvalid
(args, model, writer, test_loader, global_step)
fastertransformer/examples/pytorch/vit/ViT-quantization/ViT-pytorch/train.py:89
↓ 1 callersMethodvalid
Returns whether access is valid or not
fastertransformer/3rdparty/cutlass/include/cutlass/transform/threadblock/predicated_tile_access_iterator_triangular_matrix.h:880
↓ 1 callersMethodvalid
Returns whether access is valid or not
fastertransformer/3rdparty/cutlass/include/cutlass/transform/threadblock/predicated_tile_access_iterator_2dthreadtile.h:820
↓ 1 callersFunctionvalid_
Returns true if the coord is within the output gradient tensor Dy
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv2d_wgrad_output_gradient_tile_access_iterator_optimized.h:240
↓ 1 callersFunctionvalid_
Returns true if the coord is within the output gradient tensor Dy
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv3d_wgrad_output_gradient_tile_access_iterator_optimized.h:243
↓ 1 callersFunctionvalidate
(args, data_config, config, model)
fastertransformer/examples/pytorch/vit/infer_visiontransformer_int8_op.py:121
↓ 1 callersFunctionvalidate
(config, args, data_loader, model)
fastertransformer/examples/pytorch/swin/infer_swintransformer_int8_op.py:114
↓ 1 callersFunctionvalidate
(config, args, data_loader, model)
fastertransformer/examples/pytorch/swin/infer_swintransformer_acc.py:144
↓ 1 callersFunctionvalidate_flags_or_throw
Validate the input FLAGS or throw an exception.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/run_squad.py:1097
↓ 1 callersFunctionvalidate_flags_or_throw
Validate the input FLAGS or throw an exception.
fastertransformer/examples/tensorflow/bert/bert-quantization/run_squad.py:948
↓ 1 callersFunctionvalidate_trt
(args, config)
fastertransformer/examples/pytorch/vit/ViT-quantization/eval_engine.py:198
↓ 1 callersFunctionvalidate_trt
(config, data_loader, model, engine)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/main.py:346
↓ 1 callersFunctionvalidate_with_random_data
(plugin_loader:ViTPluginLoader, model, engine)
fastertransformer/examples/tensorrt/vit/infer_visiontransformer_plugin.py:152
↓ 1 callersFunctionvalidate_with_random_data
(plugin_loader:ViTINT8PluginLoader, model, engine)
fastertransformer/examples/tensorrt/vit/infer_visiontransformer_int8_plugin.py:149
↓ 1 callersFunctionvalidate_with_random_data
(config, args, model)
fastertransformer/examples/tensorrt/swin/infer_swintransformer_plugin_int8.py:146
↓ 1 callersFunctionvalidate_with_random_data
(config, args, model)
fastertransformer/examples/tensorrt/swin/infer_swintransformer_plugin.py:170
↓ 1 callersFunctionvalidate_with_random_data
(args, model_cfg, model)
fastertransformer/examples/pytorch/vit/infer_visiontransformer_int8_op.py:310
↓ 1 callersFunctionvalidate_with_random_data
(args, config, model)
fastertransformer/examples/pytorch/vit/infer_visiontransformer_op.py:166
↓ 1 callersFunctionvalidate_with_random_data
(config, args, model)
fastertransformer/examples/pytorch/swin/infer_swintransformer_int8_op.py:275
↓ 1 callersFunctionvalidate_with_random_data
(args, config, model)
fastertransformer/examples/pytorch/swin/infer_swintransformer_op.py:191
↓ 1 callersMethodvalidation_docs
:return: Iterable[obj] A iterable of any object, that doc_to_text can handle
algorithm/lm_eval/base.py:475
↓ 1 callersMethodverify
Verifies the result is a TRMM
fastertransformer/3rdparty/cutlass/test/unit/gemm/device/testbed_trmm_universal.h:296
↓ 1 callersMethodverify
Verifies the result is a GEMM
fastertransformer/3rdparty/cutlass/test/unit/gemm/device/testbed_gemm_with_reduction.h:310
↓ 1 callersMethodverify
Verifies the result is a Symm
fastertransformer/3rdparty/cutlass/test/unit/gemm/device/testbed_symm_universal.h:254
↓ 1 callersMethodverify
Verifies the result is a GEMM
fastertransformer/3rdparty/cutlass/test/unit/gemm/device/testbed_complex.h:84
↓ 1 callersMethodverify
Verifies the result is a Rank2K
fastertransformer/3rdparty/cutlass/test/unit/gemm/device/testbed_rank2k_universal.h:248
↓ 1 callersMethodverify
Verifies the result is a GEMM
fastertransformer/3rdparty/cutlass/test/unit/gemm/device/testbed_sparse.h:271
↓ 1 callersMethodverify
Verifies the result is a GEMM
fastertransformer/3rdparty/cutlass/test/unit/gemm/device/testbed_universal.h:229
↓ 1 callersMethodverify
Verifies the result is a RankK
fastertransformer/3rdparty/cutlass/test/unit/gemm/device/testbed_rank_k_universal.h:239
↓ 1 callersMethodverify
Verifies the result is a GEMM
fastertransformer/3rdparty/cutlass/test/unit/gemm/device/testbed_gemm_with_broadcast.h:320
↓ 1 callersFunctionversion_of
(dataset, language_pair)
algorithm/lm_eval/tasks/translation.py:59
↓ 1 callersMethodvisit
Called after accumulators have been exchanged for each accumulator vector
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/threadblock/epilogue_with_visitor.h:122
↓ 1 callersMethodvisualize
visualization method
fastertransformer/3rdparty/cutlass/examples/03_visualize_layout/visualize_layout.h:179
↓ 1 callersFunctionvocab_parallel_cross_entropy
Helper function for the cross entropy.
fastertransformer/3rdparty/Megatron-LM/megatron/mpu/cross_entropy.py:108
↓ 1 callersMethodvocab_range_from_global_vocab_size
(global_vocab_size, rank, world_size)
fastertransformer/3rdparty/Megatron-LM/megatron/mpu/utils.py:67
↓ 1 callersMethodvocab_range_from_per_partition_vocab_size
(per_partition_vocab_size, rank, world_size)
fastertransformer/3rdparty/Megatron-LM/megatron/mpu/utils.py:60
↓ 1 callersMethodvocab_size
(self)
fastertransformer/3rdparty/Megatron-LM/megatron/tokenizer/tokenizer.py:80
↓ 1 callersFunctionwarmup_linear
(x, warmup=0.002)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/optimization.py:46
↓ 1 callersFunctionwarp_mma_planar_complex
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/threadblock/mma_planar_complex_pipelined.h:87
↓ 1 callersFunctionwarp_mma_planar_complex
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/threadblock/mma_planar_complex_multistage.h:312
↓ 1 callersMethodwhat
fastertransformer/tests/unittests/unittest_utils.h:47
↓ 1 callersMethodwhereToString
fastertransformer/src/fastertransformer/utils/Tensor.cc:225
↓ 1 callersFunctionwhite_space_fix
(text)
algorithm/lm_eval/tasks/qasper.py:52
↓ 1 callersFunctionwhite_space_fix
(text)
fastertransformer/3rdparty/Megatron-LM/tasks/orqa/unsupervised/qa_utils.py:163
↓ 1 callersFunctionwhite_space_fix
(text)
fastertransformer/examples/tensorflow/bert/tensorflow_bert/squad_evaluate-v1.1.py:30
↓ 1 callersFunctionwhite_space_fix
(text)
fastertransformer/examples/tensorflow/bert/tensorflow_bert/squad_evaluate_v1_1.py:30
↓ 1 callersFunctionwikitext_detokenizer
(string)
algorithm/lm_eval/tasks/wikitext.py:28
↓ 1 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/kernels/window_process/unit_test.py:67
↓ 1 callersFunctionwindow_partition
Args: x: (B, H, W, C) window_size (int): window size Returns: windows: (num_windows*B, window_size, window_size, C)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/models/swin_mlp.py:34
↓ 1 callersFunctionwindow_reverse
Args: windows: (num_windows*B, window_size, window_size, C) window_size (int): Window size H (int): Height of image
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/kernels/window_process/unit_test.py:80
↓ 1 callersFunctionwindow_reverse
Args: windows: (num_windows*B, window_size, window_size, C) window_size (int): Window size H (int): Height of image
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/models/swin_mlp.py:49
↓ 1 callersFunctionwindow_reverse
Args: windows: (num_windows*B, window_size, window_size, C) window_size (int): Window size H (int): Height of image
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/models/swin_transformer_moe.py:119
↓ 1 callersFunctionwindow_reverse
Args: windows: (num_windows*B, window_size, window_size, C) window_size (int): Window size H (int): Height of image
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/models/swin_transformer_v2.py:50
↓ 1 callersFunctionwindow_reverse
Args: windows: (num_windows*B, window_size, window_size, C) window_size (int): Window size H (int): Height of image
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/models/swin_transformer.py:66
↓ 1 callersFunctionwindow_reverse
Args: windows: (num_windows*B, window_size, window_size, C) window_size (int): Window size H (int): Height of image
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/models/swin_transformer_v2.py:66
↓ 1 callersFunctionword_ngrams_indices
Splits a string into pairs of (ngram words, their start/end indices)
algorithm/lm_eval/decontamination/janitor.py:78
↓ 1 callersMethodworkspace_size
Returns the size (in bytes) of a temporary workspace needed for reduction across CTAs
fastertransformer/3rdparty/cutlass/include/cutlass/reduction/device/tensor_reduce.h:160
↓ 1 callersFunctionwrite_args_to_tensorboard
Write arguments to tensorboard.
fastertransformer/3rdparty/Megatron-LM/megatron/initialize.py:223
↓ 1 callersFunctionwrite_config_file
(save_dir, **kwargs)
fastertransformer/examples/tensorflow/t5/utils/tf_saved_model_t5_ckpt_convert.py:30
↓ 1 callersFunctionwrite_config_file
(save_dir, **kwargs)
fastertransformer/examples/tensorflow/t5/utils/jax_t5_ckpt_convert.py:32
↓ 1 callersFunctionwrite_config_file
(save_dir)
fastertransformer/examples/pytorch/gptneox/utils/eleutherai_gpt_neox_convert.py:66
↓ 1 callersFunctionwrite_instance_to_example_file
Create TF example files from `TrainingInstance`s.
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/create_pretraining_data.py:65
↓ 1 callersFunctionwrite_instance_to_example_files
Create TF example files from `TrainingInstance`s.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/create_pretraining_data.py:96
↓ 1 callersFunctionwrite_instance_to_example_files
Create TF example files from `TrainingInstance`s.
fastertransformer/examples/tensorflow/bert/bert-quantization/utils/create_pretraining_data.py:65
↓ 1 callersFunctionwrite_output_tensors
fastertransformer/examples/cpp/multi_gpu_gpt/gpt_example_utils.cc:445
↓ 1 callersFunctionwrite_predictions
(all_predictions, all_labels, all_uid, args)
fastertransformer/3rdparty/Megatron-LM/tasks/ensemble_classifier.py:93
↓ 1 callersFunctionwrite_predictions
Write final predictions to the json file and log-odds of null if needed.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/run_squad.py:741
↓ 1 callersFunctionwrite_predictions
Write final predictions to the json file and log-odds of null if needed.
fastertransformer/examples/tensorflow/bert/bert-quantization/run_squad.py:630
↓ 1 callersMethodwrite_shards_to_disk
(self)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/data/TextSharding.py:297
↓ 1 callersFunctionxnli_task
(args_dict)
fastertransformer/examples/pytorch/t5/xnli_task_example.py:132
↓ 1 callersMethodzero
Reset the buffer to zero.
fastertransformer/3rdparty/Megatron-LM/megatron/model/distributed.py:39
↓ 1 callersMethodzero_grad_buffer
Set the grad buffer data to zero. Needs to be called at the begining of each iteration.
fastertransformer/3rdparty/Megatron-LM/megatron/model/distributed.py:180
↓ 1 callersMethodzero_parameters
Zero out all parameters in embedding.
fastertransformer/3rdparty/Megatron-LM/megatron/model/language_model.py:164
MethodAbstractCustomComm
fastertransformer/src/fastertransformer/utils/custom_ar_comm.h:33
MethodAffineRank2ColumnMajor
Ctor
fastertransformer/3rdparty/cutlass/include/cutlass/layout/matrix.h:764
MethodAffineRank2RowMajor
Ctor
fastertransformer/3rdparty/cutlass/include/cutlass/layout/matrix.h:872
MethodAffineRankN
Ctor
fastertransformer/3rdparty/cutlass/include/cutlass/layout/matrix.h:623
MethodAllocator
fastertransformer/src/fastertransformer/utils/allocator.h:148
MethodAllocator
fastertransformer/src/fastertransformer/utils/allocator.h:303
MethodAllocator
fastertransformer/src/fastertransformer/utils/allocator.h:404
MethodApplyFinalReduction
fastertransformer/3rdparty/cutlass/examples/37_gemm_layernorm_gemm_fusion/gemm_with_layernorm.h:153
MethodApplyLogSumExp
fastertransformer/3rdparty/cutlass/examples/42_fused_multi_head_attention/epilogue_thread_apply_logsumexp.h:129
MethodApplySoftmax
fastertransformer/3rdparty/cutlass/examples/35_gemm_softmax/gemm_with_softmax.h:187
MethodApplySoftmaxFinalReduction
fastertransformer/3rdparty/cutlass/include/cutlass/reduction/kernel/reduce_softmax_final.h:170
FunctionAqBMMAExecFn
engine/mma_any/aq_bmma_op.h:155
FunctionAqBMMAExecFn
algorithm/ABQ/csrc/mma_any/aq_bmma_op.h:161
FunctionAqBMMAExecFn
fastertransformer/src/fastertransformer/kernels/abqgemm/mma_any/aq_bmma_op.h:147
FunctionAqBMMAInitFn
engine/mma_any/aq_bmma_op.h:141
FunctionAqBMMAInitFn
algorithm/ABQ/csrc/mma_any/aq_bmma_op.h:147
FunctionAqBMMAInitFn
fastertransformer/src/fastertransformer/kernels/abqgemm/mma_any/aq_bmma_op.h:133
FunctionAqBWMMAExecFn
engine/mma_any/aq_wmma_op.h:161
FunctionAqBWMMAExecFn
algorithm/ABQ/csrc/mma_any/aq_wmma_op.h:161
← previousnext →3,801–3,900 of 14,558, ranked by callers