MCPcopy Create free account

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

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

↓ 1 callersFunctiontest_load_fused_kernels
()
fastertransformer/3rdparty/Megatron-LM/megatron/fused_kernels/tests/test_fused_kernels.py:12
↓ 1 callersFunctiontest_model_parallel_cuda_manual_seed
(tensor_model_parallel_size)
fastertransformer/3rdparty/Megatron-LM/megatron/mpu/tests/test_random.py:157
↓ 1 callersFunctiontest_parallel_embedding
(tensor_model_parallel_size)
fastertransformer/3rdparty/Megatron-LM/megatron/mpu/tests/test_layers.py:29
↓ 1 callersFunctiontest_parallel_self_attention
(tensor_model_parallel_size)
fastertransformer/3rdparty/Megatron-LM/megatron/mpu/tests/test_layers.py:361
↓ 1 callersFunctiontest_parallel_transformer_layer
(tensor_model_parallel_size)
fastertransformer/3rdparty/Megatron-LM/megatron/mpu/tests/test_layers.py:449
↓ 1 callersMethodtest_roll_and_window_partition_backward
(self, dtype=torch.float32)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/kernels/window_process/unit_test.py:148
↓ 1 callersMethodtest_roll_and_window_partition_forward
(self, dtype=torch.float32)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/kernels/window_process/unit_test.py:133
↓ 1 callersFunctiontest_row_parallel_linear
(tensor_model_parallel_size)
fastertransformer/3rdparty/Megatron-LM/megatron/mpu/tests/test_layers.py:253
↓ 1 callersFunctiontest_set_cuda_rng_state
(tensor_model_parallel_size)
fastertransformer/3rdparty/Megatron-LM/megatron/mpu/tests/test_random.py:24
↓ 1 callersMethodtest_transpose_int8
(self)
fastertransformer/tests/weight_only_quant_ops/single_test.py:154
↓ 1 callersMethodtest_window_merge_and_roll_backward
(self, dtype=torch.float32)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/kernels/window_process/unit_test.py:181
↓ 1 callersMethodtest_window_merge_and_roll_forward
(self, dtype=torch.float32)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/kernels/window_process/unit_test.py:165
↓ 1 callersFunctiontf_decoder
Run the decoder transformer layer by TensorFlow. Args: decoder_args: The arguments for decoder. The details ar
fastertransformer/examples/tensorflow/decoder/utils/decoder.py:76
↓ 1 callersMethodthreadblock_idx
fastertransformer/src/fastertransformer/cutlass_extensions/include/cutlass_extensions/gemm/kernel/moe_problem_visitor.h:143
↓ 1 callersFunctionthreshold_predictions
(all_predictions, threshold)
fastertransformer/3rdparty/Megatron-LM/tasks/ensemble_classifier.py:69
↓ 1 callersFunctionthroughput
(data_loader, model, logger)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/main.py:415
↓ 1 callersFunctionthroughput
(data_loader, model, logger)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/main_moe.py:296
↓ 1 callersFunctionthroughput
(data_loader, model, logger)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/main.py:272
↓ 1 callersFunctionthrowRuntimeError
fastertransformer/src/fastertransformer/utils/cuda_utils.h:197
↓ 1 callersMethodtile_count
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/kernel/grouped_problem_visitor.h:172
↓ 1 callersMethodtile_count
fastertransformer/src/fastertransformer/cutlass_extensions/include/cutlass_extensions/gemm/kernel/moe_problem_visitor.h:179
↓ 1 callersMethodto_bfloat16
(self)
fastertransformer/examples/pytorch/bart/utils/ft_decoding.py:271
↓ 1 callersMethodto_bfloat16
(self)
fastertransformer/examples/pytorch/bart/utils/ft_encoder.py:215
↓ 1 callersMethodto_bfloat16
(self)
fastertransformer/examples/pytorch/swin/SwinTransformerWeightTransposeQKVWeight.py:202
↓ 1 callersMethodto_cuda
(self)
fastertransformer/examples/pytorch/vit/VisionTransformerWeightLoader.py:134
↓ 1 callersMethodto_cuda
(self)
fastertransformer/examples/pytorch/encoder/utils/ft_encoder.py:79
↓ 1 callersMethodto_cuda
(self)
fastertransformer/examples/pytorch/t5/utils/ft_decoding.py:405
↓ 1 callersMethodto_cuda
(self)
fastertransformer/examples/pytorch/t5/utils/ft_encoder.py:339
↓ 1 callersMethodto_dict
Serializes this instance to a Python dictionary.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/my_modeling.py:100
↓ 1 callersMethodto_dict
Serializes this instance to a Python dictionary.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/modeling.py:97
↓ 1 callersMethodto_float
(self)
fastertransformer/examples/pytorch/t5/utils/ft_decoding.py:409
↓ 1 callersMethodto_half
(self)
fastertransformer/examples/pytorch/bart/utils/ft_decoding.py:263
↓ 1 callersMethodto_half
(self)
fastertransformer/examples/pytorch/bart/utils/ft_encoder.py:207
↓ 1 callersMethodto_half
(self)
fastertransformer/examples/pytorch/vit/VisionTransformerWeightLoader.py:138
↓ 1 callersMethodto_half
(self)
fastertransformer/examples/pytorch/encoder/utils/ft_encoder.py:83
↓ 1 callersMethodto_json_string
Serializes this instance to a JSON string.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/modeling.py:102
↓ 1 callersFunctionto_list
(tensor)
fastertransformer/examples/pytorch/bert/run_squad.py:54
↓ 1 callersFunctionto_word_list_format
(word_dict, tokenizer=None)
fastertransformer/examples/pytorch/llama/utils/word_list.py:36
↓ 1 callersFunctionto_word_list_format
(word_dict, tokenizer=None)
fastertransformer/examples/pytorch/gpt/utils/word_list.py:36
↓ 1 callersFunctionto_word_list_format
(word_dict, tokenizer=None)
fastertransformer/examples/pytorch/llama2/utils/word_list.py:36
↓ 1 callersMethodtok_decode
(self, tokens: Iterable[int])
algorithm/lm_eval/base.py:151
↓ 1 callersMethodtok_decode
(self, tokens: torch.LongTensor)
algorithm/lm_eval/models/huggingface.py:303
↓ 1 callersMethodtok_decode
(self, tokens: Iterable[int])
algorithm/models/models_utils.py:188
↓ 1 callersFunctiontoken_f1_score
Taken from the official evaluation script for v1.1 of the SQuAD dataset.
algorithm/lm_eval/tasks/qasper.py:88
↓ 1 callersMethodtokenize
Tokenize a string.
fastertransformer/3rdparty/Megatron-LM/megatron/tokenizer/gpt2_tokenization.py:236
↓ 1 callersMethodtokenize
Tokenizes a piece of text.
fastertransformer/examples/tensorflow/bert/bert-quantization/tokenization.py:250
↓ 1 callersMethodtokenize
Tokenizes a piece of text.
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/tokenization.py:192
↓ 1 callersMethodtokenize
(self, text: str)
fastertransformer/examples/pytorch/gptneox/utils/hftokenizer.py:26
↓ 1 callersFunctiontokenize_prompts
Tokenize prompts and make them avaiable on all ranks.
fastertransformer/3rdparty/Megatron-LM/megatron/text_generation/tokenization.py:60
↓ 1 callersFunctiontopk_accuracy
(k)
fastertransformer/3rdparty/Megatron-LM/pretrain_ict.py:110
↓ 1 callersFunctiontopk_accuracy
(k)
fastertransformer/3rdparty/Megatron-LM/tasks/orqa/supervised/eval_utils.py:179
↓ 1 callersFunctiontorch_cross_entropy
(batch_size, seq_length, vocab_size, logits_scale, seed)
fastertransformer/3rdparty/Megatron-LM/megatron/mpu/tests/test_cross_entropy.py:29
↓ 1 callersMethodtrack_and_report_progress
Utility function for tracking progress
fastertransformer/3rdparty/Megatron-LM/megatron/indexer.py:67
↓ 1 callersFunctiontrain
Train the model function.
fastertransformer/3rdparty/Megatron-LM/megatron/training.py:661
↓ 1 callersFunctiontrain
(args, config)
fastertransformer/examples/pytorch/vit/ViT-quantization/main.py:196
↓ 1 callersFunctiontrain
(args, config)
fastertransformer/examples/pytorch/vit/ViT-quantization/eval_engine.py:301
↓ 1 callersFunctiontrain
Train the model
fastertransformer/examples/pytorch/vit/ViT-quantization/ViT-pytorch/train.py:141
↓ 1 callersFunctiontrain_loop
(args, model, optimizer, step, num_steps)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/test/checkpointing_test_part2.py:31
↓ 1 callersFunctiontrain_one_epoch
(config, model, criterion, data_loader_train, optimizer, epoch, mixup_fn, teacher, dis_loss)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/main.py:242
↓ 1 callersFunctiontrain_one_epoch
(config, model, criterion, data_loader, optimizer, epoch, mixup_fn, lr_scheduler, loss_scaler)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/main_moe.py:178
↓ 1 callersFunctiontrain_one_epoch
(config, model, criterion, data_loader, optimizer, epoch, mixup_fn, lr_scheduler, loss_scaler)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/main.py:163
↓ 1 callersFunctiontrain_step
(args, model, optimizer, input_batch, target_batch, step)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/test/toy_problem.py:21
↓ 1 callersFunctiontrain_step
(args, model, optimizer, input_batch, target_batch, step)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/test/checkpointing_test_part1.py:21
↓ 1 callersFunctiontrain_step
(args, model, optimizer, input_batch, target_batch, step)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/test/checkpointing_test_reference.py:25
↓ 1 callersFunctiontrain_step
(args, model, optimizer, input_batch, target_batch, step)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/test/checkpointing_test_part2.py:21
↓ 1 callersFunctiontrain_valid_datasets_provider
Provide train and validation datasets.
fastertransformer/3rdparty/Megatron-LM/tasks/race/finetune.py:28
↓ 1 callersFunctiontrain_valid_datasets_provider
Build train and validation dataset.
fastertransformer/3rdparty/Megatron-LM/tasks/vision/classification.py:27
↓ 1 callersMethodtraining_docs
:return: Iterable[obj] A iterable of any object, that doc_to_text can handle
algorithm/lm_eval/base.py:468
↓ 1 callersMethodtraining_docs
(self)
algorithm/lm_eval/tasks/naturalqs.py:46
↓ 1 callersMethodtransform
fastertransformer/3rdparty/cutlass/include/cutlass/transform/thread/transpose.h:60
↓ 1 callersFunctiontransformer_model
Multi-headed, multi-layer Transformer from "Attention is All You Need". This is almost an exact implementation of the original Transformer encoder.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/my_modeling.py:763
↓ 1 callersFunctiontransformer_model
Multi-headed, multi-layer Transformer from "Attention is All You Need". This is almost an exact implementation of the original Transformer encoder.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/modeling.py:754
↓ 1 callersFunctiontransformer_model
Multi-headed, multi-layer Transformer from "Attention is All You Need". This is almost an exact implementation of the original Transformer encoder.
fastertransformer/examples/tensorflow/bert/bert-quantization/modeling.py:816
↓ 1 callersFunctiontranslate
(args_dict)
fastertransformer/examples/tensorflow/decoding/translate_example.py:82
↓ 1 callersFunctiontranslate
(args_dict)
fastertransformer/examples/tensorflow/t5/translate_example.py:82
↓ 1 callersFunctiontranslate
(args_dict)
fastertransformer/examples/pytorch/bart/translate_example.py:63
↓ 1 callersFunctiontranslate
(args_dict)
fastertransformer/examples/pytorch/t5/perf_benchmark.py:78
↓ 1 callersMethodtranslate_batch
Translate a batch of sentences.
fastertransformer/examples/pytorch/decoding/utils/translator.py:433
↓ 1 callersMethodtranslate_batch_ftdecoding
(self, batch, src_vocabs)
fastertransformer/examples/pytorch/decoding/utils/translator.py:468
↓ 1 callersMethodtranspose_key_for_scores
(self, x)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/modeling.py:418
↓ 1 callersFunctiontruncate_segments
Truncates a pair of sequences to a maximum sequence length.
fastertransformer/3rdparty/Megatron-LM/megatron/data/dataset_utils.py:121
↓ 1 callersFunctiontruncate_seq_pair
Truncates a pair of sequences to a maximum sequence length.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/create_pretraining_data.py:418
↓ 1 callersFunctiontruncate_seq_pair
Truncates a pair of sequences to a maximum sequence length.
fastertransformer/examples/tensorflow/bert/bert-quantization/utils/create_pretraining_data.py:400
↓ 1 callersFunctiontruncate_seq_pair
Truncates a pair of sequences to a maximum sequence length.
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/create_pretraining_data.py:367
↓ 1 callersFunctiontwo_stream_rel_attn
Two-stream attention with relative positional encoding.
fastertransformer/examples/tensorflow/xlnet/modeling.py:332
↓ 1 callersMethoduntokenize
Returns the original text (with whitespace reinserted).
fastertransformer/3rdparty/Megatron-LM/tasks/orqa/unsupervised/tokenizers.py:48
↓ 1 callersFunctionupdate
(accum_vars)
fastertransformer/examples/tensorflow/bert/bert-quantization/optimization.py:142
↓ 1 callersMethodupdate
Lightweight update given a subset of arguments
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/device/rank_2k.h:293
↓ 1 callersMethodupdate
Lightweight update given a subset of arguments
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/device/rank_k.h:270
↓ 1 callersMethodupdate
Lightweight update given a subset of arguments
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/device/gemm_splitk_parallel.h:320
↓ 1 callersMethodupdate
Lightweight update given a subset of arguments
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/device/gemm_batched.h:396
↓ 1 callersMethodupdate
Lightweight update given a subset of arguments
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/device/gemm.h:454
↓ 1 callersMethodupdate
Lightweight update given a subset of arguments
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/device/gemm_complex.h:410
↓ 1 callersMethodupdate
Lightweight update given a subset of arguments
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/device/gemm_array.h:401
↓ 1 callersMethodupdate
Lightweight update given a subset of arguments
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/device/symm.h:301
↓ 1 callersMethodupdate
(self, consumed_samples, consistency_check)
fastertransformer/3rdparty/Megatron-LM/megatron/microbatches.py:139
↓ 1 callersMethodupdateShape
fastertransformer/src/fastertransformer/utils/Tensor.h:295
↓ 1 callersFunctionupdate_config
(config, args)
fastertransformer/examples/pytorch/vit/ViT-quantization/config.py:187
↓ 1 callersFunctionupdate_config
(config, args)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/config.py:256
↓ 1 callersFunctionupdate_train_iters
(args)
fastertransformer/3rdparty/Megatron-LM/megatron/training.py:167
← previousnext →3,701–3,800 of 14,558, ranked by callers