MCPcopy Create free account

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

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

↓ 1 callersFunctionmain
()
fastertransformer/examples/tensorrt/swin/builder_int8.py:291
↓ 1 callersFunctionmain
(config, args)
fastertransformer/examples/tensorrt/swin/infer_swintransformer_plugin.py:100
↓ 1 callersFunctionmain
(args)
fastertransformer/examples/tensorflow/deberta/deberta_example.py:40
↓ 1 callersFunctionmain
()
fastertransformer/examples/tensorflow/bert/bert-quantization/utils/create_pretraining_data.py:418
↓ 1 callersFunctionmain
()
fastertransformer/examples/tensorflow/bert/bert-quantization/utils/create_glue_data.py:479
↓ 1 callersFunctionmain
()
fastertransformer/examples/tensorflow/bert/bert-quantization/utils/create_squad_data.py:510
↓ 1 callersFunctionmain
()
fastertransformer/examples/tensorflow/decoding/translate_example.py:380
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/llama/inference_bytennv2.py:26
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/llama/llama_example.py:36
↓ 1 callersFunctionmain
(args, data_config)
fastertransformer/examples/pytorch/vit/infer_visiontransformer_int8_op.py:110
↓ 1 callersFunctionmain
(args)
fastertransformer/examples/pytorch/vit/infer_visiontransformer_op.py:72
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/vit/ViT-quantization/main.py:423
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/vit/ViT-quantization/eval_engine.py:530
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/vit/ViT-quantization/ViT-pytorch/train.py:242
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/longformer/longformer_qa.py:109
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/encoder/encoder_example.py:34
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/bert/run_squad.py:233
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/bert/run_glue.py:186
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/bert/bert_example.py:51
↓ 1 callersFunctionmain
(arguments)
fastertransformer/examples/pytorch/bert/utils/get_mrpc_data.py:63
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/bert/utils/update_bert_config.py:21
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/run_squad.py:744
↓ 1 callersFunctionmain
(args)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/run_glue.py:476
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/run_swag.py:246
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/run_pretraining.py:522
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/create_pretraining_data.py:385
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/extract_features.py:192
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/inference.py:219
↓ 1 callersFunctionmain
(args)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/test/toy_problem.py:38
↓ 1 callersFunctionmain
(args)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/test/checkpointing_test_part1.py:38
↓ 1 callersFunctionmain
(args)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/test/checkpointing_test_reference.py:42
↓ 1 callersFunctionmain
(step, args, model_state_dict, optimizer_state_dict)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/test/checkpointing_test_part2.py:38
↓ 1 callersFunctionmain
(args)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/data/bertPrep.py:27
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/decoding/decoding_example.py:32
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/gptneox/gptneox_example.py:33
↓ 1 callersFunctionmain
(in_file, tokenizer, out_file, action)
fastertransformer/examples/pytorch/gptneox/utils/hftokenizer.py:46
↓ 1 callersFunctionmain
Main program.
fastertransformer/examples/pytorch/gpt/evaluate_zeroshot_gpt.py:307
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/gpt/multi_gpu_gpt_example.py:35
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/gpt/bloom_lambada.py:299
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/gpt/gpt_summarization.py:33
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/gpt/gpt_example.py:35
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/gpt/lambada_task_example.py:122
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/gpt/opt_summarization.py:33
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/gpt/utils/huggingface_bloom_convert.py:464
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/gpt/utils/megatron_gpt_moe_ckpt_convert.py:647
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/gpt/utils/megatron_fp8_ckpt_convert.py:627
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/gpt/utils/megatron_ckpt_convert.py:501
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/gpt/utils/nemo_ckpt_convert.py:515
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/gpt/utils/update_gpt_config.py:21
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/decoder/decoder_example.py:32
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/llama2/llama_example.py:32
↓ 1 callersFunctionmain
(ckpt_dir, num_layers=28, total_shards=8)
fastertransformer/examples/pytorch/gptj/utils/gptj_ckpt_convert.py:172
↓ 1 callersFunctionmain
(args, config)
fastertransformer/examples/pytorch/swin/infer_swintransformer_int8_op.py:94
↓ 1 callersFunctionmain
(args, config)
fastertransformer/examples/pytorch/swin/infer_swintransformer_acc.py:116
↓ 1 callersFunctionmain
(args, config)
fastertransformer/examples/pytorch/swin/infer_swintransformer_op.py:82
↓ 1 callersFunctionmain
(config, args)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/main.py:130
↓ 1 callersFunctionmain
(config)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/main_moe.py:80
↓ 1 callersFunctionmain
(config)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/main.py:79
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/t5/summarization.py:43
↓ 1 callersFunctionmain
Enhance your model IA3 features. The converter has two modes: - Out-of-place: use dedicated IA3 weight files to apply the converters at
fastertransformer/examples/pytorch/t5/utils/nemo_t5_ia3.py:220
↓ 1 callersFunctionmain
()
fastertransformer/examples/pytorch/t5/utils/nemo_t5_ckpt_convert.py:1212
↓ 1 callersFunctionmake_dataset
Generates a list of samples of a form (path_to_sample, class). Args: directory (str): root dataset directory class_to_idx (Dict[st
fastertransformer/3rdparty/Megatron-LM/megatron/data/image_folder.py:64
↓ 1 callersFunctionmake_dataset
(dir, class_to_idx, extensions)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/data/cached_image_folder.py:36
↓ 1 callersFunctionmake_dataset_with_ann
(ann_file, img_prefix, extensions)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/data/cached_image_folder.py:54
↓ 1 callersFunctionmake_history_mask
(block)
fastertransformer/3rdparty/Megatron-LM/megatron/data/t5_dataset.py:257
↓ 1 callersFunctionmatch_results
(examples, features, results)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/run_squad.py:574
↓ 1 callersFunctionmatthews_corrcoef
(items)
algorithm/lm_eval/metrics.py:32
↓ 1 callersFunctionmaybe_copy
(attribute)
fastertransformer/3rdparty/Megatron-LM/megatron/mpu/layers.py:72
↓ 1 callersFunctionmaybe_set
(attribute, value)
fastertransformer/3rdparty/Megatron-LM/megatron/mpu/layers.py:64
↓ 1 callersFunctionmean_stderr
(arr)
algorithm/lm_eval/metrics.py:24
↓ 1 callersMethodmerge
(self)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/data/BookscorpusTextFormatting.py:25
↓ 1 callersFunctionmerge_adapters
(models)
fastertransformer/examples/pytorch/t5/utils/nemo_t5_ia3.py:47
↓ 1 callersFunctionmerge_moe_model_state_dict
(moe_model_state_dict, non_moe_model_state_dict)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/utils_moe.py:24
↓ 1 callersMethodmerge_shards_and_save
(self)
fastertransformer/3rdparty/Megatron-LM/megatron/data/realm_index.py:86
↓ 1 callersFunctionmkdir
(path)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/data/GLUEDownloader.py:20
↓ 1 callersFunctionmkdir_by_main_process
(path)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/utils.py:62
↓ 1 callersFunctionmn_1d_best
(matrix, m, n)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/sparse_masklib.py:37
↓ 1 callersFunctionmn_2d_best
(matrix, m, n)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/sparse_masklib.py:122
↓ 1 callersFunctionmn_2d_greedy
(matrix, m, n)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/sparse_masklib.py:67
↓ 1 callersFunctionmnli_task
(args_dict)
fastertransformer/examples/pytorch/t5/mnli_task_example.py:133
↓ 1 callersFunctionmodel_fn
(input_tensor, attention_mask, sequence_length=None)
fastertransformer/examples/tensorflow/bert/tensorflow_bert/profile_transformer_inference.py:99
↓ 1 callersFunctionmodel_fn
(features)
fastertransformer/examples/tensorflow/bert/tensorflow_bert/profile_bert_inference.py:59
↓ 1 callersFunctionmodel_fn_builder
(bert_config)
fastertransformer/examples/tensorflow/bert/tensorflow_bert/profile_bert_inference.py:57
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/run_squad.py:590
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/run_classifier_with_tfhub.py:87
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/run_pretraining.py:109
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/run_classifier.py:619
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/extract_features.py:148
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for Estimator.
fastertransformer/examples/tensorflow/bert/bert-quantization/run_squad.py:409
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
fastertransformer/examples/tensorflow/bert/bert-quantization/run_pretraining.py:199
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
fastertransformer/examples/tensorflow/bert/bert-quantization/extract_features.py:148
↓ 1 callersFunctionmodel_provider
Build the model.
fastertransformer/3rdparty/Megatron-LM/tasks/race/finetune.py:41
↓ 1 callersFunctionmodify_logits_for_top_k_filtering
Set the logits for none top-k values to -inf.
fastertransformer/3rdparty/Megatron-LM/megatron/text_generation/sampling.py:27
↓ 1 callersFunctionmodify_logits_for_top_p_filtering
Set the logits for none top-p values to -inf.
fastertransformer/3rdparty/Megatron-LM/megatron/text_generation/sampling.py:35
↓ 1 callersMethodmoe_gemm_bias_act
fastertransformer/src/fastertransformer/kernels/cutlass_kernels/moe_gemm/moe_gemm_kernels_template.h:819
↓ 1 callersMethodmove_to_end
Moves iterator to end
fastertransformer/3rdparty/cutlass/tools/profiler/src/problem_space.cpp:444
↓ 1 callersFunctionmpu_cross_entropy
(batch_size, seq_length, vocab_size, logits_scale, seed)
fastertransformer/3rdparty/Megatron-LM/megatron/mpu/tests/test_cross_entropy.py:44
↓ 1 callersFunctionmultihead_attn
Standard multi-head attention with absolute positional embedding.
fastertransformer/examples/tensorflow/xlnet/modeling.py:271
↓ 1 callersMethodnext_tile
fastertransformer/src/fastertransformer/cutlass_extensions/include/cutlass_extensions/gemm/kernel/moe_problem_visitor.h:212
↓ 1 callersMethodno_weight_decay
(self)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/models/swin_mlp.py:435
← previousnext →3,201–3,300 of 14,558, ranked by callers