MCPcopy Create free account

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

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

↓ 12 callersMethodimaginary_stride
Stride between real and imaginary parts
fastertransformer/3rdparty/cutlass/tools/util/include/cutlass/util/host_tensor_planar_complex.h:240
↓ 12 callersMethodinitialize
fastertransformer/examples/cpp/multi_gpu_gpt/multi_gpu_gpt_async_example.cc:301
↓ 12 callersFunctionload_with_byte_offset
Loads a fragment from memory with additional logical offset
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/warp/mma_tensor_op_tile_iterator_sm70.h:302
↓ 12 callersFunctionload_with_byte_offset
Loads a fragment from memory with additional logical offset
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/warp/mma_tensor_op_tile_iterator.h:385
↓ 12 callersFunctionmake_fn_out
(fn)
fastertransformer/examples/pytorch/gptneox/utils/eleutherai_gpt_neox_convert.py:230
↓ 12 callersFunctionnp2th
Possibly convert HWIO to OIHW.
fastertransformer/examples/pytorch/vit/ViT-quantization/ViT-pytorch/models/modeling_resnet.py:28
↓ 12 callersMethodprocedural_name
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/library.py:681
↓ 12 callersMethodresizeLayer
fastertransformer/src/fastertransformer/models/llama/LlamaWeight.cc:295
↓ 12 callersFunctionsimt_transpose_padding
Computes padding in shared memory to perform efficient transpose without bank conflicts.
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/threadblock/default_mma_core_simt.h:73
↓ 12 callersMethodsize
Returns the number of logical elements
fastertransformer/3rdparty/cutlass/include/cutlass/tensor_view.h:184
↓ 12 callersMethodstate_dict
(self, destination=None, prefix='', keep_vars=False)
fastertransformer/3rdparty/Megatron-LM/megatron/model/module.py:198
↓ 12 callersMethodstride
Returns the stride of the layout
fastertransformer/3rdparty/cutlass/include/cutlass/layout/tensor_op_multiplicand_sm70.h:175
↓ 12 callersMethodstride
Returns the stride of the layout
fastertransformer/3rdparty/cutlass/include/cutlass/layout/tensor_op_multiplicand_sm75.h:207
↓ 12 callersMethodtoString
fastertransformer/src/fastertransformer/utils/gemm.cc:50
↓ 11 callersFunctionRematerializeBlockIdxX
Helper to rematerialize block Idx. Reduces register liveness.
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/threadblock/threadblock_swizzle.h:72
↓ 11 callersFunction_compare
(arg_name, old_arg_name=None)
fastertransformer/3rdparty/Megatron-LM/megatron/checkpointing.py:49
↓ 11 callersMethod_read_tsv
Reads a tab separated value file.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/run_classifier.py:197
↓ 11 callersMethod_read_tsv
Reads a tab separated value file.
fastertransformer/examples/tensorflow/bert/bert-quantization/utils/create_glue_data.py:136
↓ 11 callersFunctionadd_pointer_offset
Adds a pointer offset in units of Element
fastertransformer/3rdparty/cutlass/include/cutlass/transform/threadblock/predicated_tile_access_iterator.h:480
↓ 11 callersMethodcapacity
Returns the number of scalar elements needed to store tensor.
fastertransformer/3rdparty/cutlass/include/cutlass/thread/matrix.h:172
↓ 11 callersMethodconvert_tensor
convert TensorFlow Tensor to FasterTransformer Tensor
fastertransformer/src/fastertransformer/tf_op/BaseOp.h:99
↓ 11 callersFunctioncopy_device_to_device
fastertransformer/3rdparty/cutlass/tools/util/include/cutlass/util/device_memory.h:107
↓ 11 callersMethodcustomAllReduce
fastertransformer/src/fastertransformer/utils/custom_ar_comm.cc:46
↓ 11 callersFunctione
(bG,bF)
fastertransformer/3rdparty/cutlass/docs/jquery.js:16
↓ 11 callersFunctiongetModelFileType
fastertransformer/src/fastertransformer/utils/cuda_utils.cc:364
↓ 11 callersFunctionget_shape_list
Returns a list of the shape of tensor, preferring static dimensions. Args: tensor: A tf.Tensor object to find the shape of. expected_rank:
fastertransformer/examples/tensorflow/bert/tensorflow_bert/my_modeling.py:905
↓ 11 callersFunctionget_tensor_model_parallel_group
Get the tensor model parallel group the caller rank belongs to.
fastertransformer/3rdparty/Megatron-LM/megatron/mpu/initialize.py:230
↓ 11 callersFunctionget_tensor_model_parallel_rank
Return my rank for the tensor model parallel group.
fastertransformer/3rdparty/Megatron-LM/megatron/mpu/initialize.py:305
↓ 11 callersFunctionget_tensor_model_parallel_world_size
Return world size for the tensor model parallel group.
fastertransformer/3rdparty/Megatron-LM/megatron/mpu/initialize.py:277
↓ 11 callersFunctionimplicit_gemm_tensor_c_size
Returns ImplicitGemm tensor C size in number of elements
fastertransformer/3rdparty/cutlass/include/cutlass/conv/conv3d_problem_size.h:461
↓ 11 callersFunctioninit_method_normal
Init method based on N(0, sigma).
fastertransformer/3rdparty/Megatron-LM/megatron/model/utils.py:24
↓ 11 callersFunctioninvokeEmbeddingLookupPosEncodingPadCount
fastertransformer/src/fastertransformer/kernels/decoding_kernels.h:55
↓ 11 callersMethodproblem_size
fastertransformer/src/fastertransformer/cutlass_extensions/include/cutlass_extensions/gemm/kernel/moe_problem_visitor.h:169
↓ 11 callersFunctionreduce_tensor
(tensor)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/utils.py:172
↓ 11 callersMethodsample
inputs: logits: [batch_size, vocab_size], the values of log logits threshold: int when using top_k, and a probabi
fastertransformer/examples/tensorflow/decoder/utils/sampling.py:30
↓ 11 callersFunctionset_iteration_index
Overrides the internal iteration index
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv3d_fprop_filter_tile_access_iterator_analytic.h:149
↓ 11 callersMethodsetup
fastertransformer/src/fastertransformer/layers/DynamicDecodeLayer.cc:153
↓ 11 callersMethodstore
Stores a fragment to memory at the location pointed to by the iterator
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/warp/mma_tensor_op_tile_iterator_wmma.h:777
↓ 11 callersFunctionstore_with_byte_offset
Stores a fragment to memory with additional pointer offset
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/warp/mma_tensor_op_tile_iterator.h:3946
↓ 11 callersMethodswapInternalBuffer
fastertransformer/src/fastertransformer/utils/custom_ar_comm.cc:109
↓ 11 callersMethodtokenize
(self, text)
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/tokenization.py:170
↓ 11 callersFunctionvec2str
fastertransformer/src/fastertransformer/utils/string_utils.h:56
↓ 10 callersFunctionEncodeScalar
fastertransformer/3rdparty/cutlass/test/unit/conv/device/cache_testbed_output.h:230
↓ 10 callersFunctionLaneId
Computes laneId within a warp
fastertransformer/3rdparty/cutlass/include/cutlass/arch/arch.h:45
↓ 10 callersFunctionTensorCopy
fastertransformer/3rdparty/cutlass/tools/util/include/cutlass/util/reference/host/tensor_copy.h:118
↓ 10 callersMethodadd_special_tokens
Whether to include special tokens in encoded text. This should be determined by whether or not the model was trained with special tokens.
algorithm/lm_eval/models/huggingface.py:229
↓ 10 callersFunctionadvance
Increment and return an instance to self.
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/predicated_scale_bias_vector_access_iterator.h:255
↓ 10 callersMethodasdict
(self)
fastertransformer/examples/pytorch/gpt/utils/bloom.py:115
↓ 10 callersFunctionaverage_losses_across_data_parallel_group
Reduce a tensor of losses across all GPUs.
fastertransformer/3rdparty/Megatron-LM/megatron/utils.py:81
↓ 10 callersMethodbackward
(ctx, grad_output)
fastertransformer/3rdparty/Megatron-LM/megatron/mpu/random.py:132
↓ 10 callersFunctionbuild_ft_longformer
(hf_model_dir, layer_num, head_num, size_per_head, intermediate_size, local_attn_windo
fastertransformer/examples/pytorch/longformer/longformer_qa.py:30
↓ 10 callersFunctioncan_implement
Determines whether the Implicit GEMM can execute the given problem.
fastertransformer/3rdparty/cutlass/include/cutlass/conv/threadblock/conv3d_fprop_filter_tile_access_iterator_analytic.h:234
↓ 10 callersFunctionceil_div
(a, b)
fastertransformer/3rdparty/cutlass/tools/library/scripts/rt.py:81
↓ 10 callersMethodcheck_cmd_line_flag
* Checks whether a flag "--<flag>" is present in the commandline */
fastertransformer/3rdparty/cutlass/tools/util/include/cutlass/util/command_line.h:95
↓ 10 callersFunctioncopy_one_tensor
(input, requires_grad=True)
fastertransformer/examples/pytorch/swin/Swin-Transformer-Quantization/SwinTransformer/kernels/window_process/unit_test.py:118
↓ 10 callersFunctioncreate_initializer
Creates a `truncated_normal_initializer` with the given range.
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/modeling.py:375
↓ 10 callersFunctioncreate_initializer
Creates a `truncated_normal_initializer` with the given range.
fastertransformer/examples/tensorflow/bert/bert-quantization/modeling.py:408
↓ 10 callersMethoddecode
(self, tokens)
fastertransformer/3rdparty/Megatron-LM/megatron/tokenizer/gpt2_tokenization.py:283
↓ 10 callersMethodfill
fastertransformer/3rdparty/cutlass/include/cutlass/array.h:442
↓ 10 callersMethodfront
fastertransformer/3rdparty/cutlass/include/cutlass/array.h:386
↓ 10 callersFunctiongetCublasOperation
fastertransformer/src/fastertransformer/utils/gemm.cc:1062
↓ 10 callersFunctionget_model_chunk_id
Helper method to get the model chunk ID given the iteration number.
fastertransformer/3rdparty/Megatron-LM/megatron/schedules.py:286
↓ 10 callersFunctionget_pipeline_model_parallel_world_size
Return world size for the pipeline model parallel group.
fastertransformer/3rdparty/Megatron-LM/megatron/mpu/initialize.py:285
↓ 10 callersMethodint32
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/cpp/include/types.h:61
↓ 10 callersMethodinterSize
fastertransformer/src/fastertransformer/layers/adapter_layers/LinearAdapterLayer.h:43
↓ 10 callersFunctioninvokeGetPaddingOffset
fastertransformer/src/fastertransformer/kernels/bert_preprocess_kernels.h:37
↓ 10 callersFunctionisGatedActivation
fastertransformer/src/fastertransformer/utils/activation_types.h:60
↓ 10 callersMethodload_with_byte_offset
Loads a fragment from memory with additional logical offset
fastertransformer/3rdparty/cutlass/include/cutlass/gemm/warp/mma_tensor_op_tile_iterator_sm80.h:2386
↓ 10 callersFunctionm
(M,L,K)
fastertransformer/3rdparty/cutlass/docs/jquery.js:68
↓ 10 callersFunctionn
()
fastertransformer/3rdparty/cutlass/docs/jquery.js:61
↓ 10 callersMethodname
(self)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/operation.py:66
↓ 10 callersMethodnormalize
(text)
algorithm/lm_eval/datasets/logiqa/logiqa.py:112
↓ 10 callersMethodpacked
Helper returns a layout to a tightly packed tensor
fastertransformer/3rdparty/cutlass/include/cutlass/layout/matrix.h:99
↓ 10 callersFunctionparse_from_config
(model_dir)
fastertransformer/examples/pytorch/longformer/longformer_qa.py:15
↓ 10 callersMethodraw
Accesses raw internal state
fastertransformer/3rdparty/cutlass/include/cutlass/half.h:468
↓ 10 callersMethodrun
Executes one test
fastertransformer/3rdparty/cutlass/examples/43_dual_gemm/dual_gemm_run.h:540
↓ 10 callersMethodslice
Return a view of the list of tokens from [i, j).
fastertransformer/3rdparty/Megatron-LM/tasks/orqa/unsupervised/tokenizers.py:42
↓ 10 callersMethodsync
(self, stream_sync=True)
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/arguments.py:108
↓ 10 callersMethodtokenize
(self, text)
fastertransformer/examples/tensorflow/bert/bert-quantization/tokenization.py:156
↓ 10 callersFunctionwarp_uniform
fastertransformer/3rdparty/cutlass/examples/42_fused_multi_head_attention/gemm_kernel_utils.h:247
↓ 9 callersFunction_communicate
Communicate tensors between stages. Used as helper method in other communication methods that are used in megatron/schedules.py. Takes the fo
fastertransformer/3rdparty/Megatron-LM/megatron/p2p_communication.py:24
↓ 9 callersMethodadd_module
Insert a new compiled device module
fastertransformer/3rdparty/cutlass/tools/library/scripts/pycutlass/src/pycutlass/compiler.py:327
↓ 9 callersMethodadd_pointer_offset
Adds a pointer offset in units of Element
fastertransformer/3rdparty/cutlass/include/cutlass/transform/threadblock/regular_tile_iterator_tensor_op.h:287
↓ 9 callersMethodadd_tile_offset
Adds a tile offset in the unit of tile.
fastertransformer/3rdparty/cutlass/include/cutlass/transform/threadblock/regular_scale_bias_vector_access_iterator.h:152
↓ 9 callersMethodcompute_sparse_masks
Call this method to enable sparsity. If init(...) was called with allow_recompute_mask=False AND sparsity is disabled, pruned field can be Non
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/apex_sparsity/asp.py:155
↓ 9 callersMethodconvert_tokens_to_ids
Converts a sequence of tokens into ids using the vocab.
fastertransformer/examples/pytorch/bert/bert-quantization-sparsity/tokenization.py:119
↓ 9 callersFunctioncutlassGetStatusString
Convert cutlass status to status strings
fastertransformer/3rdparty/cutlass/include/cutlass/cutlass.h:102
↓ 9 callersMethodend
fastertransformer/3rdparty/cutlass/tools/profiler/src/problem_space.cpp:149
↓ 9 callersFunctiongemm
fastertransformer/src/fastertransformer/kernels/llama/flash_attention2/utils.h:38
↓ 9 callersMethodgemm_dequant_test_helper
(self, compute_type, weight_dtype, gemm_ms, gemm_ns, gemm_ks, rtol, atol, act_str="only_gemm", benchmark=False
fastertransformer/tests/gemm_dequantize/th_gemm_dequantize.py:65
↓ 9 callersMethodgemm_dequant_test_helper
(self, compute_type, weight_dtype, gemm_ms, gemm_ns, gemm_ks, rtol, atol, act_str="only_gemm", benchmark=False
fastertransformer/tests/gemm_dequantize/single_test.py:68
↓ 9 callersFunctionget_bits_in_quant_type
fastertransformer/src/fastertransformer/kernels/cutlass_kernels/cutlass_preprocessors.cc:24
↓ 9 callersFunctionget_shape_list
Returns a list of the shape of tensor, preferring static dimensions. Args: tensor: A tf.Tensor object to find the shape of. expected_rank:
fastertransformer/examples/tensorflow/bert/tensorflow_bert/bert/modeling.py:895
↓ 9 callersFunctionget_shape_list
Returns a list of the shape of tensor, preferring static dimensions. Args: tensor: A tf.Tensor object to find the shape of. expected_rank:
fastertransformer/examples/tensorflow/bert/bert-quantization/modeling.py:988
↓ 9 callersMethodgreedy_until
(self, requests)
algorithm/lm_eval/models/gpt3.py:168
↓ 9 callersFunctionhalf_to_float
fastertransformer/src/fastertransformer/kernels/decoder_masked_multihead_attention_utils.h:322
↓ 9 callersMethodinitialize
Initializes data structures
fastertransformer/3rdparty/cutlass/test/unit/gemm/device/testbed.h:166
↓ 9 callersMethodinitialize
fastertransformer/3rdparty/cutlass/examples/13_two_tensor_op_fusion/b2b_conv2d_run.h:480
↓ 9 callersMethodmin
Least positive value
fastertransformer/3rdparty/cutlass/include/cutlass/half.h:610
↓ 9 callersFunctionprint_rank_last
If distributed is initialized, print only on last rank.
fastertransformer/3rdparty/Megatron-LM/megatron/__init__.py:40
← previousnext →401–500 of 14,558, ranked by callers