MCPcopy Create free account

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

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

↓ 7 callersMethodhalf
(self)
fastertransformer/examples/pytorch/gpt/utils/gpt_decoder.py:964
↓ 7 callersFunctionif
fastertransformer/examples/cpp/gpt/gpt_example.cc:250
↓ 7 callersMethodinit_optimizer_for_pruning
Call this method to monkey patch optimizer step function so that masks can be applied to gradients and weights during training. You mu
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/asp.py:127
↓ 7 callersMethodinitialize
Initializes GEMM state from arguments.
fastertransformer/3rdparty/cutlass/examples/43_dual_gemm/device/dual_gemm.h:326
↓ 7 callersMethodlayerNormType
fastertransformer/src/fastertransformer/layers/adapter_layers/LinearAdapterLayer.h:53
↓ 7 callersFunctionload_checkpoint
Load a model checkpoint and return the iteration. strict (bool): whether to strictly enforce that the keys in :attr:`state_dict` of the ch
fastertransformer/3rdparty/Megatron-LM/megatron/checkpointing.py:298
↓ 7 callersMethodlog
Log a group of timers.
fastertransformer/3rdparty/Megatron-LM/megatron/global_vars.py:262
↓ 7 callersFunctionmean
(arr)
algorithm/lm_eval/metrics.py:10
↓ 7 callersMethodmerge
(self)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/data/WikicorpusTextFormatting.py:25
↓ 7 callersMethodmoe_test_helper
(self, dtype, quant_type, rtol, atol, activation_str="gelu", experts_list=[32], hidden_sizes=[1024], inter_siz
fastertransformer/tests/moe/th_moe_unit_tests.py:372
↓ 7 callersMethodpack_into
(self, host_workspace, offset)
fastertransformer/3rdparty/cutlass/tools/library/scripts/rt.py:113
↓ 7 callersFunctionprintPerfStructure
Utility function to print customMatmulPerf_t structure
fastertransformer/src/fastertransformer/utils/gemm_test/gemm_func.cc:28
↓ 7 callersMethodpure
fastertransformer/3rdparty/cutlass/include/cutlass/quaternion.h:200
↓ 7 callersMethodquant_x2
(self, x2)
algorithm/quantize/int_matmul.py:50
↓ 7 callersFunctionrecover_bpe
(src)
fastertransformer/examples/pytorch/decoding/utils/recover_bpe.py:17
↓ 7 callersFunctionreset
()
fastertransformer/examples/pytorch/gpt/utils/profiler.py:50
↓ 7 callersFunctionsafe_free
fastertransformer/examples/cpp/multi_gpu_gpt/gpt_example_utils.h:89
↓ 7 callersFunctionsavebin
(param, save_path)
fastertransformer/examples/pytorch/gptj/utils/gptj_ckpt_convert.py:84
↓ 7 callersFunctionsavebin
(param, save_path)
fastertransformer/examples/pytorch/gptj/utils/huggingface_gptj_ckpt_convert.py:16
↓ 7 callersMethodscale_loss
Simple scaling.
fastertransformer/3rdparty/Megatron-LM/megatron/optimizer/optimizer.py:116
↓ 7 callersFunctionsetByNpz
fastertransformer/examples/cpp/xlnet/xlnet_correctness_example.cc:84
↓ 7 callersMethodset_mask
Sets the predicate mask, overriding value stored in predicate iterator
fastertransformer/3rdparty/cutlass/examples/42_fused_multi_head_attention/iterators/predicated_tile_iterator_residual_last.h:863
↓ 7 callersMethodset_mask
Sets the predicate mask, overriding value stored in predicate iterator
fastertransformer/3rdparty/cutlass/include/cutlass/transform/threadblock/predicated_tile_iterator.h:768
↓ 7 callersFunctionsetup
(args)
fastertransformer/examples/pytorch/vit/ViT-quantization/main.py:96
↓ 7 callersFunctionsimple_accuracy
(preds, labels)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/run_glue.py:102
↓ 7 callersFunctionsplit_and_convert_process
(saved_dir, factor, key, val)
fastertransformer/examples/pytorch/llama/utils/huggingface_llama_convert.py:38
↓ 7 callersMethodthread_start_row
Need to get the thread start row from the tile iterator
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/threadblock/predicated_tile_iterator_v2.h:386
↓ 7 callersFunctionunwrap_model
(model, module_instances=(torchDDP))
fastertransformer/3rdparty/Megatron-LM/megatron/utils.py:34
↓ 7 callersFunctionvalid
Returns whether access is valid or not
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/predicated_scale_bias_vector_access_iterator.h:274
↓ 7 callersMethodword_embeddings_weight
(self)
fastertransformer/3rdparty/Megatron-LM/megatron/model/module.py:53
↓ 7 callersFunctionyesno
(x)
algorithm/lm_eval/metrics.py:255
↓ 6 callersFunctionAlignedOffset
(offset, align)
fastertransformer/3rdparty/cutlass/tools/library/scripts/rt.py:60
↓ 6 callersFunctionCreateGemmPlanarComplexOperator
(manifest, layouts, tile_descriptions, data_type, \ alignment_constraints, complex_transforms)
fastertransformer/3rdparty/cutlass/tools/library/scripts/generator.py:123
↓ 6 callersMethod__init__
(self, node)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/parser.py:146
↓ 6 callersMethod__init__
(self, config)
fastertransformer/examples/pytorch/vit/ViT-quantization/ViT-pytorch/models/modeling.py:100
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/models/swin_transformer.py:27
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/models/swin_transformer_v2.py:17
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/models/swin_transformer.py:33
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/models/swin_transformer_v2.py:33
↓ 6 callersFunction__internal_halfraw2_to_float2
fastertransformer/tests/unittests/fp8_gemm_test/2022_03_21__fp8_stride_batch_example/include/cuda_fp8.hpp:323
↓ 6 callersFunctiona0
(bv,e)
fastertransformer/3rdparty/cutlass/docs/jquery.js:23
↓ 6 callersMethodaccumulator_type
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/gemm_operation.py:53
↓ 6 callersMethodaccumulator_type
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/gemm_operation.py:832
↓ 6 callersMethodadd_partial
(self, attr, req, res)
algorithm/lm_eval/base.py:776
↓ 6 callersFunctionadd_pointer_offset
Adds a pointer offset in units of Element
fastertransformer/3rdparty/cutlass/include/cutlass/transform/threadblock/regular_tile_iterator_tensor_op_sm70.h:166
↓ 6 callersMethodadvance
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/kernel/grouped_problem_visitor.h:153
↓ 6 callersMethodappend
Appends an entry
fastertransformer/3rdparty/cutlass/test/unit/conv/device/cache_testbed_output.h:188
↓ 6 callersMethodcapacity
Compute the number of contiguous elements needed to store a tensor with the given size
fastertransformer/3rdparty/cutlass/include/cutlass/layout/tensor_op_multiplicand_sm70.h:187
↓ 6 callersMethodcapacity
Compute the number of contiguous elements needed to store a tensor with the given size
fastertransformer/3rdparty/cutlass/include/cutlass/layout/tensor_op_multiplicand_sm75.h:216
↓ 6 callersMethodcompute_range
calculate min/max values from collector if :func:`MaxCollector <quantization.MaxCollector>` is used, kwargs should be None. if :func:`Hist
fastertransformer/examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/calibrator.py:73
↓ 6 callersFunctionconv2d
fastertransformer/src/fastertransformer/utils/conv2d.h:29
↓ 6 callersFunctionconvert_megatron_to_HF_naming_style_single
(saved_key, name_mapping)
fastertransformer/examples/pytorch/t5/utils/megatron_t5_ckpt_convert.py:103
↓ 6 callersMethodconvert_tokens_to_ids
(self, tokens)
fastertransformer/examples/tensorflow/bert/bert-quantization/tokenization.py:164
↓ 6 callersFunctioncopy_host_to_host
fastertransformer/3rdparty/cutlass/tools/util/include/cutlass/util/device_memory.h:112
↓ 6 callersFunctioncopy_tiles_and_advance
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/threadblock/mma_multistage.h:90
↓ 6 callersFunctioncopy_tiles_and_advance
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/implicit_gemm_multistage.h:84
↓ 6 callersMethodcreateCustomComms
fastertransformer/src/fastertransformer/triton_backend/t5/T5TritonModel.cc:378
↓ 6 callersMethodcreateModelInstance
fastertransformer/src/fastertransformer/triton_backend/t5/T5TritonModel.cc:170
↓ 6 callersMethodcreateNcclParams
fastertransformer/src/fastertransformer/triton_backend/transformer_triton_backend.cpp:19
↓ 6 callersMethodcreateSharedWeights
fastertransformer/src/fastertransformer/triton_backend/t5/T5TritonModel.cc:301
↓ 6 callersFunctioncreate_int_feature
(values)
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/create_pretraining_data.py:169
↓ 6 callersFunctioncreate_int_feature
(values)
fastertransformer/examples/tensorflow/bert/bert-quantization/utils/create_pretraining_data.py:169
↓ 6 callersMethoddivide
fastertransformer/3rdparty/cutlass/include/cutlass/fast_math.h:398
↓ 6 callersFunctiondropout
Perform dropout. Args: input_tensor: float Tensor. dropout_prob: Python float. The probability of dropping out a value (NOT of *keepi
fastertransformer/examples/tensorflow/bert/tensorflow_bert/my_modeling.py:350
↓ 6 callersMethodevaluate
(self, qa_data, split)
fastertransformer/3rdparty/Megatron-LM/tasks/orqa/evaluate_utils.py:118
↓ 6 callersMethodexponent_biased
Returns the biased exponent
fastertransformer/3rdparty/cutlass/include/cutlass/tfloat32.h:162
↓ 6 callersMethodexponent_biased
Returns the biased exponent
fastertransformer/3rdparty/cutlass/include/cutlass/half.h:480
↓ 6 callersMethodexponent_biased
Returns the biased exponent
fastertransformer/3rdparty/cutlass/include/cutlass/bfloat16.h:176
↓ 6 callersFunctionextract_layers_with_prefix
(model_, prefix)
fastertransformer/examples/pytorch/nemo.py:70
↓ 6 callersFunctionfast_tanh
fastertransformer/3rdparty/cutlass/include/cutlass/fast_math.h:758
↓ 6 callersMethodfrom_args
(cls, args: argparse.Namespace)
fastertransformer/examples/pytorch/gpt/utils/bloom.py:67
↓ 6 callersMethodfrom_json_file
Constructs a `BertConfig` from a json file of parameters.
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/modeling.py:286
↓ 6 callersFunctiongetDeviceName
fastertransformer/src/fastertransformer/utils/cuda_utils.h:301
↓ 6 callersMethodgetPipelineParaSize
fastertransformer/src/fastertransformer/triton_backend/t5/T5TritonModel.cc:392
↓ 6 callersMethodgetTensorParaSize
fastertransformer/src/fastertransformer/triton_backend/t5/T5TritonModel.cc:386
↓ 6 callersFunctiongetWeightNum
fastertransformer/examples/cpp/swin/functions.h:26
↓ 6 callersFunctionget_checkpoint_name
A unified checkpoint name.
fastertransformer/3rdparty/Megatron-LM/megatron/checkpointing.py:84
↓ 6 callersFunctionget_checkpoint_tracker_filename
Tracker file rescords the latest chckpoint during training to restart from.
fastertransformer/3rdparty/Megatron-LM/megatron/checkpointing.py:104
↓ 6 callersFunctionget_complex_from_real
(real_type)
fastertransformer/3rdparty/cutlass/tools/library/scripts/library.py:227
↓ 6 callersFunctionget_config
Get a yacs CfgNode object with default values.
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/config.py:308
↓ 6 callersFunctionget_cudnn_layout
Maps a CUTLASS tensor layout to a cuDNN cudnnTensorFormat_t
fastertransformer/3rdparty/cutlass/tools/profiler/src/cudnn_helpers.cpp:95
↓ 6 callersFunctionget_model
Build the model.
fastertransformer/3rdparty/Megatron-LM/megatron/training.py:197
↓ 6 callersMethodget_sentences_per_shard
(self, shard)
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/data/TextSharding.py:138
↓ 6 callersMethodget_tensor_ref
( self, tensor, dtype, tensor_layout, problem_size, operand)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/conv2d_operation.py:155
↓ 6 callersMethodgood
fastertransformer/3rdparty/cutlass/tools/profiler/src/performance_report.h:91
↓ 6 callersFunctionh
(j)
fastertransformer/3rdparty/cutlass/docs/jquery.js:53
↓ 6 callersFunctionimplicit_gemm_k_iterations
Determine the number of gemm_k iterations for conv2d problem using implicit gemm algorithm
fastertransformer/3rdparty/cutlass/include/cutlass/conv/conv3d_problem_size.h:337
↓ 6 callersFunctionindex_file_path
(prefix_path)
fastertransformer/3rdparty/Megatron-LM/megatron/data/indexed_dataset.py:111
↓ 6 callersFunctioninitialize_megatron
Set global variables, initialize distributed, and set autoresume and random seeds. `allow_no_cuda` should not be set unless using megatron for
fastertransformer/3rdparty/Megatron-LM/megatron/initialize.py:36
↓ 6 callersMethodinterleave_tester
(self, quant_type, arch)
fastertransformer/tests/weight_only_quant_ops/th_weight_quant_ops_unit_tests.py:49
↓ 6 callersMethodinterleave_tester
(self, quant_type, arch)
fastertransformer/tests/weight_only_quant_ops/single_test.py:48
↓ 6 callersFunctioninvokeMaskPaddingTokens
fastertransformer/src/fastertransformer/kernels/gpt_kernels.h:225
↓ 6 callersFunctioninvokeUpdatePaddingCount
fastertransformer/src/fastertransformer/kernels/gpt_kernels.h:204
↓ 6 callersFunctionis_last_rank
()
fastertransformer/3rdparty/Megatron-LM/megatron/__init__.py:36
↓ 6 callersMethodis_source_needed
Determine if the source is needed. May return false if
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/threadblock/epilogue_with_broadcast.h:123
↓ 6 callersMethodis_source_needed
Returns true if source is needed based on state of runtime arguments
fastertransformer/3rdparty/cutlass/include/cutlass/epilogue/thread/conversion_op.h:102
↓ 6 callersMethodlayout_a
Mapping functions (A,B,C -> activation,filter,output)
fastertransformer/3rdparty/cutlass/tools/library/include/cutlass/library/library.h:1408
↓ 6 callersMethodlayout_b
fastertransformer/3rdparty/cutlass/tools/library/include/cutlass/library/library.h:1417
↓ 6 callersMethodload
(self, ckpt_path)
fastertransformer/examples/pytorch/llama/llamav1.py:244
↓ 6 callersMethodload
(self, checkpoint_path: PathLike, inference_data_type: Optional[Union[str, torch.dty
fastertransformer/examples/pytorch/gpt/utils/gpt_decoder.py:865
← previousnext →601–700 of 14,558, ranked by callers