MCPcopy Create free account

hub / github.com/NVIDIA/FasterTransformer / functions

Functions4,228 in github.com/NVIDIA/FasterTransformer

↓ 1 callersFunctionget_train_features
(data_dir, bert_model, max_seq_length, do_lower_case, local_rank, train_batch_size,
examples/pytorch/bert/bert-quantization-sparsity/run_glue.py:431
↓ 1 callersFunctionget_weight_data_type
(data_type)
examples/pytorch/bert/utils/huggingface_bert_fp8_convert.py:29
↓ 1 callersFunctionget_weight_data_type
(data_type)
examples/pytorch/gptneox/utils/huggingface_gptneox_convert.py:13
↓ 1 callersFunctionget_weight_data_type
(data_type)
examples/pytorch/gptneox/utils/huggingface_jp_gptneox_convert.py:26
↓ 1 callersFunctionget_weight_data_type
(data_type)
examples/pytorch/gpt/utils/huggingface_gpt_convert.py:33
↓ 1 callersFunctionget_weight_data_type
(data_type)
examples/pytorch/gpt/utils/huggingface_jp_gpt_convert.py:35
↓ 1 callersFunctionget_weight_data_type
(data_type)
examples/pytorch/gpt/utils/huggingface_opt_convert.py:38
↓ 1 callersFunctionget_weight_data_type
(data_type)
examples/pytorch/t5/utils/huggingface_t5_ckpt_convert.py:40
↓ 1 callersMethodgpt_init_kwargs
(self)
examples/pytorch/gpt/utils/gpt.py:692
↓ 1 callersFunctiongraph_fn
()
examples/tensorflow/bert/tensorflow_bert/profile_bert_inference.py:131
↓ 1 callersFunctionhandle_args
()
examples/pytorch/gptneox/utils/hftokenizer.py:36
↓ 1 callersFunctionhandle_layer
(key, value, dtype, saved_dir, tensor_para)
examples/tensorflow/t5/utils/tf_saved_model_t5_ckpt_convert.py:143
↓ 1 callersFunctionhttp_get
(url, temp_file)
examples/pytorch/bert/bert-quantization-sparsity/file_utils.py:176
↓ 1 callersFunctionif
src/fastertransformer/utils/conv2d.h:49
↓ 1 callersFunctionindex_CUBLASLT_ORDER_COL32_2R_4R4
src/fastertransformer/tf_op/bert/weight_quantize_op.cc:44
↓ 1 callersFunctionindex_CUBLASLT_ORDER_COL4_4R2_8C
src/fastertransformer/tf_op/bert/weight_quantize_op.cc:28
↓ 1 callersFunctionini_parse
See documentation in header file. */
3rdparty/INIReader.h:281
↓ 1 callersFunctionini_parse_stream
See documentation in header file. */
3rdparty/INIReader.h:163
↓ 1 callersFunctioninit_cublas_ctx
examples/cpp/multi_gpu_gpt/gpt_example_utils.cc:281
↓ 1 callersFunctioninit_cuda_ctx
examples/cpp/multi_gpu_gpt/gpt_example_utils.cc:259
↓ 1 callersFunctioninit_graph
()
examples/tensorflow/bert/tensorflow_bert/ckpt_quantization.py:37
↓ 1 callersFunctioninit_graph
()
examples/pytorch/vit/checkpoint_quantization.py:31
↓ 1 callersFunctioninit_graph
()
examples/pytorch/bert/utils/checkpoint_quantization.py:31
↓ 1 callersFunctioninit_multiprocessing
examples/cpp/multi_gpu_gpt/gpt_example_utils.cc:233
↓ 1 callersFunctioninit_nccl
examples/cpp/multi_gpu_gpt/gpt_example_utils.cc:274
↓ 1 callersFunctioninit_optimizer_and_amp
(model, learning_rate, loss_scale, warmup_proportion, num_train_optimization_steps,
examples/pytorch/bert/bert-quantization-sparsity/run_glue.py:343
↓ 1 callersMethodinit_output_files
(self)
examples/pytorch/bert/bert-quantization-sparsity/data/TextSharding.py:122
↓ 1 callersFunctioninit_prompt_tuning_map
examples/cpp/multi_gpu_gpt/gpt_example_utils.cc:214
↓ 1 callersFunctioninit_sparse_model
(model)
examples/pytorch/bert/bert-quantization-sparsity/run_squad.py:988
↓ 1 callersFunctioninit_sparse_model
(model)
examples/pytorch/bert/bert-quantization-sparsity/run_glue.py:607
↓ 1 callersFunctioninit_tf_cache
(batch_size, head_num, size_per_head, num_layer,
examples/tensorflow/decoder/utils/decoder.py:281
↓ 1 callersMethodinitialize_input_token_ids
(self, batch_size, beam_width,
tests/unittests/th_op/test_th_decode_op.py:47
↓ 1 callersFunctioninput_fn_builder
Creates an `input_fn` closure to be passed to TPUEstimator.
examples/tensorflow/bert/bert-quantization/extract_features.py:100
↓ 1 callersFunctioninterleave_column_major_tensor
src/fastertransformer/kernels/cutlass_kernels/cutlass_preprocessors.cc:437
↓ 1 callersFunctionisSparseGemmAvailable
src/fastertransformer/utils/gemm_test/gpt_gemm_func.cc:21
↓ 1 callersFunctionisSparseGemmAvailable
src/fastertransformer/utils/gemm_test/t5_gemm_func.cc:21
↓ 1 callersMethodisValidSeqLen
src/fastertransformer/models/bert_int8/BertINT8.cc:338
↓ 1 callersFunctionis_model_parallel_initailized
()
examples/pytorch/gpt/utils/comm.py:71
↓ 1 callersFunctionis_split_param
(name: str)
examples/pytorch/gpt/utils/huggingface_bloom_convert.py:147
↓ 1 callersFunctionis_valid_split_k_factor
src/fastertransformer/kernels/cutlass_kernels/cutlass_heuristic.cc:53
↓ 1 callersFunctionis_whitespace
(c)
examples/tensorflow/bert/bert-quantization/utils/create_squad_data.py:157
↓ 1 callersFunctionis_whitespace
(c)
examples/pytorch/bert/bert-quantization-sparsity/run_squad.py:153
↓ 1 callersFunctionlayer_norm_and_dropout
Runs layer normalization followed by dropout.
examples/tensorflow/bert/tensorflow_bert/my_modeling.py:374
↓ 1 callersFunctionlayer_norm_and_dropout
Runs layer normalization followed by dropout.
examples/tensorflow/bert/bert-quantization/modeling.py:401
↓ 1 callersFunctionldnCalibrateWeightPerChannel
src/fastertransformer/th_op/multi_gpu_gpt/WeightTransposeCalibrateQuantizeOp.cc:21
↓ 1 callersFunctionldnTransposeQuantizeWeightPerChannel
src/fastertransformer/th_op/multi_gpu_gpt/WeightTransposeCalibrateQuantizeOp.cc:36
↓ 1 callersMethodlisted_weight_to_dict
(self)
examples/pytorch/vit/VisionTransformerINT8WeightLoader.py:132
↓ 1 callersMethodlisted_weights
(self)
examples/pytorch/encoder/utils/ft_encoder.py:57
↓ 1 callersMethodlisted_weights
(self)
examples/pytorch/bert/utils/encoder.py:100
↓ 1 callersMethodload
(self, ckpt_path, tensor_para_rank, pipeline_para_rank)
examples/pytorch/gpt/utils/gpt_fp8.py:150
↓ 1 callersMethodloadCubinKernels
3rdparty/fp8_qgmma_1x1/sharedCubinLoader.h:47
↓ 1 callersMethodloadXMMAKernels
3rdparty/trt_fused_multihead_attention/fused_multihead_attention.h:324
↓ 1 callersFunctionload_and_cache_examples
(args, tokenizer, evaluate=False, output_examples=False)
examples/pytorch/bert/run_squad.py:163
↓ 1 callersFunctionload_and_cache_examples
(args, task, tokenizer, evaluate=False)
examples/pytorch/bert/run_glue.py:131
↓ 1 callersMethodload_from_model
Routine to load DeBERTa weights from a HuggingFace model. This assumes the latest DeBERT-v2 architecture and DeBERTa-v3 weights.
examples/tensorflow/deberta/utils/ft_deberta.py:47
↓ 1 callersMethodload_from_model
Routine to load T5 decoding weights from a HuggingFace model. This assumes the regular T5 (NOT v1.1) architecture. Notes:
examples/tensorflow/t5/utils/ft_decoding.py:59
↓ 1 callersMethodload_from_model
Routine to load T5 encoder weights from a HuggingFace model. This assumes the regular T5 (NOT v1.1) architecture. Notes:
examples/tensorflow/t5/utils/ft_encoder.py:51
↓ 1 callersMethodload_from_model
Only applies to HuggingFace models. Weight loading order: PyTorch tensor order should conform to src/fastertransformer/th_op/BartDecodingOp.h
examples/pytorch/bart/utils/ft_decoding.py:67
↓ 1 callersMethodload_from_model
Only applies to HuggingFace models. Weight loading order: PyTorch tensor order should conform to src/fastertransformer/th_op/BartEncoderOp.h:
examples/pytorch/bart/utils/ft_encoder.py:67
↓ 1 callersMethodload_model_config
(self, config, args)
examples/tensorrt/vit/plugin_loader_int8.py:45
↓ 1 callersMethodload_model_config
(self, config, args)
examples/tensorrt/vit/plugin_loader.py:42
↓ 1 callersMethodload_range
load min/max values to the graph Args: sess: A TensorFlow Session.
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/calibrator.py:248
↓ 1 callersFunctionload_test_model
(opt, args)
examples/pytorch/decoding/utils/translation_model.py:78
↓ 1 callersFunctionload_tf_weights_in_bert
Load tf checkpoints in a pytorch model
examples/pytorch/bert/bert-quantization-sparsity/modeling.py:63
↓ 1 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
examples/pytorch/bert/bert-quantization-sparsity/tokenization.py:71
↓ 1 callersFunctionload_weights
(weight_path:str)
examples/tensorrt/vit/plugin_loader.py:22
↓ 1 callersFunctionload_weights
(inputbase, config)
examples/tensorrt/swin/builder.py:226
↓ 1 callersFunctionload_weights
(inputbase, config)
examples/tensorrt/swin/builder_int8.py:224
↓ 1 callersMethodload_weights
(self, weight_path:str)
examples/pytorch/vit/VisionTransformerWeightLoader.py:127
↓ 1 callersFunctionload_word_list
(filename)
examples/pytorch/gpt/utils/word_list.py:78
↓ 1 callersFunctionlower
(text)
examples/tensorflow/bert/tensorflow_bert/squad_evaluate-v1.1.py:37
↓ 1 callersFunctionlower
(text)
examples/tensorflow/bert/tensorflow_bert/squad_evaluate_v1_1.py:37
↓ 1 callersFunctionmain
(in_file, model_name)
examples/utils/hf_detokenize.py:19
↓ 1 callersFunctionmain
(in_file, model_name)
examples/utils/hf_tokenize.py:19
↓ 1 callersFunctionmain
(args)
examples/tensorrt/vit/infer_visiontransformer_plugin.py:78
↓ 1 callersFunctionmain
(args)
examples/tensorrt/vit/infer_visiontransformer_int8_plugin.py:94
↓ 1 callersFunctionmain
()
examples/tensorrt/swin/builder.py:297
↓ 1 callersFunctionmain
(config, args)
examples/tensorrt/swin/infer_swintransformer_plugin_int8.py:87
↓ 1 callersFunctionmain
()
examples/tensorrt/swin/builder_int8.py:291
↓ 1 callersFunctionmain
(config, args)
examples/tensorrt/swin/infer_swintransformer_plugin.py:100
↓ 1 callersFunctionmain
(args)
examples/tensorflow/deberta/deberta_example.py:40
↓ 1 callersFunctionmain
()
examples/tensorflow/bert/bert-quantization/utils/create_pretraining_data.py:418
↓ 1 callersFunctionmain
()
examples/tensorflow/bert/bert-quantization/utils/create_glue_data.py:479
↓ 1 callersFunctionmain
()
examples/tensorflow/bert/bert-quantization/utils/create_squad_data.py:510
↓ 1 callersFunctionmain
()
examples/tensorflow/decoding/translate_example.py:380
↓ 1 callersFunctionmain
(args, data_config)
examples/pytorch/vit/infer_visiontransformer_int8_op.py:108
↓ 1 callersFunctionmain
(args)
examples/pytorch/vit/infer_visiontransformer_op.py:72
↓ 1 callersFunctionmain
()
examples/pytorch/vit/ViT-quantization/main.py:423
↓ 1 callersFunctionmain
()
examples/pytorch/vit/ViT-quantization/eval_engine.py:530
↓ 1 callersFunctionmain
()
examples/pytorch/longformer/longformer_qa.py:109
↓ 1 callersFunctionmain
()
examples/pytorch/encoder/encoder_example.py:34
↓ 1 callersFunctionmain
()
examples/pytorch/bert/run_squad.py:233
↓ 1 callersFunctionmain
()
examples/pytorch/bert/run_glue.py:186
↓ 1 callersFunctionmain
()
examples/pytorch/bert/bert_example.py:51
↓ 1 callersFunctionmain
(arguments)
examples/pytorch/bert/utils/get_mrpc_data.py:63
↓ 1 callersFunctionmain
()
examples/pytorch/bert/utils/update_bert_config.py:21
↓ 1 callersFunctionmain
()
examples/pytorch/bert/bert-quantization-sparsity/run_squad.py:744
↓ 1 callersFunctionmain
(args)
examples/pytorch/bert/bert-quantization-sparsity/run_glue.py:476
↓ 1 callersFunctionmain
()
examples/pytorch/bert/bert-quantization-sparsity/run_swag.py:246
↓ 1 callersFunctionmain
()
examples/pytorch/bert/bert-quantization-sparsity/run_pretraining.py:522
← previousnext →1,101–1,200 of 4,228, ranked by callers