Method__init__(self, tensor_name_prefix, collector, quant_min_name, quant_max_name, calib_tensor_name)
fastertransformer/examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/calibrator.py:52
Method__init__(self, num_bins=2048, grow_method='append', skip_zeros=False, affine=False)
fastertransformer/examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/histogram.py:40
Method__init__(
self,
config,
tensor_para_size=1,
pipeline_para_size=1,
*,
t
fastertransformer/examples/tensorflow/t5/utils/ft_decoding.py:26
Method__init__(
self,
config,
tensor_para_size=1,
pipeline_para_size=1,
*,
t
fastertransformer/examples/tensorflow/t5/utils/ft_encoder.py:22
Method__init__(self,
head_num, size_per_head, inter_size, layer_num, vocab_size,
max_seq_l
fastertransformer/examples/pytorch/llama/llamav1.py:32
Method__init__(self,
head_num, size_per_head, inter_size,
vocab_size, rotary_embedding_dim
fastertransformer/examples/pytorch/llama/llamav1.py:174
Method__init__(self, decoding_weight_list, lib_path, head_num, head_size, inter_size,
mem_d_model, d_model,
fastertransformer/examples/pytorch/bart/utils/ft_decoding.py:276
Method__init__(self, encoder_weight_list, lib_path, head_num, head_size, inter_size, d_model, is_remove_padding,
fastertransformer/examples/pytorch/bart/utils/ft_encoder.py:220
Method__init__(self, in_features, out_features, act='noact', bias=True, do_quant=True)
fastertransformer/examples/pytorch/vit/ViT-quantization/vit_int8.py:85
Method__init__(self, config, img_size=224, num_classes=21843, zero_head=False, vis=False)
fastertransformer/examples/pytorch/vit/ViT-quantization/vit_int8.py:400
Method__init__(self, optimizer, warmup_steps, t_total, cycles=.5, last_epoch=-1)
fastertransformer/examples/pytorch/vit/ViT-quantization/ViT-pytorch/utils/scheduler.py:52
Method__init__(self, config, img_size=224, num_classes=21843, zero_head=False, vis=False)
fastertransformer/examples/pytorch/vit/ViT-quantization/ViT-pytorch/models/modeling.py:263
Method__init__(self, weights_file, layer_num, head_num, size_per_head,
intermediate_size, local_attn_window
fastertransformer/examples/pytorch/longformer/model.py:61
Method__init__(self, layer_num, head_num, head_size, weights,
remove_padding=False, allow_gemm_test=False,
fastertransformer/examples/pytorch/encoder/utils/ft_encoder.py:93
Method__init__(self, tokens, segment_ids, masked_lm_positions, masked_lm_labels,
is_random_next)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/create_pretraining_data.py:40
Method__init__(self, vocab_file, do_lower_case=True, max_len=None,
never_split=("[UNK]", "[SEP]", "[PAD]",
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/tokenization.py:98
Method__init__(self, params, lr=required, warmup=-1, t_total=-1, schedule='warmup_linear',
b1=0.9, b2=0.999
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/optimization.py:78
Method__init__(self, optimizer, warmup, total_steps, degree=0.5, last_epoch=-1)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/schedulers.py:110
Method__init__(self, in_features, out_features, act='gelu', bias=True, do_quant=False)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/modeling.py:155